Template:Settlement: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Tag: Reverted
Line 2: Line 2:
{{#template_params:Short|Description|Type|Population|Level|OtherNames|Ruler|Denonym|Wards|isMaster|headerImage|mapImage|mapLink}}
{{#template_params:Short|Description|Type|Population|Level|OtherNames|Ruler|Denonym|Wards|isMaster|headerImage|mapImage|mapLink}}
{{#cargo_declare:_table=Settlements|Name=String|Short=String|Description=Wikitext|Type=String|Population=String|Level=String|OtherNames=List (,) of String|Ruler=Wikitext|Denonym=String|Wards=List (,) of Page}}
{{#cargo_declare:_table=Settlements|Name=String|Short=String|Description=Wikitext|Type=String|Population=String|Level=String|OtherNames=List (,) of String|Ruler=Wikitext|Denonym=String|Wards=List (,) of Page}}
</noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Settlements|Name={{SUBPAGENAME}}}}
</noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Settlements|Name={{SUBPAGENAME}}}}}}{{#if:{{{headerImage|}}}|[[File:{{{headerImage}}}|class=fullwidth]]}}
{{#ifeq:{{SUBPAGENAME}}|The City|<yambe:breadcrumb>Main_Page|Front Page</yambe:breadcrumb>|<yambe:breadcrumb>Settlements</yambe:breadcrumb>}}}}{{#if:{{{headerImage|}}}|[[File:{{{headerImage}}}|class=fullwidth]]}}
{{#if:{{{isMaster|}}}|<infobox layout="stacked">
{{#if:{{{isMaster|}}}|<infobox layout="stacked">
<navigation>
<navigation>

Revision as of 09:46, 16 June 2023

This is the "Settlement" template.

It should be called in the following format:

{{Settlement
|Short=
|Description=
|Type=
|Population=
|Level=
|OtherNames=
|Ruler=
|Denonym=
|Wards=
|isMaster=
|headerImage=
|mapImage=
|mapLink=
}}

Edit the page to see the template text.

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