Template:PatchHighlights/Card: Difference between revisions
Template page
More actions
No edit summary Tag: wikieditor |
No edit summary Tag: wikieditor |
||
| Line 1: | Line 1: | ||
< | <templatestyles src="Template:PatchHighlights/styles.css" /> | ||
<div | <div class="sv-card"> | ||
<div | <div class="sv-card__title">[[{{{1}}}|{{{1}}}]]</div> | ||
{{#if:{{{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 | "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": { | "Publish date": { "type": "string" }, | ||
"Patch blurb": { | "Patch blurb": { "type": "string" }, | ||
"Modification date": { | "Modification date": { "type": "string" } | ||
} | } | ||
} | } | ||
Revision as of 03:05, 2 October 2025
<templatestyles src="Template:PatchHighlights/styles.css" />
[[{{{1}}}|{{{1}}}]]
{{#if:|{{{Publish date}}}|}}
{{#if:|{{{Patch blurb}}}
|}}<templatedata> {
"description": "Internal card template used by PatchHighlights.",
"params": {
"1": { "label": "Page", "type": "wiki-page-name", "required": true },
"Publish date": { "type": "string" },
"Patch blurb": { "type": "string" },
"Modification date": { "type": "string" }
}
} </templatedata>