Template:District: Difference between revisions

Template page
(Created page with "<noinclude> {{#template_params:Description|Parent|POIs}} {{#cargo_declare:_table=Districts|Name=String|Description=Wikitext|Parent=Page|POIs=List (,,) of Wikitext}} </noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Settlements|Name={{SUBPAGENAME}}}}<h4>{{{Name}}}</h4> {{{Description}}} {{#if:{{{POIs|}}}|{{#arraymap:{{{POIs}}}|,,|x|{{POI|x}}}}}} Category:Districts </includeonly>")
 
mNo edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Description|Parent|POIs}}
{{#template_params:Name|Description|POIs}}
{{#cargo_declare:_table=Districts|Name=String|Description=Wikitext|Parent=Page|POIs=List (,,) of Wikitext}}
</noinclude><includeonly><h4>{{{Name}}}</h4>
</noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Settlements|Name={{SUBPAGENAME}}}}<h4>{{{Name}}}</h4>
{{{Description}}}
{{{Description}}}


{{#if:{{{POIs|}}}|{{#arraymap:{{{POIs}}}|,,|x|{{POI|x}}}}}}
{{#if:{{{POIs|}}}|{{#arraymap:{{{POIs}}}|,,|x|{{POI|x}}}}}}
[[Category:Districts]]
</includeonly>
</includeonly>

Revision as of 07:16, 16 June 2023

This is the "District" template.

It should be called in the following format:

{{District
|Name=
|Description=
|POIs=
}}

Edit the page to see the template text.