Jump to content

Template:Infobox polity: Difference between revisions

From Yezur Wiki
Thiorosan (talk | contribs)
Emit the 🌐 On the map page indicator automatically from map_relation
Thiorosan (talk | contribs)
Remove the automatic On the map indicator — polities cannot be reduced to a single spot
Line 1: Line 1:
<includeonly>{{#if:{{{map_relation|}}}|{{On the map|relation={{{map_relation}}}}}}}{{#invoke:Infobox|render
<includeonly>{{#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. A filled <code>map_relation</code> also places the
automatic lists and queries. (No [[Template:On the map|🌐 On the map]] indicator
'''🌐 On the map''' page indicator ([[Template:On the map]]) at the top right
here: a polity cannot be reduced to a single spot.)
of the article.
<pre>
<pre>
{{Infobox polity
{{Infobox polity

Revision as of 08:18, 17 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. (No 🌐 On the map indicator here: a polity cannot be reduced to a single spot.)

{{Infobox polity
|name          =
|native_name   =
|capital       =
|government    =
|founded       =
|region        =
|languages     =
|religion      =
|map_relation  =
|flag          =
|flag_caption  =
}}