Template:PatchHighlights/Card: Difference between revisions
Template page
More actions
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: | ||
< | <templatestyles src="Template:PatchHighlights/styles.css" /> | ||
<div | <div class="sv-card"> | ||
[[{{{ | <div class="sv-card__title">[[{{{Page}}}|{{PAGENAME:{{{Page}}}}}]]</div> | ||
</div> | <div class="sv-card__divider"></div> | ||
<div | <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 | |||
</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> | ||
{ | |||
} | |||
</templatedata> | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||