Template:Infobox polity: Difference between revisions
Appearance
Cargo-backed polity infobox |
Emit the 🌐 On the map page indicator automatically from map_relation |
||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke:Infobox|render | <includeonly>{{#if:{{{map_relation|}}}|{{On the map|relation={{{map_relation}}}}}}}{{#invoke:Infobox|render | ||
|title={{{name|{{PAGENAME}}}}} | |title={{{name|{{PAGENAME}}}}} | ||
|subtitle={{{native_name|}}} | |subtitle={{{native_name|}}} | ||
| Line 37: | Line 37: | ||
Infobox for a polity (country or state). Renders via [[Module:Infobox]] and | Infobox for a polity (country or state). Renders via [[Module:Infobox]] and | ||
populates the <code>Polities</code> [[Special:CargoTables|Cargo table]] for | populates the <code>Polities</code> [[Special:CargoTables|Cargo table]] for | ||
automatic lists and queries. | automatic lists and queries. A filled <code>map_relation</code> also places the | ||
'''🌐 On the map''' page indicator ([[Template:On the map]]) at the top right | |||
of the article. | |||
<pre> | <pre> | ||
{{Infobox polity | {{Infobox polity | ||
Revision as of 14:29, 16 July 2026
This template defines the table "Polities". This table has not been created yet.
Usage
Infobox for a polity (country or state). Renders via Module:Infobox and
populates the Polities Cargo table for
automatic lists and queries. A filled map_relation also places the
🌐 On the map page indicator (Template:On the map) at the top right
of the article.
{{Infobox polity
|name =
|native_name =
|capital =
|government =
|founded =
|region =
|languages =
|religion =
|map_relation =
|flag =
|flag_caption =
}}