Template:Ward: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Short|Description|Districts|Population|Level|OtherNames|Denonym|Parent|isMaster|headerImage|sideImage|sideLink}}
{{#template_params:Short|Description|Districts|Population|Level|OtherNames|Denonym|Parent|isMaster|headerImage|sideImage|sideLink}}
{{#cargo_declare:_table=Settlements|Name=String|Short=String|Description=Wikitext|Districs=Wikitext|Population=String|Level=String|OtherNames=List (,) of String|Denonym=String|Parent=Page}}
{{#cargo_declare:_table=Wards|Name=String|Short=String|Description=Wikitext|Districs=Wikitext|Population=String|Level=String|OtherNames=List (,) of String|Denonym=String|Parent=Page}}
</noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Settlements|Name={{SUBPAGENAME}}}}
</noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Wards|Name={{SUBPAGENAME}}}}
<yambe:breadcrumb>{{{Parent}}}</yambe:breadcrumb>}}}}{{#if:{{{headerImage|}}}|[[File:{{{headerImage}}}|class=fullwidth]]}}
<yambe:breadcrumb>{{{Parent}}}</yambe:breadcrumb>}}}}{{#if:{{{headerImage|}}}|[[File:{{{headerImage}}}|class=fullwidth]]}}
{{#if:{{{isMaster|}}}|<infobox layout="stacked">
{{#if:{{{isMaster|}}}|<infobox layout="stacked">
Line 19: Line 19:
{{#arraymap:{{{Districts}}}|,|x|x}}}}}}
{{#arraymap:{{{Districts}}}|,|x|x}}}}}}


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

Revision as of 07:31, 16 June 2023

This is the "Ward" template.

It should be called in the following format:

{{Ward
|Short=
|Description=
|Districts=
|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.