Jump to content

Template:Infobox former country: Difference between revisions

From Yezur Wiki
Khurouan (talk | contribs)
Add an infobox for former countries
 
Thiorosan (talk | contribs)
Display-only: remove #cargo_store/#cargo_declare — Cargo retired from the encyclopedia (operator ruling 2026-07-30); resolves the never-created FormerCountries table at the root
 
Line 15: Line 15:
|label12=Succeeded by|data12={{{successor|}}}
|label12=Succeeded by|data12={{{successor|}}}
|label13=On the map|data13={{#if:{{{map_relation|}}}|{{Relation|{{{map_relation}}}|View}}}}
|label13=On the map|data13={{#if:{{{map_relation|}}}|{{Relation|{{{map_relation}}}|View}}}}
}}{{#cargo_store:_table=FormerCountries
}}</includeonly><noinclude>
|name={{{name|{{PAGENAME}}}}}
|native_name={{{native_name|}}}
|status={{{status|Historical}}}
|era={{{era|}}}
|founded={{{founded|}}}
|dissolved={{{dissolved|}}}
|region={{{region|}}}
|location={{{location|}}}
|capital={{{capital|}}}
|government={{{government|}}}
|languages={{{languages|}}}
|religion={{{religion|}}}
|predecessor={{{predecessor|}}}
|successor={{{successor|}}}
}}</includeonly><noinclude>{{#cargo_declare:_table=FormerCountries
|name=String
|native_name=String
|status=String
|era=String
|founded=Integer
|dissolved=Integer
|region=String
|location=String
|capital=String
|government=String
|languages=List (,) of String
|religion=String
|predecessor=String
|successor=String
}}
=== Usage ===
=== Usage ===
Infobox for a former country / historical polity, distinct from the living-state
Infobox for a former country / historical polity, distinct from the living-state
[[Template:Infobox polity|Infobox polity]]. Renders via [[Module:Infobox]] and
[[Template:Infobox polity|Infobox polity]]. Renders via [[Module:Infobox]].
populates the <code>FormerCountries</code> Cargo table. Empty rows are hidden, so
Empty rows are hidden, so leave unknown fields blank.
leave unknown fields blank.
<pre>
<pre>
{{Infobox former country
{{Infobox former country

Latest revision as of 11:27, 30 July 2026

Usage

Infobox for a former country / historical polity, distinct from the living-state Infobox polity. Renders via Module:Infobox. Empty rows are hidden, so leave unknown fields blank.

{{Infobox former country
|name        =
|native_name =
|status      = Historical
|era         =
|founded     =
|dissolved   =
|region      =
|location    =
|capital     =
|government  =
|languages   =
|religion    =
|predecessor =
|successor   =
|map_relation=
}}