Template:PatchHighlights: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<div style="display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; grid-auto-rows:auto; align-items:start; width:100%;"> | <div style="display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; grid-auto-rows:auto; align-items:start; width:100%;"> | ||
{{#ask: | {{#ask: | ||
[[ | [[Category:Patch Notes]] | ||
[[Publish date::+]] | [[Publish date::+]] | ||
| sort=Publish date | | sort=Publish date | ||
| Line 11: | Line 11: | ||
| template=PatchHighlights/Card | | template=PatchHighlights/Card | ||
| named args=yes | | named args=yes | ||
| default=<div style="grid-column:1/-1; opacity:.75; text-align:center; padding:1rem;">No recent updates found.</div> | | default= | ||
{{#ask: | |||
[[Publish date::+]] | |||
| sort=Publish date | |||
| order=desc | |||
| limit=3 | |||
| ?Publish date | |||
| ?Patch blurb | |||
| format=template | |||
| template=PatchHighlights/Card | |||
| named args=yes | |||
| default=<div style="grid-column:1/-1; opacity:.75; text-align:center; padding:1rem;">No recent updates found.</div> | |||
}} | |||
}} | }} | ||
</div> | </div> | ||
| Line 17: | Line 29: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Displays the three most recent | "description": "Displays the three most recent patch notes using SMW. Pulls from Category:Patch Notes and orders by Publish date; falls back to a global Publish date search if needed.", | ||
"params": {} | "params": {} | ||
} | } | ||