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 |
||
| Line 4: | Line 4: | ||
</div> | </div> | ||
<div style="margin:.1em 0; font-size:.85em; font-style:italic; color:var(--text-color);"> | <div style="margin:.1em 0; font-size:.85em; font-style:italic; color:var(--text-color);"> | ||
{{{Publish date}}} | {{#if:{{{Publish date|}}}|{{{Publish date}}}|{{{Modification date|}}}}} | ||
</div> | </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>|}} | ||
| Line 11: | Line 11: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Internal card template used by PatchHighlights. Receives: 1 = page (with namespace), plus SMW printouts Publish date | "description": "Internal card template used by PatchHighlights. Receives: 1 = page (with namespace), plus SMW printouts Publish date, Patch blurb (and optionally Modification date).", | ||
"params": { | "params": { | ||
"1": { "label": "Page", "type": "wiki-page-name", "required": true }, | "1": { "label": "Page", "type": "wiki-page-name", "required": true }, | ||
"Publish date": { "label": "Publish date", "type": "string", "required": false }, | "Publish date": { "label": "Publish date", "type": "string", "required": false }, | ||
"Patch blurb": { "label": "Patch blurb", "type": "string", "required": false } | "Patch blurb": { "label": "Patch blurb", "type": "string", "required": false }, | ||
"Modification date": { "label": "Modification date", "type": "string", "required": false } | |||
} | } | ||
} | } | ||
Revision as of 19:27, 1 October 2025
[[{{{1}}}|{{{1}}}]]
Internal card template used by PatchHighlights. Receives: 1 = page (with namespace), plus SMW printouts Publish date, Patch blurb (and optionally Modification date).
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Page | 1 | no description | Page name | required |
| Publish date | Publish date | no description | String | optional |
| Patch blurb | Patch blurb | no description | String | optional |
| Modification date | Modification date | no description | String | optional |