Difference between revisions of "Template:Infobox former subdivision/doc"
imported>Trialpears m (Removing unnecessary Template:Intricate template per Template talk:Intricate template#Change to editnotice? (via WP:JWB)) |
|||
| (34 intermediate revisions by 25 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | + | <!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--> | |
| − | <!-- | + | {{Lua|Module:Check for unknown parameters}} |
{{Infobox former subdivision | {{Infobox former subdivision | ||
| Line 7: | Line 7: | ||
|native_name = {{{native_name}}} | |native_name = {{{native_name}}} | ||
|conventional_long_name = {{{conventional_long_name}}} | |conventional_long_name = {{{conventional_long_name}}} | ||
| − | |common_name = {{{common_name}}} | + | |common_name = {{{common_name}}} |
| + | | | ||
| + | |demonym = {{{demonym}}} | ||
| | | | ||
|subdivision = <!-- Status: see Category list on template page --> | |subdivision = <!-- Status: see Category list on template page --> | ||
| Line 34: | Line 36: | ||
|event4 = | |event4 = | ||
|date_event4 = | |date_event4 = | ||
| + | |event5 = | ||
| + | |date_event5 = | ||
| | | | ||
|event_pre = {{{event_pre}}} | |event_pre = {{{event_pre}}} | ||
| Line 42: | Line 46: | ||
|<!-- Flag navigation: Preceding and succeeding entities p1 to p5 and s1 to s8 --> | |<!-- Flag navigation: Preceding and succeeding entities p1 to p5 and s1 to s8 --> | ||
|p1 = {{{p1}}} | |p1 = {{{p1}}} | ||
| − | |flag_p1 = | + | |flag_p1 = Flag of None.svg |
|image_p1 = <!-- Use: [[Image:Sin escudo.svg|20px|Image missing]] --> | |image_p1 = <!-- Use: [[Image:Sin escudo.svg|20px|Image missing]] --> | ||
|p2 = | |p2 = | ||
| Line 53: | Line 57: | ||
|flag_p5 = | |flag_p5 = | ||
|s1 = {{{s1}}} | |s1 = {{{s1}}} | ||
| − | |flag_s1 = | + | |flag_s1 = Flag of None.svg |
|image_s1 = <!-- Use: [[Image:Sin escudo.svg|20px|Image missing]] --> | |image_s1 = <!-- Use: [[Image:Sin escudo.svg|20px|Image missing]] --> | ||
|s2 = | |s2 = | ||
| Line 64: | Line 68: | ||
|flag_s5 = | |flag_s5 = | ||
| | | | ||
| − | |image_flag = | + | |image_flag = Flag of None.svg |
|flag = <!-- Link target under flag image. Default: Flag of {{{common_name}}} --> | |flag = <!-- Link target under flag image. Default: Flag of {{{common_name}}} --> | ||
|flag_type = {{{flag_type}}}<!-- Displayed text for link under flag. Default "Flag" --> | |flag_type = {{{flag_type}}}<!-- Displayed text for link under flag. Default "Flag" --> | ||
| | | | ||
| − | |image_coat = | + | |image_coat = Coats of arms of None.svg |
|symbol = <!-- Link target under symbol image. Default: Coat of arms of {{{common_name}}} --> | |symbol = <!-- Link target under symbol image. Default: Coat of arms of {{{common_name}}} --> | ||
|symbol_type = {{{symbol_type}}}<!-- Displayed text for link under symbol. Default "Coat of arms" --> | |symbol_type = {{{symbol_type}}}<!-- Displayed text for link under symbol. Default "Coat of arms" --> | ||
| | | | ||
| − | |image_map = Missing map. | + | |image_map = Missing map.svg |
|image_map_caption = {{{image_map_caption}}} | |image_map_caption = {{{image_map_caption}}} | ||
| | | | ||
|capital = {{{capital}}} | |capital = {{{capital}}} | ||
| − | | | + | |coordinates = <!-- Use {{Coord}} --> |
| | | | ||
| − | | | + | |motto = {{{motto}}} |
| − | | | + | |anthem = {{{anthem}}} |
| | | | ||
|political_subdiv = {{{political_subdiv}}} | |political_subdiv = {{{political_subdiv}}} | ||
| Line 133: | Line 137: | ||
'''NOTE:''' This infobox should be used if the state in question was ''always'' a subdivision of some larger entity. For all other cases, use {{tl|Infobox former country}} to place articles into various "Former countries" categories that would not be suitable for subdivisions of former countries.<br /> | '''NOTE:''' This infobox should be used if the state in question was ''always'' a subdivision of some larger entity. For all other cases, use {{tl|Infobox former country}} to place articles into various "Former countries" categories that would not be suitable for subdivisions of former countries.<br /> | ||
| − | ''Exception'': states of the Holy Roman Empire should also use {{tl|Infobox former country}} with {{para|empire|HRE}} + {{para|status|vassal}} or {{para|status| | + | ''Exception'': states of the Holy Roman Empire should also use {{tl|Infobox former country}} with {{para|empire|HRE}} + {{para|status|vassal}}, {{para|status|city}} or {{para|status|abbey}}, depending on the state type. |
=== Notes === | === Notes === | ||
| Line 168: | Line 172: | ||
|subdivision = <!-- Status: see Category list on template page --> | |subdivision = <!-- Status: see Category list on template page --> | ||
|nation = <!-- The empire or country to which the entity was in a state of dependency --> | |nation = <!-- The empire or country to which the entity was in a state of dependency --> | ||
| + | |demonym = <!-- The name of the group of people residing there --> | ||
|status_text = <!-- A free text to describe status the top of the infobox. Use sparingly. --> | |status_text = <!-- A free text to describe status the top of the infobox. Use sparingly. --> | ||
|government_type = <!-- To generate categories: "Monarchy", "Republic", etc. to generate categories --> | |government_type = <!-- To generate categories: "Monarchy", "Republic", etc. to generate categories --> | ||
<!-- Titles and names of the first and last leaders and their deputies --> | <!-- Titles and names of the first and last leaders and their deputies --> | ||
| − | |title_leader = <!-- Default: "King" for monarchy, otherwise "President" --> | + | |title_leader = <!-- Default: "King" for monarchy, otherwise leave blank for default "President" --> |
|title_deputy = <!-- Default: "Prime minister" --> | |title_deputy = <!-- Default: "Prime minister" --> | ||
|leader1 = <!-- Name of leader (up to six) --> | |leader1 = <!-- Name of leader (up to six) --> | ||
| Line 185: | Line 190: | ||
<!-- General information --> | <!-- General information --> | ||
|capital = | |capital = | ||
| − | | | + | |coordinates = <!-- Use {{Coord}} --> |
| − | | | + | |motto = <!-- Accepts wikilinks --> |
| − | | | + | |anthem = <!-- Accepts wikilinks --> |
|political_subdiv = <!-- Accepts wikilinks --> | |political_subdiv = <!-- Accepts wikilinks --> | ||
| − | |today = <!-- The countries to which this historic entity belongs today --> | + | |today = <!-- The countries to which this historic entity belongs today, if no more than four of these --><!-- Do NOT add flags, per MOS:INFOBOXFLAG --> |
| + | |||
<!-- Rise and fall, events, years and dates --> | <!-- Rise and fall, events, years and dates --> | ||
<!-- Only fill in the start/end event entry if a specific article exists. Don't just say "abolition" or "declaration". --> | <!-- Only fill in the start/end event entry if a specific article exists. Don't just say "abolition" or "declaration". --> | ||
| Line 195: | Line 201: | ||
|year_end = <!-- Year of disestablishment --> | |year_end = <!-- Year of disestablishment --> | ||
|event_start = <!-- Default: "Established" --> | |event_start = <!-- Default: "Established" --> | ||
| − | |date_start = <!-- Optional: Date of establishment | + | |date_start = <!-- Optional: Date of establishment--> |
|event_end = <!-- Default: "Disestablished" --> | |event_end = <!-- Default: "Disestablished" --> | ||
|date_end = <!-- Optional: Date of disestablishment --> | |date_end = <!-- Optional: Date of disestablishment --> | ||
| Line 206: | Line 212: | ||
|event4 = | |event4 = | ||
|date_event4 = | |date_event4 = | ||
| + | |event5 = | ||
| + | |date_event5 = | ||
|life_span = | |life_span = | ||
|era = <!-- Use: "Napoleonic Wars", "Cold War", etc. --> | |era = <!-- Use: "Napoleonic Wars", "Cold War", etc. --> | ||
| Line 235: | Line 243: | ||
|stat_area1 = <!-- area in square kilometres (w/o commas or spaces), area in square miles is calculated --> | |stat_area1 = <!-- area in square kilometres (w/o commas or spaces), area in square miles is calculated --> | ||
|stat_pop1 = <!-- population (w/o commas or spaces), population density is calculated if area is also given --> | |stat_pop1 = <!-- population (w/o commas or spaces), population density is calculated if area is also given --> | ||
| + | | area_lost1 = Significant areas the territory lost | ||
| + | | lost_to1 = Where it transferred to | ||
| + | | area_lost_year1 = The year it happened | ||
| + | | area_gained1 = Significant areas the territory gained | ||
| + | | gained_from1 = Where it transferred from | ||
| + | | area_gained_year1 = The year it happened | ||
| + | <!-- Governance --> | ||
| + | | Status = The status(es) the unit held | ||
| + | | Government = The name of the local government | ||
| + | | government_type = The category/type of local government | ||
| + | | Arms = Coat of arms (display option 2) | ||
| + | | arms_caption = | ||
| + | | Civic = Civic seal, logo or other | ||
| + | | civic_caption = | ||
| + | | HQ = Headquarters | ||
| + | | CodeName = Reference code series name | ||
| + | | Code = Unique reference code for unit in the series | ||
| + | <!-- Subdivisions --> | ||
| + | | Divisions = The name of the subdivision type it had, for example parishes or wards | ||
| + | | DivisionsNames = The names of the subdivisions | ||
| + | | DivisionsMap = Map of the subdivisions | ||
| + | | divisions_map_caption = | ||
| + | <!-- Memberships --> | ||
| + | | membership_title1 = Type of unit it was part of | ||
| + | | membership1 = Name of the unit it was part of | ||
| + | | membership_title2 = | ||
| + | | membership2 = | ||
| + | | membership_title3 = | ||
| + | | membership3 = | ||
| + | | membership_title4 = | ||
| + | | membership4 = | ||
| + | | membership_title5 = | ||
| + | | membership5 = | ||
|footnotes = <!-- Accepts wikilinks --> | |footnotes = <!-- Accepts wikilinks --> | ||
}}</pre> | }}</pre> | ||
| Line 247: | Line 288: | ||
*Usage | *Usage | ||
**'''required''' means that the template will not work properly if it is excluded | **'''required''' means that the template will not work properly if it is excluded | ||
| − | **'''optional''' means that the template will work properly | + | **'''optional''' means that the template will work properly without it, but available information should be entered to make it as complete as possible (actively excluding or deleting information is not endorsed just because it is called optional in this table) |
*Type | *Type | ||
**'''variable''' means that the template will only take fixed values; this can be dates, years, numerical or according to a defined list | **'''variable''' means that the template will only take fixed values; this can be dates, years, numerical or according to a defined list | ||
| Line 254: | Line 295: | ||
*Value | *Value | ||
**examples or lists of values accepted by variables | **examples or lists of values accepted by variables | ||
| − | **'''free text with wikilinks''' means that text and wikilinks can be entered freely | + | **'''free text with wikilinks''' means that text and wikilinks can be entered freely without the kind of restrictions that applies to variables |
***'''label''' is a short label typically fitting in a single line (no line break) | ***'''label''' is a short label typically fitting in a single line (no line break) | ||
***'''entry''' is one or a few short labels separated by commas or line breaks (no more than a few lines) | ***'''entry''' is one or a few short labels separated by commas or line breaks (no more than a few lines) | ||
| Line 272: | Line 313: | ||
| style="background-color: whitesmoke;" | '''Values''' | | style="background-color: whitesmoke;" | '''Values''' | ||
| style="background-color: whitesmoke;" | '''Description''' | | style="background-color: whitesmoke;" | '''Description''' | ||
| − | |- | + | |- style="vertical-align:top;" |
| − | | '''native_name''' || optional || free || label (free text) || Name in native language(s), displayed | + | | '''native_name''' || optional || free || label (free text) || Name in native language(s), displayed towards the top of the infobox, underneath the full name in English. If there are multiple native languages, separate different names with line breaks. If the native language is English, leave this section blank and give the name in the next field. |
| − | |- | + | |- style="vertical-align:top;" |
| − | | '''conventional_long_name''' || | + | | '''conventional_long_name''' || optional || free || label (free text) || Full name in English, displayed at the top of the infobox. Default to page name. |
| − | |- | + | |- style="vertical-align:top;" |
| '''common_name''' || required || variable || country name | | '''common_name''' || required || variable || country name | ||
|This variable is a supporting variable for the infobox. The value required here is not always historically factual but this variable is very important as it has a number of important uses: | |This variable is a supporting variable for the infobox. The value required here is not always historically factual but this variable is very important as it has a number of important uses: | ||
| Line 284: | Line 325: | ||
**''Example:'' The flag and heraldry information for Croatia over its history are in the two articles "Flag of Croatia" and "Coat of arms of Croatia". By saying {{para|common_name|Croatia}}, the text underneath the flag and coat of arms images automatically links to these entries. For the Axis-controlled Independent State of Croatia, saying {{para|common_name|Independent State of Croatia}}, while historically accurate, does not generate these links because there are no "Flag/Coat of arms of (the) Independent State of Croatia" articles. | **''Example:'' The flag and heraldry information for Croatia over its history are in the two articles "Flag of Croatia" and "Coat of arms of Croatia". By saying {{para|common_name|Croatia}}, the text underneath the flag and coat of arms images automatically links to these entries. For the Axis-controlled Independent State of Croatia, saying {{para|common_name|Independent State of Croatia}}, while historically accurate, does not generate these links because there are no "Flag/Coat of arms of (the) Independent State of Croatia" articles. | ||
|- | |- | ||
| − | | colspan=5 style="background-color: orange;" | | + | | colspan=5 style="background-color: orange;" | |
==== Status ==== | ==== Status ==== | ||
| Line 295: | Line 336: | ||
| style="background-color: whitesmoke;" | '''Values''' | | style="background-color: whitesmoke;" | '''Values''' | ||
| style="background-color: whitesmoke;" | '''Description''' | | style="background-color: whitesmoke;" | '''Description''' | ||
| − | |- | + | |- style="vertical-align:top;" |
| '''subdivision''' || required || variable || | | '''subdivision''' || required || variable || | ||
*Empire | *Empire | ||
| Line 309: | Line 350: | ||
*See also the variable {{para||[[#Politics|government_type]]}} and the [[Template:Infobox former country/Categories|categorization scheme]]. | *See also the variable {{para||[[#Politics|government_type]]}} and the [[Template:Infobox former country/Categories|categorization scheme]]. | ||
|| {{para||Subdivision}} describes the relationship between the political entity and other entities, whether colonies to an empire, the (colonial) empire itself, countries with special status by the League of Nations or the UN, etc. | || {{para||Subdivision}} describes the relationship between the political entity and other entities, whether colonies to an empire, the (colonial) empire itself, countries with special status by the League of Nations or the UN, etc. | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''nation''' || required || variable || country name || Give the ''common name'' for the ''country'' to which the entity was in a state of dependency. | |'''nation''' || required || variable || country name || Give the ''common name'' for the ''country'' to which the entity was in a state of dependency. | ||
*''Example:'' British Empire colony: {{para|subdivision|Colony}}, {{para|nation|United Kingdom}} | *''Example:'' British Empire colony: {{para|subdivision|Colony}}, {{para|nation|United Kingdom}} | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''status_text'''|| optional || free || label (free text with wikilinks) || If values are given for {{para||subdivision}} and {{para||nation}}, it will be displayed by default as "[subdivision] of [(the) nation]". The {{para||status_text}} variable allows you to display more specific or accurate text alternatives without compromising category assignment (e.g. <nowiki>"State of the [[Holy Roman Empire]]", "Client state of [[First French Empire|France]]"</nowiki>). | |'''status_text'''|| optional || free || label (free text with wikilinks) || If values are given for {{para||subdivision}} and {{para||nation}}, it will be displayed by default as "[subdivision] of [(the) nation]". The {{para||status_text}} variable allows you to display more specific or accurate text alternatives without compromising category assignment (e.g. <nowiki>"State of the [[Holy Roman Empire]]", "Client state of [[First French Empire|France]]"</nowiki>). | ||
|- | |- | ||
| Line 324: | Line 365: | ||
| style="background-color: whitesmoke;" | '''Values''' | | style="background-color: whitesmoke;" | '''Values''' | ||
| style="background-color: whitesmoke;" | '''Description''' | | style="background-color: whitesmoke;" | '''Description''' | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''government_type'''|| required || variable || | |'''government_type'''|| required || variable || | ||
*Monarchy | *Monarchy | ||
| Line 333: | Line 374: | ||
*See also the variable {{para||[[#Status|subdivision]]}} and the [[Template:Infobox former country/Categories|categorization scheme]]. | *See also the variable {{para||[[#Status|subdivision]]}} and the [[Template:Infobox former country/Categories|categorization scheme]]. | ||
|This entry generates more categories and sets some defaults for other political titles (see below). If the value given here does not match any in the following list, the article will be placed in the maintenance category for further examination. <br>If a change in government takes place without the country itself changing, place the ''earlier'' government type in this field, and give the change in government as an intermediate event (e.g. {{para||event1}}). | |This entry generates more categories and sets some defaults for other political titles (see below). If the value given here does not match any in the following list, the article will be placed in the maintenance category for further examination. <br>If a change in government takes place without the country itself changing, place the ''earlier'' government type in this field, and give the change in government as an intermediate event (e.g. {{para||event1}}). | ||
| − | |- | + | |- style="vertical-align:top;" |
| colspan=5 style="background-color: whitesmoke;" | Head of state | | colspan=5 style="background-color: whitesmoke;" | Head of state | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''title_leader''' || optional || free || label (free text with wikilinks) || the head of state's title. If {{para|government_type|Monarchy}} or <code>Constitutional monarchy</code>, the default "King" will be displayed, which will link to "King of <var>{common_name}</var> if that article exists. If <code>Republic</code> or <code>Federal republic</code> is given, "President" will be used instead. If a different title is used, enter it here (but keep the length to a minimum) and wikilink it to the relevant article (if any). | |'''title_leader''' || optional || free || label (free text with wikilinks) || the head of state's title. If {{para|government_type|Monarchy}} or <code>Constitutional monarchy</code>, the default "King" will be displayed, which will link to "King of <var>{common_name}</var> if that article exists. If <code>Republic</code> or <code>Federal republic</code> is given, "President" will be used instead. If a different title is used, enter it here (but keep the length to a minimum) and wikilink it to the relevant article (if any). | ||
*''Example:'' For the [[Kingdom of Prussia]], {{para|government_type|Monarchy}} but {{para||title_leader}} has not been given. This is because the article "[[King of Prussia]]" exists and is automatically linked to from the default word "King" in the infobox. | *''Example:'' For the [[Kingdom of Prussia]], {{para|government_type|Monarchy}} but {{para||title_leader}} has not been given. This is because the article "[[King of Prussia]]" exists and is automatically linked to from the default word "King" in the infobox. | ||
*''Example:'' For the [[German Empire]], the Emperor was also the King of Prussia. But instead of giving a title of <code>Emperor of Germany, King of Prussia</code>, <code><nowiki>[[List of German monarchs|Emperor]]</nowiki></code> is used instead, which includes a link to all German monarchs. | *''Example:'' For the [[German Empire]], the Emperor was also the King of Prussia. But instead of giving a title of <code>Emperor of Germany, King of Prussia</code>, <code><nowiki>[[List of German monarchs|Emperor]]</nowiki></code> is used instead, which includes a link to all German monarchs. | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''leader1, leader2, ...''' || optional || free || label (free text with wikilinks) || Leader name. Wikilinks are generated automatically, but you should create wikilinked entries for people whose entry title is long (this applies to almost all royalty). | |'''leader1, leader2, ...''' || optional || free || label (free text with wikilinks) || Leader name. Wikilinks are generated automatically, but you should create wikilinked entries for people whose entry title is long (this applies to almost all royalty). | ||
*''Example:'' <code><nowiki>[[George III of the United Kingdom|George III]]</nowiki></code> instead of <code>George III</code> or <code>George III of the United Kingdom</code>. If it is not obvious that British monarchs are involved in this case, give the full <code>George III of the United Kingdom</code> (e.g. [[Congo Free State]]). | *''Example:'' <code><nowiki>[[George III of the United Kingdom|George III]]</nowiki></code> instead of <code>George III</code> or <code>George III of the United Kingdom</code>. If it is not obvious that British monarchs are involved in this case, give the full <code>George III of the United Kingdom</code> (e.g. [[Congo Free State]]). | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''year_leader1, year_leader2, ...''' || optional || free || label (free text with wikilinks) || Dates spanning rule of leader (e.g. 1801–1843). | |'''year_leader1, year_leader2, ...''' || optional || free || label (free text with wikilinks) || Dates spanning rule of leader (e.g. 1801–1843). | ||
*Note: If there was only one head of state, just fill in {{para||leader1}} but not {{para||year_leader1}}. It is also not intended here to list every head of state that ever was: if there were a lot of them, just list the first and the last. To assist this, each name could be followed by <code>(first)</code> and <code>(last)</code>, but then you will need to wikilink the name. | *Note: If there was only one head of state, just fill in {{para||leader1}} but not {{para||year_leader1}}. It is also not intended here to list every head of state that ever was: if there were a lot of them, just list the first and the last. To assist this, each name could be followed by <code>(first)</code> and <code>(last)</code>, but then you will need to wikilink the name. | ||
| − | |- | + | |- style="vertical-align:top;" |
| colspan=5 style="background-color: whitesmoke;" | Deputy, head of government, etc. | | colspan=5 style="background-color: whitesmoke;" | Deputy, head of government, etc. | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''title_deputy''' || optional || free || label (free text with wikilinks) || same as for the head of state. The only difference here is the default labels given: instead of "King" the default here is "Prime Minister" | |'''title_deputy''' || optional || free || label (free text with wikilinks) || same as for the head of state. The only difference here is the default labels given: instead of "King" the default here is "Prime Minister" | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''deputy1, deputy2, ...''' || optional || free || label (free text with wikilinks) || Deputy name. Wikilinks are generated automatically, but you should create wikilinked entries for people whose entry title is long | |'''deputy1, deputy2, ...''' || optional || free || label (free text with wikilinks) || Deputy name. Wikilinks are generated automatically, but you should create wikilinked entries for people whose entry title is long | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''year_deputy1, year_deputy2, ...''' || optional || free || label (free text with wikilinks) || Dates spanning rule of the deputy (e.g. 1801–1843). | |'''year_deputy1, year_deputy2, ...''' || optional || free || label (free text with wikilinks) || Dates spanning rule of the deputy (e.g. 1801–1843). | ||
| − | |- | + | |- style="vertical-align:top;" |
| colspan=5 style="background-color: whitesmoke;" | Legislatures and constitutions | | colspan=5 style="background-color: whitesmoke;" | Legislatures and constitutions | ||
| − | |- | + | |- style="vertical-align:top;" |
| '''legislature''' || optional || free || label (free text with wikilinks) || The name of the legislature (required to display upper and lower hoses) | | '''legislature''' || optional || free || label (free text with wikilinks) || The name of the legislature (required to display upper and lower hoses) | ||
| − | |- | + | |- style="vertical-align:top;" |
| '''house1, house2''' || optional || free || label (free text with wikilinks) || The names of upper and lower houses of the legislature | | '''house1, house2''' || optional || free || label (free text with wikilinks) || The names of upper and lower houses of the legislature | ||
| − | |- | + | |- style="vertical-align:top;" |
| '''type_house1, type_house2''' || optional || free || label (free text with wikilinks) || Ability to enter different labels than upper and lower houses | | '''type_house1, type_house2''' || optional || free || label (free text with wikilinks) || Ability to enter different labels than upper and lower houses | ||
|- | |- | ||
| Line 371: | Line 412: | ||
| style="background-color: whitesmoke;" | '''Values''' | | style="background-color: whitesmoke;" | '''Values''' | ||
| style="background-color: whitesmoke;" | '''Description''' | | style="background-color: whitesmoke;" | '''Description''' | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''capital'''|| required || free || entry (free text with wikilinks) || Capital city. No wikilinking necessary. If the name of the city has changed since this period, you may display the contemporary name, using [[WP:piped link]] to the modern name, i.e. <code><nowiki>[[</nowiki>''modern name''|''former name''<nowiki>]]</nowiki></code> | |'''capital'''|| required || free || entry (free text with wikilinks) || Capital city. No wikilinking necessary. If the name of the city has changed since this period, you may display the contemporary name, using [[WP:piped link]] to the modern name, i.e. <code><nowiki>[[</nowiki>''modern name''|''former name''<nowiki>]]</nowiki></code> | ||
| − | |- | + | |- style="vertical-align:top;" |
| − | |''' | + | |'''coordinates''' || optional || variable || coordinates || Geographical coordinates of capital city; use {{tl|Coord}}. |
| − | |- | + | |- style="vertical-align:top;" |
| − | |''' | + | |'''motto''' || optional || free || entry (free text with wikilinks) || Regional motto. If not in English, place the English translation last (after a line break). |
| − | |- | + | |- style="vertical-align:top;" |
| − | |''' | + | |'''anthem''' || optional || free || entry (free text with wikilinks) || Regional anthem. If not in English, place the English translation last (after a line break). |
| − | |- | + | |- style="vertical-align:top;" |
|'''political_subdiv''' || optional || free || entry (free text with wikilinks) || Political subdivisions. Add wikilinks if articles exist. | |'''political_subdiv''' || optional || free || entry (free text with wikilinks) || Political subdivisions. Add wikilinks if articles exist. | ||
| − | |- | + | |- style="vertical-align:top;" |
| − | |'''today''' || optional || free || entry (free text with wikilinks) || The modern countries to which this historic entity belongs today. | + | |'''today''' || optional || free || entry (free text with wikilinks) || The modern countries to which this historic entity belongs today. Do not use this parameter if there are more than four such countries. Flags should per [[MOS:INFOBOXFLAG]] not be added. |
|- | |- | ||
| colspan=5 style="background-color: orange;" | | | colspan=5 style="background-color: orange;" | | ||
| Line 395: | Line 436: | ||
|- | |- | ||
| colspan=5 style="background-color: whitesmoke;" | '''Start and end''' | | colspan=5 style="background-color: whitesmoke;" | '''Start and end''' | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''year_start''', '''year_end''' || required || variable || year || Years of establishment and disestablishment. These years will be placed in the date bar at the top. If the values given are the same year, only one year will be displayed, but you must still enter both. Do not wikilink these years. The years given here are automatically used to assign this entity to establishment/disestablishment categories. | |'''year_start''', '''year_end''' || required || variable || year || Years of establishment and disestablishment. These years will be placed in the date bar at the top. If the values given are the same year, only one year will be displayed, but you must still enter both. Do not wikilink these years. The years given here are automatically used to assign this entity to establishment/disestablishment categories. | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''date_start''', '''date_end''' || optional || variable || date || Give the day and month (if known) to match {{para||year_start}} and {{para||year_end}}. Do not wikilink these dates. The {{para||year_start}} and {{para||year_end}} fields ''must'' be filled in.) | |'''date_start''', '''date_end''' || optional || variable || date || Give the day and month (if known) to match {{para||year_start}} and {{para||year_end}}. Do not wikilink these dates. The {{para||year_start}} and {{para||year_end}} fields ''must'' be filled in.) | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''event_start''', '''event_end''' || optional || free || label (free text with wikilinks) || Entering the information for the above four variables (or just the year variables) will create entries in the History section of the infobox. If nothing is given for {{para||event_start}} or {{para||event_end}}, the "events" will have the corresponding default text of "Established" and "Disestablished", respectively. The variables {{para||event_start}} and {{para||event_end}} allow you to give more detail. If the value you enter is the name of an article, the wikilink is automatically generated. You are encouraged to link to the article that describes the actual event which caused the formation/dissolution of the entity, if such articles exist. To keep the infobox tidy, create a wikilink to the event article if the title of the linked article is long (e.g. <code><nowiki>[[Berlin conference|Established]]</nowiki></code>). You are discouraged from simply entering something like <code>Declaration</code> or <code>Proclamation</code> in these fields, because there are general articles with this title. | |'''event_start''', '''event_end''' || optional || free || label (free text with wikilinks) || Entering the information for the above four variables (or just the year variables) will create entries in the History section of the infobox. If nothing is given for {{para||event_start}} or {{para||event_end}}, the "events" will have the corresponding default text of "Established" and "Disestablished", respectively. The variables {{para||event_start}} and {{para||event_end}} allow you to give more detail. If the value you enter is the name of an article, the wikilink is automatically generated. You are encouraged to link to the article that describes the actual event which caused the formation/dissolution of the entity, if such articles exist. To keep the infobox tidy, create a wikilink to the event article if the title of the linked article is long (e.g. <code><nowiki>[[Berlin conference|Established]]</nowiki></code>). You are discouraged from simply entering something like <code>Declaration</code> or <code>Proclamation</code> in these fields, because there are general articles with this title. | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''life_span''' || optional || free || label (free text with wikilinks) || Some entities temporarily ceased to exist before re-establishing. Use this variable only for these entities to replace the displayed dates in the date bar. Give [[WP:Linking|unlinked]] dates with line breaks. (e.g. <nowiki>1841–1899<br>1910–1967</nowiki>). You still need to fill in the {{para||year_start}} and {{para||year_end}} fields (in this example, {{para|year_start|1841}} and {{para|year_end|1967}}) for the above-described functions to work. | |'''life_span''' || optional || free || label (free text with wikilinks) || Some entities temporarily ceased to exist before re-establishing. Use this variable only for these entities to replace the displayed dates in the date bar. Give [[WP:Linking|unlinked]] dates with line breaks. (e.g. <nowiki>1841–1899<br>1910–1967</nowiki>). You still need to fill in the {{para||year_start}} and {{para||year_end}} fields (in this example, {{para|year_start|1841}} and {{para|year_end|1967}}) for the above-described functions to work. | ||
|- | |- | ||
| colspan=5 style="background-color: whitesmoke;" | '''Events''' | | colspan=5 style="background-color: whitesmoke;" | '''Events''' | ||
| − | |- | + | |- style="vertical-align:top;" |
| '''era''' || optional || variable || | | '''era''' || optional || variable || | ||
*Napoleonic Wars | *Napoleonic Wars | ||
| Line 412: | Line 453: | ||
*Cold War | *Cold War | ||
| A category-assigning variable. If the value given here does not match any on the list in [[Template:Infobox former country/Categories|this table]], this article will be automatically assigned to a maintenance-category. Do not panic. If a certain {{para||era}} value is used often enough, a new category will be created by the infobox developers. | | A category-assigning variable. If the value given here does not match any on the list in [[Template:Infobox former country/Categories|this table]], this article will be automatically assigned to a maintenance-category. Do not panic. If a certain {{para||era}} value is used often enough, a new category will be created by the infobox developers. | ||
| − | |- | + | |- style="vertical-align:top;" |
| '''event1/date_event1, event2/date_event2, ...''' || optional || free || label (free text with wikilinks) || Intermediate events. These will be listed in the History section between the start and end events. The event variables here function the same way as the {{para||event_start}}/{{para||event_end}} variables. Enter date as unlinked text (e.g. <code>3 August 1789</code>). | | '''event1/date_event1, event2/date_event2, ...''' || optional || free || label (free text with wikilinks) || Intermediate events. These will be listed in the History section between the start and end events. The event variables here function the same way as the {{para||event_start}}/{{para||event_end}} variables. Enter date as unlinked text (e.g. <code>3 August 1789</code>). | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''event_pre/date_pre, event_post/date_post'''|| ''testing'' || free || label (free text with wikilinks) || Sometimes, events that take place outside the life-span of the entity are important, these two variables will place an event before {{para||event_start}} (pre) or after {{para||event_end}} (post) in the History box. | |'''event_pre/date_pre, event_post/date_post'''|| ''testing'' || free || label (free text with wikilinks) || Sometimes, events that take place outside the life-span of the entity are important, these two variables will place an event before {{para||event_start}} (pre) or after {{para||event_end}} (post) in the History box. | ||
|- | |- | ||
| Line 430: | Line 471: | ||
|- | |- | ||
| colspan=5 style="background-color: whitesmoke;" | '''Flag''' | | colspan=5 style="background-color: whitesmoke;" | '''Flag''' | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''image_flag''' || optional || wikilink || file name || The name of the flag image (no <code>Image:</code> coding needed) | |'''image_flag''' || optional || wikilink || file name || The name of the flag image (no <code>Image:</code> coding needed) | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''image_border''' || optional || yes/no || <code>no</code> || Set to <code>no</code> to turn off border around non-rectangular flags, e.g. [[:File:Flag of Ohio.svg]]. | |'''image_border''' || optional || yes/no || <code>no</code> || Set to <code>no</code> to turn off border around non-rectangular flags, e.g. [[:File:Flag of Ohio.svg]]. | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''flag_type'''|| optional || free || flag name || Displayed text under flag image. Useful if more than one flag was used (e.g. <code>Third flag of the Confederacy</code>) or if the flag wasn't actually called a flag (e.g. <code>Banner</code>). Default: "Flag" | |'''flag_type'''|| optional || free || flag name || Displayed text under flag image. Useful if more than one flag was used (e.g. <code>Third flag of the Confederacy</code>) or if the flag wasn't actually called a flag (e.g. <code>Banner</code>). Default: "Flag" | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''flag''' || optional || wikilink || || link target for text under the flag image. By default, it will link to "Flag of (the) <var>{common_name}</var>" if such an article exists. | |'''flag''' || optional || wikilink || || link target for text under the flag image. By default, it will link to "Flag of (the) <var>{common_name}</var>" if such an article exists. | ||
|- | |- | ||
| colspan=5 style="background-color: whitesmoke;" | '''Heraldry''' | | colspan=5 style="background-color: whitesmoke;" | '''Heraldry''' | ||
| − | |- | + | |- style="vertical-align:top;" |
| '''image_coat''' || optional || wikilink || file name || The name of the coat of arms image (no <code>Image:</code> coding needed) | | '''image_coat''' || optional || wikilink || file name || The name of the coat of arms image (no <code>Image:</code> coding needed) | ||
| − | |- | + | |- style="vertical-align:top;" |
| '''symbol_type''' || optional || free || symbol name || Displayed text under coat of arms image. Useful if more than one coat of arms was used or if it wasn't actually called a coat of arms (e.g. <code>Emblem</code>). Default: "Coat of arms" | | '''symbol_type''' || optional || free || symbol name || Displayed text under coat of arms image. Useful if more than one coat of arms was used or if it wasn't actually called a coat of arms (e.g. <code>Emblem</code>). Default: "Coat of arms" | ||
| − | |- | + | |- style="vertical-align:top;" |
| '''symbol''' || optional || wikilink || || link target for text under the coat of arms image. By default, it will link to "Coat of arms of (the) <var>{common_name}</var>" if such an article exists. | | '''symbol''' || optional || wikilink || || link target for text under the coat of arms image. By default, it will link to "Coat of arms of (the) <var>{common_name}</var>" if such an article exists. | ||
|- | |- | ||
| colspan=5 style="background-color: whitesmoke;" | '''Map''' | | colspan=5 style="background-color: whitesmoke;" | '''Map''' | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''image_map''' || optional || wikilink || file name || The name of the map image (no <code>Image:</code> coding needed) | |'''image_map''' || optional || wikilink || file name || The name of the map image (no <code>Image:</code> coding needed) | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''image_map_caption''' || optional || free || sentence (free text with wikilinks) || Map caption | |'''image_map_caption''' || optional || free || sentence (free text with wikilinks) || Map caption | ||
|- | |- | ||
| Line 464: | Line 505: | ||
| style="background-color: whitesmoke;" | '''Values''' | | style="background-color: whitesmoke;" | '''Values''' | ||
| style="background-color: whitesmoke;" | '''Description''' | | style="background-color: whitesmoke;" | '''Description''' | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''p1''' – '''p5''' || optional || wikilink || country name || Names of preceding entities (up to 5) | |'''p1''' – '''p5''' || optional || wikilink || country name || Names of preceding entities (up to 5) | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''s1''' – '''s8''' || optional || wikilink || country name || Names of succeeding entities (up to 8) | |'''s1''' – '''s8''' || optional || wikilink || country name || Names of succeeding entities (up to 8) | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''flag_p1, flag_p2, ...''' || optional || wikilink || file name || Name of image of flag for the state corresponding to {{para||p1}}, {{para||p2}}, etc. (just the name, no <code>Image:</code> coding). If the preceding state had multiple flags during its existence, use the ''last'' flag that it used. The template is instructed to search for possible flag images given the name of the state, so it might not be necessary to fill in this field. If a flag is not found or defined, the default "flag unknown" image will be shown. | |'''flag_p1, flag_p2, ...''' || optional || wikilink || file name || Name of image of flag for the state corresponding to {{para||p1}}, {{para||p2}}, etc. (just the name, no <code>Image:</code> coding). If the preceding state had multiple flags during its existence, use the ''last'' flag that it used. The template is instructed to search for possible flag images given the name of the state, so it might not be necessary to fill in this field. If a flag is not found or defined, the default "flag unknown" image will be shown. | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''border_p1, border_p2, ...''' || optional || yes/no || <code>no</code> || Set to <code>no</code> to turn off border around non-rectangular flags, e.g. [[:File:Flag of Ohio.svg]]. | |'''border_p1, border_p2, ...''' || optional || yes/no || <code>no</code> || Set to <code>no</code> to turn off border around non-rectangular flags, e.g. [[:File:Flag of Ohio.svg]]. | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''flag_s1, flag_s2, ...''' || optional || wikilink || file name || Name of image of flag for the state corresponding to {{para||s1}}, {{para||s2}}, etc. (just the name, no <code>Image:</code> coding), same as the flags for previous states. If the succeeding state had multiple flags during its existence, use the ''first'' flag that it used. | |'''flag_s1, flag_s2, ...''' || optional || wikilink || file name || Name of image of flag for the state corresponding to {{para||s1}}, {{para||s2}}, etc. (just the name, no <code>Image:</code> coding), same as the flags for previous states. If the succeeding state had multiple flags during its existence, use the ''first'' flag that it used. | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''border_s1, border_s2, ...''' || optional || yes/no || <code>no</code> || Set to <code>no</code> to turn off border around non-rectangular flags, e.g. [[:File:Flag of Ohio.svg]]. | |'''border_s1, border_s2, ...''' || optional || yes/no || <code>no</code> || Set to <code>no</code> to turn off border around non-rectangular flags, e.g. [[:File:Flag of Ohio.svg]]. | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''image_p1,image_s1, ...''' || optional || wikilink || file name || Going further back in history, flags were less common and coats of arms were used instead. Coat of arms images are generally narrower than flag images, so if coat of arms images are displayed at the defined image size used here for flags (i.e. <code>width=30px</code>), they appear too big. Therefore, if you have anything other than a flag/banner image to use for a previous/following entity, fill in this field. Here you must enter all wikilinking as normally done when entering an image, but set the image width to <code>20px</code> (or higher, depending on the individual image). | |'''image_p1,image_s1, ...''' || optional || wikilink || file name || Going further back in history, flags were less common and coats of arms were used instead. Coat of arms images are generally narrower than flag images, so if coat of arms images are displayed at the defined image size used here for flags (i.e. <code>width=30px</code>), they appear too big. Therefore, if you have anything other than a flag/banner image to use for a previous/following entity, fill in this field. Here you must enter all wikilinking as normally done when entering an image, but set the image width to <code>20px</code> (or higher, depending on the individual image). | ||
|- | |- | ||
| Line 504: | Line 545: | ||
| style="background-color: whitesmoke;" | '''Values''' | | style="background-color: whitesmoke;" | '''Values''' | ||
| style="background-color: whitesmoke;" | '''Description''' | | style="background-color: whitesmoke;" | '''Description''' | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''stat_year1, stat_year2, ...'''|| optional (required if area or population is given) || variable || numerical || rowspan=3 | It is possible to add multiple values for area and population over time. | |'''stat_year1, stat_year2, ...'''|| optional (required if area or population is given) || variable || numerical || rowspan=3 | It is possible to add multiple values for area and population over time. | ||
*Area must be given in km² without commas or any other spacing. The area in sq. mi. will be automatically calculated. | *Area must be given in km² without commas or any other spacing. The area in sq. mi. will be automatically calculated. | ||
| Line 510: | Line 551: | ||
*Even if the area does not change over time, it should always be added along with any new population values in order to calculate density. | *Even if the area does not change over time, it should always be added along with any new population values in order to calculate density. | ||
**''Example:'' You have population values for 1800 and 1900. You also have an area value and you know that it is the same for both years. You enter {{para|stat_year1|1800}} and {{para|stat_year2|1900}} and the two population values (without commas or spacing) under {{para||stat_pop1}} and {{para||stat_pop2}}. You then enter your area value (in km², without commas or spacing) in both {{para||stat_area1}} and {{para||stat_area2}}. The area will not be displayed twice, but the population density will be calculated for both years. | **''Example:'' You have population values for 1800 and 1900. You also have an area value and you know that it is the same for both years. You enter {{para|stat_year1|1800}} and {{para|stat_year2|1900}} and the two population values (without commas or spacing) under {{para||stat_pop1}} and {{para||stat_pop2}}. You then enter your area value (in km², without commas or spacing) in both {{para||stat_area1}} and {{para||stat_area2}}. The area will not be displayed twice, but the population density will be calculated for both years. | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''stat_area1, stat_area2, ...'''|| optional || variable || numerical | |'''stat_area1, stat_area2, ...'''|| optional || variable || numerical | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''stat_pop1, stat_pop2, ...'''|| optional || variable || numerical | |'''stat_pop1, stat_pop2, ...'''|| optional || variable || numerical | ||
|- | |- | ||
| Line 524: | Line 565: | ||
| style="background-color: whitesmoke;" | '''Values''' | | style="background-color: whitesmoke;" | '''Values''' | ||
| style="background-color: whitesmoke;" | '''Description''' | | style="background-color: whitesmoke;" | '''Description''' | ||
| − | |- | + | |- style="vertical-align:top;" |
|'''footnotes''' || optional || free || sentence (free text with wikilinks) || A standard field for footnotes. Use footnotes if there is anything in the infobox that requires further explanation. Supports wikilinks | |'''footnotes''' || optional || free || sentence (free text with wikilinks) || A standard field for footnotes. Use footnotes if there is anything in the infobox that requires further explanation. Supports wikilinks | ||
|} | |} | ||
| Line 557: | Line 598: | ||
The properties are separated by semicolons (;), and beware that accidentally omitting semicolons will cause the settings to be ignored. Some style properties cannot be changed such as, setting {{para|titlestyle|margin-left:25px}} might be ignored, because <code>margin-left</code> is a property, instead, of the whole box, using {{para||boxstyle}}. | The properties are separated by semicolons (;), and beware that accidentally omitting semicolons will cause the settings to be ignored. Some style properties cannot be changed such as, setting {{para|titlestyle|margin-left:25px}} might be ignored, because <code>margin-left</code> is a property, instead, of the whole box, using {{para||boxstyle}}. | ||
| + | |||
| + | ===Establishment dates=== | ||
| + | *First the template tests to see if "Category:States and territories established in the {{{year_start}}}" exists. If so, it is added. | ||
| + | *If not, the template tests to see if "Category:States and territories established in {{{year_start}}}" exists. If so, it is added. | ||
| + | *If not, the template tests to see if "Category:States and territories established in the DECADEs" where DECADE is the decade containing {{{year_start}}} (e.g. {{cl|States and territories established in the 110s}}). If so, it is added. | ||
| + | *If not, the template tests to see if "Category:States and territories established in the Nth century" where N is the century containing {{{year_start}}} (e.g. {{cl|States and territories established in the 1st century BC}}). If so, it is added. | ||
| + | |||
| + | The reason for the first case is in case an imprecise date is entered, such as "the 820s" or "the 18th century", before trying exact dates like "1820". | ||
| + | |||
| + | === Disestablishment dates === | ||
| + | *First the template tests to see if "Category:States and territories disestablished in the {{{year_end}}}" exists. If so, it is added. | ||
| + | *If not, the template tests to see if "Category:States and territories disestablished in {{{year_end}}}" exists. If so, it is added. | ||
| + | *If not, the template tests to see if "Category:States and territories disestablished in the DECADEs" where DECADE is the decade containing {{{year_end}}} (e.g. {{cl|States and territories disestablished in the 530s}}). If so, it is added. | ||
| + | *If not, the template tests to see if "Category:States and territories disestablished in the Nth century" where N is the century containing {{{year_end}}} (e.g. {{cl|States and territories disestablished in the 1st century BC}}). If so, it is added. | ||
| + | |||
| + | The reason for the first case is in case an imprecise date is entered, such as "the 820s" or "the 18th century", before trying exact dates like "1820". | ||
=== Banner === | === Banner === | ||
To allow [[WP:WikiProject Former countries/Members|project members]] to keep track of articles, any page that uses this infobox '''must''' be labeled with the WPFC banner. To do this, go to the article's talk page, and add <code><nowiki>{{WPFC}}</nowiki></code> to the top of the talk page, if the banner is not there already. See the [[Template:WikiProject Former countries|banner page]] for more information about the extra parameters that the banner supports. At the absolute minimum, the talk page should contain <code><nowiki>{{WPFC}}</nowiki></code>. | To allow [[WP:WikiProject Former countries/Members|project members]] to keep track of articles, any page that uses this infobox '''must''' be labeled with the WPFC banner. To do this, go to the article's talk page, and add <code><nowiki>{{WPFC}}</nowiki></code> to the top of the talk page, if the banner is not there already. See the [[Template:WikiProject Former countries|banner page]] for more information about the extra parameters that the banner supports. At the absolute minimum, the talk page should contain <code><nowiki>{{WPFC}}</nowiki></code>. | ||
| − | <includeonly> | + | == Tracking category == |
| − | <!-- | + | * {{clc|Pages using infobox former subdivision with unknown parameters}} |
| + | * {{clc|Former country articles requiring maintenance}} | ||
| + | |||
| + | ==TemplateData== | ||
| + | {{collapse top|title=TemplateData|bg=#ccc}} | ||
| + | {{TemplateData header}} | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "native_name": { | ||
| + | "label": "Native name", | ||
| + | "description": "Name in the native language", | ||
| + | "example": "{{lang|zh|上海公共租界}}", | ||
| + | "type": "wiki-template-name", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "conventional_long_name": { | ||
| + | "label": "Conventional long name", | ||
| + | "description": "Convention long form English name of the former subdivision", | ||
| + | "example": "Xikang Province", | ||
| + | "type": "line" | ||
| + | }, | ||
| + | "common_name": { | ||
| + | "label": "Common name", | ||
| + | "description": "The name the region is commonly called, in English", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | }, | ||
| + | "demonym": { | ||
| + | "label": "Demonym", | ||
| + | "description": "The name applied to people who lived there", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "government_type": { | ||
| + | "label": "Government type", | ||
| + | "example": "Parliamentary democracy", | ||
| + | "type": "line", | ||
| + | "description": "Type of government the region had" | ||
| + | }, | ||
| + | "era": { | ||
| + | "label": "Historical era", | ||
| + | "example": "[[20th century]]", | ||
| + | "type": "unbalanced-wikitext" | ||
| + | }, | ||
| + | "year_start": { | ||
| + | "label": "Year founded", | ||
| + | "description": "Year the subdivision was founded", | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "year_end": { | ||
| + | "label": "Year dissolved", | ||
| + | "description": "Year the subdivision was dissolved, abolished or other transition occurred", | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "event_start": {}, | ||
| + | "date_start": { | ||
| + | "type": "date" | ||
| + | }, | ||
| + | "event_end": {}, | ||
| + | "date_end": { | ||
| + | "type": "date" | ||
| + | }, | ||
| + | "event1": {}, | ||
| + | "date_event1": { | ||
| + | "type": "date" | ||
| + | }, | ||
| + | "event_pre": {}, | ||
| + | "date_pre": { | ||
| + | "type": "date" | ||
| + | }, | ||
| + | "event_post": {}, | ||
| + | "date_post": { | ||
| + | "type": "date" | ||
| + | }, | ||
| + | "p1": {}, | ||
| + | "s1": {}, | ||
| + | "flag_type": { | ||
| + | "label": "flag type", | ||
| + | "type": "line" | ||
| + | }, | ||
| + | "symbol_type": {}, | ||
| + | "image_map_caption": {}, | ||
| + | "capital": { | ||
| + | "label": "Capital", | ||
| + | "description": "Settlement that served as the region's capital", | ||
| + | "example": "Jamestown", | ||
| + | "type": "line", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "motto": { | ||
| + | "label": "regional motto", | ||
| + | "type": "line" | ||
| + | }, | ||
| + | "anthem": { | ||
| + | "label": "regional anthem", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "political_subdiv": {}, | ||
| + | "today": { | ||
| + | "label": "Today part of", | ||
| + | "description": "Contemporary country/s the former subdivision is part of (with {{Flag}})", | ||
| + | "example": "{{Flag|People's Republic of China|name=China}}<br />{{flag|India}}", | ||
| + | "type": "line", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "leader1": { | ||
| + | "type": "line" | ||
| + | }, | ||
| + | "year_leader1": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "deputy1": {}, | ||
| + | "year_deputy1": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "legislature": { | ||
| + | "label": "Legislature", | ||
| + | "example": "Name and link to the legislature of the former subdivsion", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "house1": {}, | ||
| + | "house2": {}, | ||
| + | "footnotes": {}, | ||
| + | "width": {}, | ||
| + | "_noautocat": {}, | ||
| + | "native_name_lang": { | ||
| + | "label": "native name's language", | ||
| + | "example": "French", | ||
| + | "type": "line" | ||
| + | }, | ||
| + | "status_text": { | ||
| + | "type": "line" | ||
| + | }, | ||
| + | "nation": { | ||
| + | "type": "line" | ||
| + | }, | ||
| + | "subdivision": {}, | ||
| + | "p5": {}, | ||
| + | "flag_p1": {}, | ||
| + | "border_p1": {}, | ||
| + | "image_p1": {}, | ||
| + | "p2": {}, | ||
| + | "flag_p2": {}, | ||
| + | "border_p2": {}, | ||
| + | "image_p2": {}, | ||
| + | "p3": {}, | ||
| + | "flag_p3": {}, | ||
| + | "border_p3": {}, | ||
| + | "image_p3": {}, | ||
| + | "p4": {}, | ||
| + | "flag_p4": {}, | ||
| + | "border_p4": {}, | ||
| + | "image_p4": {}, | ||
| + | "flag_p5": {}, | ||
| + | "border_p5": {}, | ||
| + | "image_p5": {}, | ||
| + | "life_span": {}, | ||
| + | "s8": {}, | ||
| + | "flag_s1": {}, | ||
| + | "border_s1": {}, | ||
| + | "image_s1": {}, | ||
| + | "s2": {}, | ||
| + | "flag_s2": {}, | ||
| + | "border_s2": {}, | ||
| + | "image_s2": {}, | ||
| + | "s3": {}, | ||
| + | "flag_s3": {}, | ||
| + | "border_s3": {}, | ||
| + | "image_s3": {}, | ||
| + | "s4": {}, | ||
| + | "flag_s4": {}, | ||
| + | "border_s4": {}, | ||
| + | "image_s4": {}, | ||
| + | "s5": {}, | ||
| + | "flag_s5": {}, | ||
| + | "border_s5": {}, | ||
| + | "image_s5": {}, | ||
| + | "s6": {}, | ||
| + | "flag_s6": {}, | ||
| + | "border_s6": {}, | ||
| + | "image_s6": {}, | ||
| + | "s7": {}, | ||
| + | "flag_s7": {}, | ||
| + | "border_s7": {}, | ||
| + | "image_s7": {}, | ||
| + | "flag_s8": {}, | ||
| + | "border_s8": {}, | ||
| + | "image_s8": {}, | ||
| + | "image_flag": { | ||
| + | "type": "wiki-file-name" | ||
| + | }, | ||
| + | "image_coat": {}, | ||
| + | "flag_caption": {}, | ||
| + | "flag": { | ||
| + | "type": "wiki-file-name" | ||
| + | }, | ||
| + | "symbol": {}, | ||
| + | "image_border": {}, | ||
| + | "image_map": {}, | ||
| + | "image_map_size": {}, | ||
| + | "image_map2": {}, | ||
| + | "image_map2_size": {}, | ||
| + | "image_map2_caption": {}, | ||
| + | "coordinates": { | ||
| + | "type": "content", | ||
| + | "description": "coordinates of the region, in {{coord}} format with display=inline,title" | ||
| + | }, | ||
| + | "title_leader": {}, | ||
| + | "title_deputy": {}, | ||
| + | "leader2": {}, | ||
| + | "leader3": {}, | ||
| + | "year_leader2": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "leader4": {}, | ||
| + | "year_leader3": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "leader5": {}, | ||
| + | "year_leader4": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "leader6": {}, | ||
| + | "year_leader5": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "year_leader6": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "deputy2": {}, | ||
| + | "deputy3": {}, | ||
| + | "year_deputy2": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "deputy4": {}, | ||
| + | "year_deputy3": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "deputy5": {}, | ||
| + | "year_deputy4": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "deputy6": {}, | ||
| + | "year_deputy5": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "year_deputy6": {}, | ||
| + | "type_house1": {}, | ||
| + | "type_house2": {}, | ||
| + | "year_pre": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "year_event1": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "event2": {}, | ||
| + | "year_event2": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "date_event2": { | ||
| + | "type": "date" | ||
| + | }, | ||
| + | "event3": {}, | ||
| + | "year_event3": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "date_event3": { | ||
| + | "type": "date" | ||
| + | }, | ||
| + | "event4": {}, | ||
| + | "year_event4": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "date_event4": { | ||
| + | "type": "date" | ||
| + | }, | ||
| + | "event5": {}, | ||
| + | "year_event5": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "date_event5": {}, | ||
| + | "year_post": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "stat_year1": {}, | ||
| + | "stat_area1": {}, | ||
| + | "stat_area2": {}, | ||
| + | "stat_area3": {}, | ||
| + | "stat_area4": {}, | ||
| + | "stat_area5": {}, | ||
| + | "ref_area1": {}, | ||
| + | "stat_year2": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "stat_year3": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "stat_year4": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "stat_year5": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "stat_pop1": {}, | ||
| + | "stat_pop2": {}, | ||
| + | "stat_pop3": {}, | ||
| + | "stat_pop4": {}, | ||
| + | "stat_pop5": {}, | ||
| + | "ref_pop1": {}, | ||
| + | "pn1": {}, | ||
| + | "sn1": {}, | ||
| + | "p6": {}, | ||
| + | "p7": {}, | ||
| + | "p8": {}, | ||
| + | "p9": {}, | ||
| + | "p10": {}, | ||
| + | "p11": {}, | ||
| + | "p12": {}, | ||
| + | "s9": {}, | ||
| + | "s10": {}, | ||
| + | "s11": {}, | ||
| + | "s12": {}, | ||
| + | "area1": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "population_estimate1": { | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "preceding_entity1": {}, | ||
| + | "succeeding_entity1": {}, | ||
| + | "child": {}, | ||
| + | "nocat_wdimage": {} | ||
| + | } | ||
| + | } | ||
| + | </templatedata> | ||
| + | {{collapse bottom}} | ||
| + | |||
| + | <includeonly>{{sandbox other|| | ||
| + | <!--Categories below this line, please; interwikis at Wikidata--> | ||
| + | [[Category:Country subdivision infobox templates| ]] | ||
[[Category:WikiProject Former countries|Infobox Former Subdivision]] | [[Category:WikiProject Former countries|Infobox Former Subdivision]] | ||
| − | [[Category: | + | [[Category:Templates that add a tracking category]] |
| − | + | }}</includeonly> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | </includeonly> | ||
Latest revision as of 22:24, 9 July 2020
| 40px | This is a documentation subpage for Template:Infobox former subdivision. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
| {{{conventional_long_name}}} {{{native_name}}} | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Script error: No such module "If empty". | |||||||||
| {{{year_start}}}–{{{year_end}}} | |||||||||
{{{flag_type}}}
Script error: No such module "If empty".
{{{symbol_type}}}
| |||||||||
| File:Missing map.svg {{{image_map_caption}}} | |||||||||
| Anthem | |||||||||
| Script error: No such module "If empty". | |||||||||
| Capital | {{{capital}}} | ||||||||
| Demonym | {{{demonym}}} | ||||||||
| Government | |||||||||
| • Type | {{{government_type}}} | ||||||||
| • Motto | Script error: No such module "If empty". | ||||||||
| President | |||||||||
• {{{year_leader1}}} | {{{leader1}}} | ||||||||
| Prime minister | |||||||||
• {{{year_deputy1}}} | {{{deputy1}}} | ||||||||
| Legislature | {{{legislature}}} | ||||||||
• Upper house | {{{house1}}} | ||||||||
• Lower house | {{{house2}}} | ||||||||
| Historical era | {{{era}}} | ||||||||
• {{{event_pre}}} | {{{date_pre}}} | ||||||||
• Script error: No such module "If empty". | {{{date_start}}} {{{year_start}}} | ||||||||
• {{{event1}}} | {{{date_event1}}} | ||||||||
• Script error: No such module "If empty". | {{{date_end}}} {{{year_end}}} | ||||||||
• {{{event_post}}} | {{{date_post}}} | ||||||||
| Political subdivisions | {{{political_subdiv}}} | ||||||||
| |||||||||
| Today part of | {{{today}}} | ||||||||
| {{{footnotes}}} | |||||||||
This infobox is part of WikiProject Former countries run by the Subdivisions bureau. It is based on Template:Infobox former country adjusted to suit subdivisions of former countries.
NOTE: This infobox should be used if the state in question was always a subdivision of some larger entity. For all other cases, use {{Infobox former country}} to place articles into various "Former countries" categories that would not be suitable for subdivisions of former countries.
Exception: states of the Holy Roman Empire should also use {{Infobox former country}} with |empire=HRE + |status=vassal, |status=city or |status=abbey, depending on the state type.
Contents
Notes
- Many variables concern generated categories. When categories are discussed below, it is referring to this list of currently supported categories.
- This is a rather complicated template, and should be used with care to ensure functionality. Note that most fields are optional for the infobox to function correctly. If you are unsure about anything, just skip all the optional fields and ask a developer for help.
- Anyone is welcome to use the infobox. But since it is still under construction, developers may make changes to your work. This is nothing personal. Normally this is for functionality reasons, sometimes it is to test new features of the infobox.
- Some variables below may be marked as test variables. Use these with caution and remember that these variables may be changed or deleted without notice.
- Certain historical entities may inspire heated debate among some people. Neutrality and sensitivity are required when implementing this infobox.
- If you are unsure about the usage of this template, or you have any suggestions for modifications to the infobox, or if you want to know why a certain modification was made, please contact a developer or leave a comment at the talk page. Your comments and questions assist the developers in creating, improving and documenting infobox features. Your comments and questions assist the developers in creating, improving and documenting infobox features.
This infobox is under constant development. For many entries, the infobox has been implemented by one of the main developers. Other users are welcome to implement the infobox themselves, but developers might make modifications later on largely for functionality reasons.
The main developers are:
- 52 Pickup (talk)
- Domino theory (talk)
- MJCdetroit (talk)
Usage
- Almost all fields are optional, some fields are more optional than others. It is not expected that you fill in every single field that is shown here.
- Some fields are hidden but necessary for infobox functionality. Not all fields are displayed here.
- If a state has a high number of leaders (>5), do not modify this template to fit them all in. It is not the intention of this infobox to do them all; that makes the infobox way too big (any extra slots added here without previous discussion will be reverted). Instead, list only the first and last title holder, with
(first)or(last)placed after the person's name. - Some fields place the article into certain categories: see list of supported categories.
- Area (in km²) and population statistics must be given without spaces, commas, or other code.
- Keep event text as short as possible, ideally only 1 line in length.
- For many entries, the infobox has been implemented by one of the main developers. Other users are welcome to implement the infobox themselves, but developers might make modifications later on, largely for functionality reasons.
- If you are unsure about the usage of this template, or if you want to know why a certain modification was made, let us know via the template talk page. Your comments and questions assist the developers in creating, improving, and documenting infobox features.
{{Infobox former subdivision
|_noautocat = <!-- "no" for no automatic categorization -->
|native_name = <!-- Name in native language(s). Leave blank if name is only in English. Separate with line breaks<br> If language uses Latin characters, place name(s) in italics. -->
|conventional_long_name = <!-- Full name in English -->
|common_name = <!-- Used to resolve location within categories and name of flags and coat of arms -->
|subdivision = <!-- Status: see Category list on template page -->
|nation = <!-- The empire or country to which the entity was in a state of dependency -->
|demonym = <!-- The name of the group of people residing there -->
|status_text = <!-- A free text to describe status the top of the infobox. Use sparingly. -->
|government_type = <!-- To generate categories: "Monarchy", "Republic", etc. to generate categories -->
<!-- Titles and names of the first and last leaders and their deputies -->
|title_leader = <!-- Default: "King" for monarchy, otherwise leave blank for default "President" -->
|title_deputy = <!-- Default: "Prime minister" -->
|leader1 = <!-- Name of leader (up to six) -->
|year_leader1 = <!-- Years served -->
|deputy1 = <!-- Name of prime minister (up to six) -->
|year_deputy1 = <!-- Years served -->
<!-- Legislature -->
|legislature = <!-- Name of legislature -->
|house1 = <!-- Name of first chamber -->
|house2 = <!-- Name of second chamber -->
|type_house1 = <!-- Default: "Upper house" -->
|type_house2 = <!-- Default: "Lower house" -->
<!-- General information -->
|capital =
|coordinates = <!-- Use {{Coord}} -->
|motto = <!-- Accepts wikilinks -->
|anthem = <!-- Accepts wikilinks -->
|political_subdiv = <!-- Accepts wikilinks -->
|today = <!-- The countries to which this historic entity belongs today, if no more than four of these --><!-- Do NOT add flags, per MOS:INFOBOXFLAG -->
<!-- Rise and fall, events, years and dates -->
<!-- Only fill in the start/end event entry if a specific article exists. Don't just say "abolition" or "declaration". -->
|year_start = <!-- Year of establishment -->
|year_end = <!-- Year of disestablishment -->
|event_start = <!-- Default: "Established" -->
|date_start = <!-- Optional: Date of establishment-->
|event_end = <!-- Default: "Disestablished" -->
|date_end = <!-- Optional: Date of disestablishment -->
|event1 = <!-- Optional: other events between "start" and "end" -->
|date_event1 =
|event2 =
|date_event2 =
|event3 =
|date_event3 =
|event4 =
|date_event4 =
|event5 =
|date_event5 =
|life_span =
|era = <!-- Use: "Napoleonic Wars", "Cold War", etc. -->
|event_pre = <!-- Optional: A crucial event that took place before before "event_start" -->
|date_pre =
|event_post = <!-- Optional: A crucial event that took place before after "event_end" -->
|date_post =
<!-- Images -->
|image_flag = <!-- Default: Flag of {{{common_name}}}.svg -->
|image_border = <!-- Default: "border"; for non-rectangular flag, type "no" -->
|flag_type = <!-- Displayed text for link under flag. Default "Flag" -->
|flag = <!-- Link target under flag image. Default: Flag of {{{common_name}}} -->
|image_coat = <!-- Default: Coat of arms of {{{common_name}}}.svg -->
|symbol_type = <!-- Displayed text for link under symbol. Default "Coat of arms" -->
|symbol = <!-- Link target under symbol image. Default: Coat of arms of {{{common_name}}} -->
|image_map =
|image_map_caption =
<!-- Flag navigation: Preceding and succeeding entities "p1" to "p5" and "s1" to "s8" -->
|p1 = <!-- Name of the article for preceding entity, numbered 1–5 -->
|flag_p1 = <!-- Default: "Flag of {{{p1}}}.svg" (size 30) -->
|border_p1 = <!-- Default: "border"; for non-rectangular flag, type "no" -->
|image_p1 = <!-- Use: [[Image:Sin escudo.svg|20px|Image missing]] -->
|s1 = <!-- Name of the article for succeeding entity, numbered 1–8 -->
|flag_s1 = <!-- Default: "Flag of {{{s1}}}.svg" (size 30) -->
|border_s1 = <!-- Default: "border"; for non-rectangular flag, type "no" -->
|image_s1 = <!-- Use: [[Image:Sin escudo.svg|20px|Image missing]] -->
<!-- Area and population of a given year (up to 5) -->
|stat_year1 = <!-- year of the statistic, specify either area, population or both, numbered 1–5 -->
|stat_area1 = <!-- area in square kilometres (w/o commas or spaces), area in square miles is calculated -->
|stat_pop1 = <!-- population (w/o commas or spaces), population density is calculated if area is also given -->
| area_lost1 = Significant areas the territory lost
| lost_to1 = Where it transferred to
| area_lost_year1 = The year it happened
| area_gained1 = Significant areas the territory gained
| gained_from1 = Where it transferred from
| area_gained_year1 = The year it happened
<!-- Governance -->
| Status = The status(es) the unit held
| Government = The name of the local government
| government_type = The category/type of local government
| Arms = Coat of arms (display option 2)
| arms_caption =
| Civic = Civic seal, logo or other
| civic_caption =
| HQ = Headquarters
| CodeName = Reference code series name
| Code = Unique reference code for unit in the series
<!-- Subdivisions -->
| Divisions = The name of the subdivision type it had, for example parishes or wards
| DivisionsNames = The names of the subdivisions
| DivisionsMap = Map of the subdivisions
| divisions_map_caption =
<!-- Memberships -->
| membership_title1 = Type of unit it was part of
| membership1 = Name of the unit it was part of
| membership_title2 =
| membership2 =
| membership_title3 =
| membership3 =
| membership_title4 =
| membership4 =
| membership_title5 =
| membership5 =
|footnotes = <!-- Accepts wikilinks -->
}}
Detailed instructions
These are the fields of information in the Infobox former countries template with a set of instructions on how to use them. Here is a brief explanation on how to read the table:
- Field name
- the fields of information that carry information used by the template
- Usage
- required means that the template will not work properly if it is excluded
- optional means that the template will work properly without it, but available information should be entered to make it as complete as possible (actively excluding or deleting information is not endorsed just because it is called optional in this table)
- Type
- variable means that the template will only take fixed values; this can be dates, years, numerical or according to a defined list
- free means that the template will accept values given freely without having to adhere to the strict discipline required for variables
- wikilink means that a working wikilink must be entered either to an article or to the file name of an image
- Value
- examples or lists of values accepted by variables
- free text with wikilinks means that text and wikilinks can be entered freely without the kind of restrictions that applies to variables
- label is a short label typically fitting in a single line (no line break)
- entry is one or a few short labels separated by commas or line breaks (no more than a few lines)
- sentence is a short descriptive sentence (no more than a few lines)
- free text means that text can be entered, but wikilinks must not be used
- Description
- an instruction or a small guide how the particular field of information is used
Name | ||||
| Field Name | Usage | Type | Values | Description |
| native_name | optional | free | label (free text) | Name in native language(s), displayed towards the top of the infobox, underneath the full name in English. If there are multiple native languages, separate different names with line breaks. If the native language is English, leave this section blank and give the name in the next field. |
| conventional_long_name | optional | free | label (free text) | Full name in English, displayed at the top of the infobox. Default to page name. |
| common_name | required | variable | country name | This variable is a supporting variable for the infobox. The value required here is not always historically factual but this variable is very important as it has a number of important uses:
|
Status | ||||
| The entries here again determine category placement. For some values, related text will be displayed in a bar underneath the name. | ||||
| Field Name | Usage | Type | Values | Description |
| subdivision | required | variable |
|
|Subdivision describes the relationship between the political entity and other entities, whether colonies to an empire, the (colonial) empire itself, countries with special status by the League of Nations or the UN, etc.
|
| nation | required | variable | country name | Give the common name for the country to which the entity was in a state of dependency.
|
| status_text | optional | free | label (free text with wikilinks) | If values are given for |subdivision and |nation, it will be displayed by default as "[subdivision] of [(the) nation]". The |status_text variable allows you to display more specific or accurate text alternatives without compromising category assignment (e.g. "State of the [[Holy Roman Empire]]", "Client state of [[First French Empire|France]]").
|
Politics | ||||
| Field Name | Usage | Type | Values | Description |
| government_type | required | variable |
|
This entry generates more categories and sets some defaults for other political titles (see below). If the value given here does not match any in the following list, the article will be placed in the maintenance category for further examination. If a change in government takes place without the country itself changing, place the earlier government type in this field, and give the change in government as an intermediate event (e.g. |event1).
|
| Head of state | ||||
| title_leader | optional | free | label (free text with wikilinks) | the head of state's title. If |government_type=Monarchy or Constitutional monarchy, the default "King" will be displayed, which will link to "King of {common_name} if that article exists. If Republic or Federal republic is given, "President" will be used instead. If a different title is used, enter it here (but keep the length to a minimum) and wikilink it to the relevant article (if any).
|
| leader1, leader2, ... | optional | free | label (free text with wikilinks) | Leader name. Wikilinks are generated automatically, but you should create wikilinked entries for people whose entry title is long (this applies to almost all royalty).
|
| year_leader1, year_leader2, ... | optional | free | label (free text with wikilinks) | Dates spanning rule of leader (e.g. 1801–1843).
|
| Deputy, head of government, etc. | ||||
| title_deputy | optional | free | label (free text with wikilinks) | same as for the head of state. The only difference here is the default labels given: instead of "King" the default here is "Prime Minister" |
| deputy1, deputy2, ... | optional | free | label (free text with wikilinks) | Deputy name. Wikilinks are generated automatically, but you should create wikilinked entries for people whose entry title is long |
| year_deputy1, year_deputy2, ... | optional | free | label (free text with wikilinks) | Dates spanning rule of the deputy (e.g. 1801–1843). |
| Legislatures and constitutions | ||||
| legislature | optional | free | label (free text with wikilinks) | The name of the legislature (required to display upper and lower hoses) |
| house1, house2 | optional | free | label (free text with wikilinks) | The names of upper and lower houses of the legislature |
| type_house1, type_house2 | optional | free | label (free text with wikilinks) | Ability to enter different labels than upper and lower houses |
General information | ||||
| Field Name | Usage | Type | Values | Description |
| capital | required | free | entry (free text with wikilinks) | Capital city. No wikilinking necessary. If the name of the city has changed since this period, you may display the contemporary name, using WP:piped link to the modern name, i.e. [[modern name|former name]]
|
| coordinates | optional | variable | coordinates | Geographical coordinates of capital city; use {{Coord}}. |
| motto | optional | free | entry (free text with wikilinks) | Regional motto. If not in English, place the English translation last (after a line break). |
| anthem | optional | free | entry (free text with wikilinks) | Regional anthem. If not in English, place the English translation last (after a line break). |
| political_subdiv | optional | free | entry (free text with wikilinks) | Political subdivisions. Add wikilinks if articles exist. |
| today | optional | free | entry (free text with wikilinks) | The modern countries to which this historic entity belongs today. Do not use this parameter if there are more than four such countries. Flags should per MOS:INFOBOXFLAG not be added. |
History | ||||
| Field Name | Usage | Type | Values | Description |
| Start and end | ||||
| year_start, year_end | required | variable | year | Years of establishment and disestablishment. These years will be placed in the date bar at the top. If the values given are the same year, only one year will be displayed, but you must still enter both. Do not wikilink these years. The years given here are automatically used to assign this entity to establishment/disestablishment categories. |
| date_start, date_end | optional | variable | date | Give the day and month (if known) to match |year_start and |year_end. Do not wikilink these dates. The |year_start and |year_end fields must be filled in.)
|
| event_start, event_end | optional | free | label (free text with wikilinks) | Entering the information for the above four variables (or just the year variables) will create entries in the History section of the infobox. If nothing is given for |event_start or |event_end, the "events" will have the corresponding default text of "Established" and "Disestablished", respectively. The variables |event_start and |event_end allow you to give more detail. If the value you enter is the name of an article, the wikilink is automatically generated. You are encouraged to link to the article that describes the actual event which caused the formation/dissolution of the entity, if such articles exist. To keep the infobox tidy, create a wikilink to the event article if the title of the linked article is long (e.g. [[Berlin conference|Established]]). You are discouraged from simply entering something like Declaration or Proclamation in these fields, because there are general articles with this title.
|
| life_span | optional | free | label (free text with wikilinks) | Some entities temporarily ceased to exist before re-establishing. Use this variable only for these entities to replace the displayed dates in the date bar. Give unlinked dates with line breaks. (e.g. 1841–1899<br>1910–1967). You still need to fill in the |year_start and |year_end fields (in this example, |year_start=1841 and |year_end=1967) for the above-described functions to work.
|
| Events | ||||
| era | optional | variable |
|
A category-assigning variable. If the value given here does not match any on the list in this table, this article will be automatically assigned to a maintenance-category. Do not panic. If a certain |era value is used often enough, a new category will be created by the infobox developers.
|
| event1/date_event1, event2/date_event2, ... | optional | free | label (free text with wikilinks) | Intermediate events. These will be listed in the History section between the start and end events. The event variables here function the same way as the |event_start/|event_end variables. Enter date as unlinked text (e.g. 3 August 1789).
|
| event_pre/date_pre, event_post/date_post | testing | free | label (free text with wikilinks) | Sometimes, events that take place outside the life-span of the entity are important, these two variables will place an event before |event_start (pre) or after |event_end (post) in the History box.
|
Images | ||||
| All of these variables are optional (but some are more optional than others). If there is no available image, place the WPFC banner on the article's talk page (if it isn't there already), with the parameters {{WPFC|class=?|flagneeded=yes|coatneeded=yes|mapneeded=yes}} (including only the relevant parameters) | ||||
| Field Name | Usage | Type | Values | Description |
| Flag | ||||
| image_flag | optional | wikilink | file name | The name of the flag image (no Image: coding needed)
|
| image_border | optional | yes/no | no |
Set to no to turn off border around non-rectangular flags, e.g. File:Flag of Ohio.svg.
|
| flag_type | optional | free | flag name | Displayed text under flag image. Useful if more than one flag was used (e.g. Third flag of the Confederacy) or if the flag wasn't actually called a flag (e.g. Banner). Default: "Flag"
|
| flag | optional | wikilink | link target for text under the flag image. By default, it will link to "Flag of (the) {common_name}" if such an article exists. | |
| Heraldry | ||||
| image_coat | optional | wikilink | file name | The name of the coat of arms image (no Image: coding needed)
|
| symbol_type | optional | free | symbol name | Displayed text under coat of arms image. Useful if more than one coat of arms was used or if it wasn't actually called a coat of arms (e.g. Emblem). Default: "Coat of arms"
|
| symbol | optional | wikilink | link target for text under the coat of arms image. By default, it will link to "Coat of arms of (the) {common_name}" if such an article exists. | |
| Map | ||||
| image_map | optional | wikilink | file name | The name of the map image (no Image: coding needed)
|
| image_map_caption | optional | free | sentence (free text with wikilinks) | Map caption |
Preceding and succeeding entities | ||||
| These fields are optional, but very important. Entries here affect the flag-navigation feature of the date bar at the top of the infobox. | ||||
| Field Name | Usage | Type | Values | Description |
| p1 – p5 | optional | wikilink | country name | Names of preceding entities (up to 5) |
| s1 – s8 | optional | wikilink | country name | Names of succeeding entities (up to 8) |
| flag_p1, flag_p2, ... | optional | wikilink | file name | Name of image of flag for the state corresponding to |p1, |p2, etc. (just the name, no Image: coding). If the preceding state had multiple flags during its existence, use the last flag that it used. The template is instructed to search for possible flag images given the name of the state, so it might not be necessary to fill in this field. If a flag is not found or defined, the default "flag unknown" image will be shown.
|
| border_p1, border_p2, ... | optional | yes/no | no |
Set to no to turn off border around non-rectangular flags, e.g. File:Flag of Ohio.svg.
|
| flag_s1, flag_s2, ... | optional | wikilink | file name | Name of image of flag for the state corresponding to |s1, |s2, etc. (just the name, no Image: coding), same as the flags for previous states. If the succeeding state had multiple flags during its existence, use the first flag that it used.
|
| border_s1, border_s2, ... | optional | yes/no | no |
Set to no to turn off border around non-rectangular flags, e.g. File:Flag of Ohio.svg.
|
| image_p1,image_s1, ... | optional | wikilink | file name | Going further back in history, flags were less common and coats of arms were used instead. Coat of arms images are generally narrower than flag images, so if coat of arms images are displayed at the defined image size used here for flags (i.e. width=30px), they appear too big. Therefore, if you have anything other than a flag/banner image to use for a previous/following entity, fill in this field. Here you must enter all wikilinking as normally done when entering an image, but set the image width to 20px (or higher, depending on the individual image).
|
Which entries should I link to?It is not the intention here to list every single previous/following entity—that would make the infobox look very silly in many cases. Here are some guidleines for what to do (and what not to do). There are no strict rules so please exercise caution and common sense when using this feature.
| ||||
Area and population | ||||
| Field Name | Usage | Type | Values | Description |
| stat_year1, stat_year2, ... | optional (required if area or population is given) | variable | numerical | It is possible to add multiple values for area and population over time.
|
| stat_area1, stat_area2, ... | optional | variable | numerical | |
| stat_pop1, stat_pop2, ... | optional | variable | numerical | |
Footnotes | ||||
| Field Name | Usage | Type | Values | Description |
| footnotes | optional | free | sentence (free text with wikilinks) | A standard field for footnotes. Use footnotes if there is anything in the infobox that requires further explanation. Supports wikilinks |
Style parameters
The template allows some optional parameters that control the style of the infobox for size and coloring when displayed on a page:
|width = <!-- sets the width of the infobox (default: 290px) --> |boxstyle = <!-- sets the style properties of the whole infobox --> |titlestyle = <!-- sets the style properties of the top title/name area of the infobox -->
Some specific styles for the whole infobox are as follows:
|boxstyle = background:lightgray; <!-- sets the color behind all areas of the infobox --> |boxstyle = border-color:blue; <!-- sets the line around the infobox to the color blue --> |boxstyle = border-width:5px; <!-- sets line width around box to 5 pixels (default: 1px) --> |boxstyle = margin-left:1px; margin-right:7px; <!-- resets the left/right margins of the infobox for similar alignment in both browsers [[Mozilla Firefox]] and [[Internet Explorer]] -->
Some specific styles for the title/name are as follows:
|titlestyle = background:lightgray; <!-- sets the color behind the top title/name area of the infobox --> |titlestyle = color:gold; <!-- sets the text color in top title/name area --> |titlestyle = text-align:left; <!-- shifts title/name text to the left (default: center) -->
For multiple settings, combine all on one line as follows:
|titlestyle = background:lightgray; color:darkgreen;
The properties are separated by semicolons (;), and beware that accidentally omitting semicolons will cause the settings to be ignored. Some style properties cannot be changed such as, setting |titlestyle=margin-left:25px might be ignored, because margin-left is a property, instead, of the whole box, using |boxstyle.
Establishment dates
- First the template tests to see if "Category:States and territories established in the {{{year_start}}}" exists. If so, it is added.
- If not, the template tests to see if "Category:States and territories established in {{{year_start}}}" exists. If so, it is added.
- If not, the template tests to see if "Category:States and territories established in the DECADEs" where DECADE is the decade containing {{{year_start}}} (e.g. Category:States and territories established in the 110s). If so, it is added.
- If not, the template tests to see if "Category:States and territories established in the Nth century" where N is the century containing {{{year_start}}} (e.g. Category:States and territories established in the 1st century BC). If so, it is added.
The reason for the first case is in case an imprecise date is entered, such as "the 820s" or "the 18th century", before trying exact dates like "1820".
Disestablishment dates
- First the template tests to see if "Category:States and territories disestablished in the {{{year_end}}}" exists. If so, it is added.
- If not, the template tests to see if "Category:States and territories disestablished in {{{year_end}}}" exists. If so, it is added.
- If not, the template tests to see if "Category:States and territories disestablished in the DECADEs" where DECADE is the decade containing {{{year_end}}} (e.g. Category:States and territories disestablished in the 530s). If so, it is added.
- If not, the template tests to see if "Category:States and territories disestablished in the Nth century" where N is the century containing {{{year_end}}} (e.g. Category:States and territories disestablished in the 1st century BC). If so, it is added.
The reason for the first case is in case an imprecise date is entered, such as "the 820s" or "the 18th century", before trying exact dates like "1820".
Banner
To allow project members to keep track of articles, any page that uses this infobox must be labeled with the WPFC banner. To do this, go to the article's talk page, and add {{WPFC}} to the top of the talk page, if the banner is not there already. See the banner page for more information about the extra parameters that the banner supports. At the absolute minimum, the talk page should contain {{WPFC}}.
Tracking category
- Category:Pages using infobox former subdivision with unknown parameters (0)
- Category:Former country articles requiring maintenance (0)
TemplateData
TemplateData
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Infobox former subdivision No description.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||