Template:Infobox Nation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
| Line 13: | Line 13: | ||
|power_structure = String | |power_structure = String | ||
|economic_structure = String | |economic_structure = String | ||
|government_systems = List (,) of String | |||
|geographic_location = String | |geographic_location = String | ||
}}<!-- | }}<!-- | ||
| Line 31: | Line 32: | ||
-->{{#vardefine:power_structure|{{{power-structure|}}}}}<!-- | -->{{#vardefine:power_structure|{{{power-structure|}}}}}<!-- | ||
-->{{#vardefine:economic_structure|{{{economic-structure|}}}}}<!-- | -->{{#vardefine:economic_structure|{{{economic-structure|}}}}}<!-- | ||
-->{{#arraydefine:government_systems|{{{government-systems|}}}|,}}<!-- | |||
-->{{#vardefine:geographic_location|{{{geographic-location|}}}}}<!-- | -->{{#vardefine:geographic_location|{{{geographic-location|}}}}}<!-- | ||
| Line 74: | Line 76: | ||
|power_structure = {{#var:power_structure}} | |power_structure = {{#var:power_structure}} | ||
|economic_structure = {{#var:economic_structure}} | |economic_structure = {{#var:economic_structure}} | ||
|government_systems = {{#arrayprint:government_systems|,}} | |||
|geographic_location = {{#var:geographic_location}} | |geographic_location = {{#var:geographic_location}} | ||
}}<!-- | }}<!-- | ||
| Line 87: | Line 90: | ||
<data source="leaders"><label>Leaders</label><format>{{#ifexpr: {{#arraysize:leaders}} > 1 | <ul>{{#arrayprint:leaders||@@@@|<li>{{#ifexist:@@@@|[[@@@@]]|@@@@}}</li>}}</ul> | {{#arrayprint:leaders||@@@@|{{#ifexist:@@@@|[[@@@@]]|@@@@}}}}}}</format></data> | <data source="leaders"><label>Leaders</label><format>{{#ifexpr: {{#arraysize:leaders}} > 1 | <ul>{{#arrayprint:leaders||@@@@|<li>{{#ifexist:@@@@|[[@@@@]]|@@@@}}</li>}}</ul> | {{#arrayprint:leaders||@@@@|{{#ifexist:@@@@|[[@@@@]]|@@@@}}}}}}</format></data> | ||
<data source="power-structure"><label>Power Structure</label><format>{{#var:power_structure}}</format></data> | <data source="power-structure"><label>Power Structure</label><format>{{#var:power_structure}}</format></data> | ||
<data source="government-systems"><label>Government Systems</label><format>{{#ifexpr: {{#arraysize:government_systems}} > 1 | <ul>{{#arrayprint:government_systems||@@@@|<li>{{#ifexist:@@@@|[[@@@@]]|@@@@}}</li>}}</ul> | {{#arrayprint:government_systems||@@@@|{{#ifexist:@@@@|[[@@@@]]|@@@@}}}}}}</format></data> | |||
<data source="economic-structure"><label>Economic Structure</label><format>{{#var:economic_structure}}</format></data> | <data source="economic-structure"><label>Economic Structure</label><format>{{#var:economic_structure}}</format></data> | ||
<data source="geographic-location"><label>Geographic Location</label><format>{{#ifexist:{{#var:geographic_location}}|[[{{#var:geographic_location}}]]|{{#var:geographic_location}}}}</format></data> | <data source="geographic-location"><label>Geographic Location</label><format>{{#ifexist:{{#var:geographic_location}}|[[{{#var:geographic_location}}]]|{{#var:geographic_location}}}}</format></data> | ||
</group> | </group> | ||
</infobox></includeonly><noinclude>{{doc}}</noinclude> | </infobox></includeonly><noinclude>{{doc}}</noinclude> | ||
Revision as of 15:27, 23 March 2023
This template defines the table "nations". View table.Template:Infobox Nation/doc