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
 
(10 intermediate revisions by the same user not shown)
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><div class="flexcard" style="min-width:280px;">{{#ifeq:{{{Name}}}|invis||<h4>{{{Name}}}</h4>
</noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Settlements|Name={{SUBPAGENAME}}}}<h4>{{{Name}}}</h4>
{{{Description}}}{{#if:{{{POIs|}}}|
{{{Description}}}


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

Latest revision as of 09:39, 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.