Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Join the Playtest on Steam Now: SpiritVale

Template:PatchHighlights/Card: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<div style="text-align:left; padding:1rem 1.5rem 0.75rem; direction:ltr;">
<templatestyles src="Template:PatchHighlights/styles.css" />
<div style="font-size:1.4em; font-weight:700; line-height:1.2; margin:-0.2em 0 0.3em 0;">{{{1}}}</div>
<div class="sv-card">
<div style="margin:.1em 0; font-size:.85em; font-style:italic; color:var(--text-color);">{{#if:{{{Publish date|}}}|{{{Publish date}}}|{{{Modification date|}}}}}</div>
  <div class="sv-card__title">[[{{{1}}}|{{{1}}}]]</div>
{{#if:{{{Patch blurb|}}}|<p style="font-size:.9em; line-height:1.75em; color:var(--text-color); margin:.3em 0 0 0;">{{{Patch blurb}}}</p>|}}
  <div class="sv-card__divider"></div>
  <div class="sv-card__date">{{#if:{{{Publish date|}}}|{{{Publish date}}}|{{{Modification date|}}}}}</div>
  {{#if:{{{Patch blurb|}}}|<p class="sv-card__blurb">{{{Patch blurb}}}</p>|}}
</div>
</div>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
{
{
   "description": "Internal card template used by PatchHighlights. Receives: 1 = page (with namespace), plus SMW printouts Publish date, Patch blurb (and optionally Modification date).",
   "description": "Internal card template used by PatchHighlights.",
   "params": {
   "params": {
     "1": { "label": "Page", "type": "wiki-page-name", "required": true },
     "1": { "label": "Page", "type": "wiki-page-name", "required": true },
     "Publish date": { "label": "Publish date", "type": "string", "required": false },
     "Publish date": { "type": "string" },
     "Patch blurb": { "label": "Patch blurb", "type": "string", "required": false },
     "Patch blurb": { "type": "string" },
     "Modification date": { "label": "Modification date", "type": "string", "required": false }
     "Modification date": { "type": "string" }
   }
   }
}
}

Revision as of 03:05, 2 October 2025

[[{{{1}}}|{{{1}}}]]

Internal card template used by PatchHighlights.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Page1

no description

Page namerequired
Publish datePublish date

no description

Stringoptional
Patch blurbPatch blurb

no description

Stringoptional
Modification dateModification date

no description

Stringoptional