Template:PatchHighlights: Difference between revisions
Template page
More actions
No edit summary Tag: wikieditor |
No edit summary Tag: wikieditor |
||
| Line 1: | Line 1: | ||
<templatestyles src="Template:PatchHighlights/styles.css" /> | <templatestyles src="Template:PatchHighlights/styles.css" /> | ||
<div class="sv-highlights- | |||
<!-- Patch Highlights: one cohesive custom-table --> | |||
<table class="custom-table"> | |||
<tr> | |||
<th>Recent Updates</th> | |||
</tr> | |||
<tr> | |||
<td style="padding:0;"> | |||
<div class="sv-highlights-pad"> | |||
<div class="sv-highlights">{{#ask: | |||
[[Category:Patch Notes]] | [[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 | ||
| Line 16: | Line 25: | ||
| searchlabel= | | searchlabel= | ||
| default=<div class="sv-empty">No recent updates found.</div> | | default=<div class="sv-empty">No recent updates found.</div> | ||
}}</div></div><noinclude><templatedata>{"description":"Displays the three most recent patch notes | }}</div> | ||
</div> | |||
</td> | |||
</tr> | |||
</table> | |||
<noinclude> | |||
<templatedata> | |||
{"description":"Displays the three most recent patch notes inside a styled table with a gradient header. Mobile view shows only the newest for readability.","params":{}} | |||
</templatedata> | |||
[[Category:Templates]] | |||
</noinclude> | |||
Revision as of 13:26, 3 October 2025
<templatestyles src="Template:PatchHighlights/styles.css" />
| Recent Updates |
|---|
|
{{#ask:
Publish date::+ | sort=Publish date,Modification date | order=desc,desc | limit=3 | ?Publish date | ?Patch blurb | ?Modification date | format=template | template=PatchHighlights/Card | named args=yes | mainlabel=Page | link=none | searchlabel=| default= No recent updates found.
}} |
<templatedata>
{"description":"Displays the three most recent patch notes inside a styled table with a gradient header. Mobile view shows only the newest for readability.","params":{}}
</templatedata>