Template:PatchHighlights/Doc: Difference between revisions
More actions
Created page with "This template displays the '''three most recent''' patch notes as a compact highlight grid (Main Page friendly). It queries pages in Category:Patch Notes via Semantic MediaWiki and renders each result using {{tl|PatchHighlights/Card}}. == Requirements == Patch note pages should be in Category:Patch Notes and define these Semantic properties: * <code>Publish date</code> * <code>Patch blurb</code> (optional) * <code>Modification date</code> (fallback date when Pu..." Tags: Mobile edit Mobile web edit |
m Protected "Template:PatchHighlights/Doc" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) Tags: Mobile edit Mobile web edit |
(No difference)
| |
Latest revision as of 04:54, 25 February 2026
This template displays the three most recent patch notes as a compact highlight grid (Main Page friendly). It queries pages in Category:Patch Notes via Semantic MediaWiki and renders each result using Template:Tl.
Requirements
Patch note pages should be in Category:Patch Notes and define these Semantic properties:
Publish datePatch blurb(optional)Modification date(fallback date when Publish date is missing)
Output behavior
- Desktop: up to 3 items.
- Tablet (<=1024px): 2 items.
- Mobile (<=640px): 1 item (newest).
If no results are found, it shows “No recent updates found.”
Styling
Loads <templatestyles src="Template:PatchHighlights/styles.css" /> and uses global SV primitives from Common.css:
sv-card(outer wrapper)sv-tile(header band + each highlight item)
Customization
To change how many results appear, edit the main template and adjust | limit=3.
To change the card layout, edit Template:PatchHighlights/Card
TemplateData
Displays the three most recent patch notes as a highlight grid (Main Page friendly).
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||