Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Join the Playtest on Steam Now: SpiritVale

Template:PatchHighlights: Difference between revisions

Template page
No edit summary
m Protected "Template:PatchHighlights" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
Tags: Mobile edit Mobile web edit
 
(10 intermediate revisions by the same user not shown)
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%;">
<templatestyles src="Template:PatchHighlights/styles.css" />
{{#ask:
<div class="sv-card sv-ph-wrap"><div class="sv-tile sv-ph-head">Recent Updates</div><div class="sv-ph-pad"><div class="sv-ph-grid">{{#ask:
[[Has namespace::Update]]
[[Category:Patch Notes]]
[[Publish date::+]]
[[Publish date::+]]
| sort=Publish date
| sort=Publish date,Modification date
| order=desc
| order=desc,desc
| limit=3
| limit=3
| ?Publish date
| ?Publish date
| ?Patch blurb
| ?Patch blurb
| format=template
| ?Modification date
| template=PatchHighlights/Card
| format=template
| named args=yes
| template=PatchHighlights/Card
| default=<div style="grid-column:1/-1; opacity:.75; text-align:center; padding:1rem;">No recent updates found.</div>
| named args=yes
}}
| mainlabel=Page
</div>
| link=none
| searchlabel=
| default=<div class="sv-ph-empty">No recent updates found.</div>
}}</div></div></div>
<noinclude>
<noinclude>
<templatedata>
{{/Doc}}
{
  "description": "Displays the three most recent Update: pages using Semantic MediaWiki. Each card shows the page title (without the Update: prefix), Publish date, and an optional Patch blurb.",
  "params": {}
}
</templatedata>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>