Template:PatchHighlights/Card: Difference between revisions
Template page
More actions
No edit summary Tags: Manual revert wikieditor |
No edit summary Tag: wikieditor |
||
| Line 1: | Line 1: | ||
<div style="text-align:left; padding:1rem 1.5rem 0.75rem; direction:ltr;"> | <div style="text-align:left; padding:1rem 1.5rem 0.75rem; direction:ltr;"> | ||
<div style="font-size:1.4em; font-weight:700; line-height:1.2; margin:-0.2em 0 0.3em 0;">{{{1}}} | <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> | <div style="margin:.1em 0; font-size:.85em; font-style:italic; color:var(--text-color);">{{#if:{{{Publish date|}}}|{{{Publish date}}}|{{{Modification date|}}}}}</div> | ||
<div style="margin:.1em 0; font-size:.85em; font-style:italic; color:var(--text-color);"> | |||
{{#if:{{{Publish date|}}}|{{{Publish date}}}|{{{Modification 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>|}} | {{#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> | ||
Revision as of 02:34, 2 October 2025
[[{{{1}}}|]]
{{#if:|{{{Publish date}}}|}}
{{#if:|{{{Patch blurb}}}
|}}<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>