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
Created page with "<div style="text-align:left; padding:1rem 1.5rem 0.75rem;"> <div style="font-size:1.4em; font-weight:700; line-height:1.2; margin:-0.2em 0 0.3em 0;"> [[{{{1}}}|{{#titleparts:{{{1}}}|1|2|:}}]] </div> <div style="margin:.1em 0; font-size:.85em; font-style:italic; color:var(--text-color);"> {{{Publish date}}} </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> <noinclude>..."
 
No edit summary
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="text-align:left; padding:1rem 1.5rem 0.75rem;">
<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;">
<div class="sv-card">
[[{{{1}}}|{{#titleparts:{{{1}}}|1|2|:}}]]
<div class="sv-card__title">[[{{{Page}}}|{{PAGENAME:{{{Page}}}}}]]</div>
</div>
<div class="sv-card__divider"></div>
<div style="margin:.1em 0; font-size:.85em; font-style:italic; color:var(--text-color);">
<div class="sv-card__date">{{#if:{{{Publish date|}}}|{{{Publish date}}}|{{{Modification date|}}}}}</div>
{{{Publish date}}}
{{#if:{{{Patch blurb|}}}|<p class="sv-card__blurb">{{{Patch blurb}}}</p>|}}
</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>
</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 and Patch blurb.",
  "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 }
  }
}
</templatedata>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>