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
No edit summary
Tags: Mobile edit Mobile web edit
Line 1: Line 1:
<templatestyles src="Template:PatchHighlights/styles.css" />
<templatestyles src="Template:PatchHighlights/styles.css" />
 
<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:
<!-- Patch Highlights: one cohesive custom-table -->
[[Category:Patch Notes]]
<table class="custom-table">
[[Publish date::+]]
<tr>
| sort=Publish date,Modification date
<th>Recent Updates</th>
| order=desc,desc
</tr>
| limit=3
<tr>
| ?Publish date
<td style="padding:0;">
| ?Patch blurb
<div class="sv-highlights-pad">
| ?Modification date
<div class="sv-highlights">{{#ask:
| format=template
[[Category:Patch Notes]]
| template=PatchHighlights/Card
[[Publish date::+]]
| named args=yes
| sort=Publish date,Modification date
| mainlabel=Page
| order=desc,desc
| link=none
| limit=3
| searchlabel=
| ?Publish date
| default=<div class="sv-ph-empty">No recent updates found.</div>
| ?Patch blurb
}}</div></div></div>
| ?Modification date
| format=template
| template=PatchHighlights/Card
| named args=yes
| mainlabel=Page
| link=none
| searchlabel=
| default=<div class="sv-empty">No recent updates found.</div>
}}</div>
</div>
</td>
</tr>
</table>
 
<noinclude>
<noinclude>
<templatedata>
{{/Doc}}
{"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]]
[[Category:Templates]]
</noinclude>
</noinclude>