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
 
(8 intermediate revisions by the same user not shown)
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}}}|{{PAGENAME:{{{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">[[{{{Page}}}|{{PAGENAME:{{{Page}}}}}]]</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.","params":{"Page":{"label":"Page","type":"wiki-page-name","required":true},"Publish date":{"type":"string"},"Patch blurb":{"type":"string"},"Modification date":{"type":"string"}}}</templatedata>
{
  "description": "Internal card template used by PatchHighlights. Receives: 1 = page (with namespace), plus SMW printouts Publish date, Patch blurb (and optionally Modification date).",
  "params": {
    "1": { "label": "Page", "type": "wiki-page-name", "required": true },
    "Publish date": { "label": "Publish date", "type": "string", "required": false },
    "Patch blurb": { "label": "Patch blurb", "type": "string", "required": false },
    "Modification date": { "label": "Modification date", "type": "string", "required": false }
  }
}
</templatedata>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>