Template:Ward: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Line 11: Line 11:
{{#if:{{{isMaster|}}}|{{#if:{{{Districts|}}}|<h3>Districts</h3>
{{#if:{{{isMaster|}}}|{{#if:{{{Districts|}}}|<h3>Districts</h3>


<div class="flexcardcontainer">{{#arraymap:{{{Districts}}}|,|x|<div class="flexcard" style="min-width:280px;">x</div>}}</div>}}}}
<div class="flexcardcontainer">{{#arraymap:{{{Districts}}}|,|¤#|<div class="flexcard" style="min-width:280px;">¤#</div>}}</div>}}}}
{{#if:{{{isMaster|}}}|</div><div class="flexcard" style="min-width:270px;">
{{#if:{{{isMaster|}}}|</div><div class="flexcard" style="min-width:270px;">
<div style="background-color: var(--pi-secondary-background); padding:6px;">
<div style="background-color: var(--pi-secondary-background); padding:6px;">
Line 18: Line 18:
</div >
</div >
{{#if:{{{Factions|}}}|<div ><h3>Guilds and Factions</h3>
{{#if:{{{Factions|}}}|<div ><h3>Guilds and Factions</h3>
{{{Factions}}}</div >}}
{{{Factions}}}</div>}}
</div>}}
</div>}}


[[Category:Wards]]
[[Category:Wards]]
</includeonly>
</includeonly>

Revision as of 09:15, 16 June 2023

This is the "Ward" template.

It should be called in the following format:

{{Ward
|Type=
|Short=
|Description=
|Districts=
|Factions=
|Population=
|Level=
|OtherNames=
|Denonym=
|Parent=
|isMaster=
|headerImage=
|sideImage=
|sideLink=
}}

Edit the page to see the template text.

This template defines the table "Wards". View table.