Template:Policy: Difference between revisions
Template page
More actions
Create Template:Policy -- a card for one capital policy's Benevolent/Neutral/Oppressive stances |
m Replace reader-visible prose double hyphens with a proper em dash entity |
||
| Line 11: | Line 11: | ||
</pre> | </pre> | ||
Renders as one card | Renders as one card — a title plus up to three stance rows (<code>benevolent</code>/<code>neutral</code>/<code>oppressive</code>), each shown only when given. <code>name</code> can also be the first unnamed parameter. Lay several cards out in a responsive grid with a plain wrapper div: | ||
<pre><nowiki><div class="loka-policy-grid"></nowiki> | <pre><nowiki><div class="loka-policy-grid"></nowiki> | ||
Latest revision as of 14:21, 23 August 2026
Usage
{{Policy
|name=Capital Surveillance
|benevolent=Every town on the continent's radars now alert the town to the name of the player entering their territory.
|neutral=You and your alliance's radars now alert you to the name of the player entering your territory.
|oppressive=All radars not owned by your alliance no longer announce player detections.
}}
Renders as one card — a title plus up to three stance rows (benevolent/neutral/oppressive), each shown only when given. name can also be the first unnamed parameter. Lay several cards out in a responsive grid with a plain wrapper div:
<div class="loka-policy-grid">
{{Policy|...}}
{{Policy|...}}
</div>