Editing
Template:Infobox former country/doc
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== 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 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 {{-}} {| class="wikitable" style="background-color: white;" | colspan=5 style="background-color: orange;" | === Name === |- | style="background-color: whitesmoke;" | '''Field Name''' | style="background-color: whitesmoke;" | '''Usage''' | style="background-color: whitesmoke;" | '''Type''' | style="background-color: whitesmoke;" | '''Values''' | style="background-color: whitesmoke;" | '''Description''' |- style="vertical-align:top;" | '''conventional_long_name''' || required || free || label (free text) || Full name in English, displayed as the title at the top of the infobox |- style="vertical-align:top;" | '''native_name''' || optional || free || label (free text) || Name in native language(s), displayed underneath the English name. If there are multiple native languages, separate different names with line breaks. If the native language is English, leave this section blank and give only the "conventional_long_name" |- style="vertical-align:top;" | '''common_name''' || required || variable || "country name" |This variable is not actually displayed in the box, but is a supporting variable for a number of technical uses: *The value here determines how the entry is indexed within the categories that the infobox generates. **''Example:'' The "Kingdom of England" should be indexed under E (England) instead of K (Kingdom). Therefore, "common_name=England" *Various links within the infobox are automatically generated if a certain page exists. If the article does not exist, a more generic link is produced. If the entity discussed is normally preceded by "the" (e.g. the United Kingdom), do not enter "the" in common_name: the template will also search for such links. **''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 "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 "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;" | === Location === |- | colspan=5 | These variables are only used for generating categories for this article |- | style="background-color: whitesmoke;" | '''Field Name''' | style="background-color: whitesmoke;" | '''Usage''' | style="background-color: whitesmoke;" | '''Type''' | style="background-color: whitesmoke;" | '''Values''' | style="background-color: whitesmoke;" | '''Description''' |- style="vertical-align:top;" |- style="vertical-align:top;" | '''region''' || required where implemented || variable || Balkans, Italy || Give the sub-continental region that the historical entity belongs to. From here, new categories will be created if they are of a reasonable size. |- style="vertical-align:top;" |'''country''' || not supported || variable || "country name" || Was intended as a category-generating field, similar to "region". Has been non-functional since 2011. Categories in question are now populated manually |- | colspan=5 style="background-color: orange;" | === Status === |- | colspan=5 | The entries here again determine category placement. For some values, related text will be displayed in a bar underneath the name. |- | style="background-color: whitesmoke;" | '''Field Name''' | style="background-color: whitesmoke;" | '''Usage''' | style="background-color: whitesmoke;" | '''Type''' | style="background-color: whitesmoke;" | '''Values''' | style="background-color: whitesmoke;" | '''Description''' |- style="vertical-align:top;" | '''status''' || optional || variable || *Empire *Federation *Confederation *State union *Client state *Vassal *Colony *Protectorate *United Nations Trust Territory *League of Nations Mandate *See also the variable [[#Politics|government_type]] and the [[Template:Infobox former country/Categories|categorization scheme]]. || Status 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;" |'''empire''' || optional || variable || "country name" || Give the "common name" for the ''imperial country'' to which the entity was in a state of dependency. *''Example:'' British Empire colony: "status=Colony", "empire=United Kingdom" |- style="vertical-align:top;" |'''status_text'''|| optional || free || label (free text with wikilinks) || If values are given for status and empire, it will be displayed by default as "status (empire)". The 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>) |- | colspan=5 style="background-color: orange;" | === Politics === <!-- The empire or country to which the entity was in a state of dependency --> |- | style="background-color: whitesmoke;" | '''Field Name''' | style="background-color: whitesmoke;" | '''Usage''' | style="background-color: whitesmoke;" | '''Type''' | style="background-color: whitesmoke;" | '''Values''' | style="background-color: whitesmoke;" | '''Description''' |- style="vertical-align:top;" |'''government_type'''|| required || variable || *Monarchy *Constitutional monarchy *Principality *Republic *Socialist republic *See also the variable [[#Status|status]] 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. event1). |- style="vertical-align:top;" | 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 "government_type" is "Monarchy" or "Constitutional monarchy", the default "King" will be displayed, which will link to "King of {common_name}" if that article exists. If "Republic" of "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) *''Example:'' For the [[Kingdom of Prussia]], "government_type=Monarchy" but "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 "Emperor of Germany, King of Prussia", <nowiki>[[List of German monarchs|Emperor]]</nowiki> 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). *''Example:'' <nowiki>[[George III of the United Kingdom|George III]]</nowiki> instead of "George III" or "George III of the United Kingdom". If it is not obvious that British monarchs are involved in this case, give the full "George III of the United Kingdom" (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). *Note: If there was only one head of state, just fill in "leader1" but not "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 (first) and (last)—but then you will need to wikilink the name. |- style="vertical-align:top;" | colspan=5 style="background-color: whitesmoke;" | Colonial governor, representative of head of state, etc. |- style="vertical-align:top;" |'''title_representative''' || optional || free || label (free text with wikilinks) || same as for the head of state. These fields are to be used for colonial governors, representatives of the head of state, etc. For heads of government (e.g. Prime Minister), use the "deputy" field below |- style="vertical-align:top;" |'''representative1, representative2, ...''' || optional || free || label (free text with wikilinks) || Representative name. Wikilinks are generated automatically, but you should create wikilinked entries for people whose entry title is long |- style="vertical-align:top;" |'''year_representative1, year_representative2, ...''' || optional || free || label (free text with wikilinks) || Dates spanning rule of the representative (e.g. 1801–1843). |- style="vertical-align:top;" | 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" |- 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 |- 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). |- style="vertical-align:top;" | 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) |- style="vertical-align:top;" | '''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 |- | colspan=5 style="background-color: orange;" | === General information === |- | style="background-color: whitesmoke;" | '''Field Name''' | style="background-color: whitesmoke;" | '''Usage''' | style="background-color: whitesmoke;" | '''Type''' | style="background-color: whitesmoke;" | '''Values''' | 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, display the contemporary name, but wikilink to the modern name (e.g. <nowiki>[[Istanbul|Constantinople]]</nowiki>) |- style="vertical-align:top;" |'''latd, latm, latNS, longd, longm, longEW''' || not supported || variable || co-ordinates || Geographical co-ordinates of capital city (these parameters have been non-functional since 2007) |- style="vertical-align:top;" |'''national_motto''' || optional || free || entry (free text with wikilinks) || National motto. If not in English, place the English translation last (after a line break). Add wikilinks if articles exist. |- style="vertical-align:top;" |'''national_anthem''' || optional || free || entry (free text with wikilinks) || National anthem. If not in English, place the English translation last (after a line break). Add wikilinks if articles exist. |- style="vertical-align:top;" |'''common_languages''' || optional || free || entry (free text with wikilinks) || Major language(s). Add wikilinks where possible. If only one language is involved, you may enter simply the name of the language if the corresponding language entry exists.<br/>''e.g. If you enter only "English" for this field, the template will display <nowiki>[[English language|English]]</nowiki>''.<br/>If more than one language is involved, you must enter full wikicoding.<br/>''e.g. If the languages are English and Spanish, you must enter <nowiki>[[English language|English]], [[Spanish language|Spanish]]</nowiki>'' |- style="vertical-align:top;" ||'''religion''' || optional || free || entry (free text with wikilinks) || Major religion(s). Add wikilinks where possible. |- style="vertical-align:top;" ||'''demonym''' || optional || free || entry (free text with wikilinks) || Identified residents/natives of a particular place, which is derived from the name of that particular place. Add wikilinks where possible. |- style="vertical-align:top;" |'''currency''' || optional || free || entry (free text with wikilinks) || Currency used. If multiple currencies over time, give time periods and separate different currencies with line breaks. Add wikilinks if articles exist. |- | colspan=5 style="background-color: orange;" | === History === |- | style="background-color: whitesmoke;" | '''Field Name''' | style="background-color: whitesmoke;" | '''Usage''' | style="background-color: whitesmoke;" | '''Type''' | style="background-color: whitesmoke;" | '''Values''' | style="background-color: whitesmoke;" | '''Description''' |- | 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. |- style="vertical-align:top;" |'''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.) |- style="vertical-align:top;" |'''event_start''', '''event_end''' || optional || free || label (free text with wikilinks) || Entering the information for the above 4 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. <nowiki>[[Berlin conference|Established]]</nowiki>). You are discouraged from simply entering something like "Declaration" or "Proclamation" 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 year_start and year_end fields (in this example, "year_start=1841" and "year_end=1967") for the above-described functions to work. |- | colspan=5 style="background-color: whitesmoke;" | '''Events''' |- style="vertical-align:top;" | '''era''' || optional || variable || *Napoleonic Wars *World War I *World War II *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 "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 event_start/event_end variables. Enter date as unlinked text (e.g. <nowiki>"August 3, 1789" or "3 August 1789"</nowiki>). |- 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 event_start (pre) or after event_end (post) in the History box. |- | colspan=5 style="background-color: orange;" | === Images === |- | colspan=5 | 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 <nowiki>{{WPFC|class=?|flagneeded=yes|coatneeded=yes|mapneeded=yes}}</nowiki> (including only the relevant parameters) |- | style="background-color: whitesmoke;" | '''Field Name''' | style="background-color: whitesmoke;" | '''Usage''' | style="background-color: whitesmoke;" | '''Type''' | style="background-color: whitesmoke;" | '''Values''' | style="background-color: whitesmoke;" | '''Description''' |- | colspan=5 style="background-color: whitesmoke;" | '''Flag''' |- style="vertical-align:top;" |'''image_flag''' || optional || wikilink || file name || The name of the flag image (no File: coding needed) |- style="vertical-align:top;" |'''flag_alt''' || optional || free || free text || Alt text for the flag image; see ''[[Wikipedia:Alternative text for images]]'' |- style="vertical-align:top;" |'''image_flag2''' || optional || wikilink || file name || The name of the second flag image |- style="vertical-align:top;" |'''flag_alt2''' || optional || free || free text || Alt text for the second flag image; see ''[[Wikipedia:Alternative text for images]]'' |- style="vertical-align:top;" |'''flag_border''' || optional || yes/no || yes or no or blank || Set to no to turn off border around the flag image, for example for [[:File:Flag of Nepal.svg|Nepal]]. |- 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. "3rd Flag of the Confederacy") or if the flag wasn't actually called a flag (e.g. "Banner"). Default: "Flag" |- style="vertical-align:top;" |'''flag2_type'''|| optional || free || flag name || Displayed text under flag image. Useful if more than one flag was used (e.g. "3rd Flag of the Confederacy") or if the flag wasn't actually called a flag (e.g. "Banner"). 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) {common_name}" if such an article exists—if not, it will link to "Flag" |- style="vertical-align:top;" |'''flag2''' || optional || wikilink || || link target for text under the flag2 image. By default, it will link to "Flag of (the) {common_name}" if such an article exists—if not, it will link to "Flag" |- | 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 File: coding needed) |- style="vertical-align:top;" | '''coa_size''' || optional || free || free text || The size of the coat of arms |- style="vertical-align:top;" | '''coat_alt''' || optional || free || free text || [[WP:ALT|Alt text]] for the coat of arms |- 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. "Emblem"). Default: "Coat of arms" |- style="vertical-align:top;" | '''symbol_type_article''' || 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—if not, it will link to "Coat of arms" |- | colspan=5 style="background-color: whitesmoke;" | '''Map''' |- style="vertical-align:top;" |'''image_map''' || optional || wikilink || file name || The name of the map image (no File: coding needed) |- style="vertical-align:top;" |'''image_map_alt''' || optional || free || free text || [[WP:ALT|Alt text]] for map |- style="vertical-align:top;" |'''image_map_caption''' || optional || free || sentence (free text with wikilinks) || Map caption |- | colspan=5 style="background-color: orange;" | === Preceding and succeeding entities === |- | colspan=5 | These fields are optional. If "successorflags" is set to "yes", entries will be displayed as flag icons in the date bar near the top of the infobox. Otherwise they will be displayed as a textual list near the bottom. Use the icon-only form only if all of the entities involved have clearly defined, widely known and recognizable visual symbols that are easily distinguished at small size. |- | style="background-color: whitesmoke;" | '''Field Name''' | style="background-color: whitesmoke;" | '''Usage''' | style="background-color: whitesmoke;" | '''Type''' | style="background-color: whitesmoke;" | '''Values''' | style="background-color: whitesmoke;" | '''Description''' |- style="vertical-align:top;" |'''successorflags'''|| optional || yes/no || yes or no or blank || Set to "yes" to retain the old format with textless flag icons in the date bar |- style="vertical-align:top;" |'''p1'''–'''p5''' || optional || wikilink || "country name" || Names of preceding entities (up to 5) |- style="vertical-align:top;" |'''s1'''–'''s5''' || optional || wikilink || "country name" || Names of succeeding entities (up to 5) |- style="vertical-align:top;" |'''flag_p1, flag_p2, ...''' || optional || wikilink || file name || Name of image of flag for the state corresponding to p1, p2,... (just the name, no File: 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 (a white box) will be shown. |- style="vertical-align:top;" |'''border_p1, border_p2, ...''' || optional || yes/no || yes or no or blank || Set to no to turn off border around the flag, for example for [[:File:Flag of Nepal|Nepal]]. |- style="vertical-align:top;" |'''flag_s1, flag_s2, ...''' || optional || wikilink || file name || Name of image of flag for the state corresponding to s1, s2,... (just the name, no File: 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 || yes or no or blank || Set to no to turn off border around the flag, for example for [[:File:Flag of Nepal|Nepal]]. |- 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. 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). |- |- style="vertical-align:top;" | colspan=5 | === To which entries should I link? === 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 guidelines 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. #For most cases, the main and/or official predecessor/successor (under international law) is sufficient, since that is what most readers would expect to see. In the case of any potential confusion, list only this. #*''Example:'' not every single state formed after the breakup of the Ottoman Empire should be listed in the infobox for the Ottoman Empire. Such a list is better described in the article text. Instead, only the official successor state would be given (Turkey) #In some cases, most readers would expect to see every state that was formed, not just the official predecessor/successor. If so, list all states. If only parts of other countries were taken to form the new entity (or if an already existing entity received some of the land from a dissolved entity), list these states only when there are not so many other states to list. #*''Example:'' the official successors of Austria-Hungary would be only Austria and Hungary. But from the breakup of Austria-Hungary, two other new states were completely formed (Czechoslovakia and the State of Slovenes, Croats and Serbs), one state was formed from part of Austria-Hungary (Poland, including territory ceded from Germany and relinquished from Russian rule), and two already-existing states gained territory from Austria-Hungary (Italy and Romania). This gives a total of 7 successor states, which is rather high. In order of priority, the states listed should be: [Austria and Hungary], [Czechoslovakia and the State of Slovenes, Croats and Serbs], [Poland], and finally [Italy and Romania]. #Do not list entities that were formed/dissolved outside the life-span of the discussed state. #*''Example:'' the breakup of the Socialist Federal Republic of Yugoslavia does require the listing of all countries involved, since that is what people would expect. But only the states formed at the time when the SFYR broke up should be given. Therefore, "Serbia and Montenegro" is a successor entity, not "Serbia" and "Montenegro" separately since that breakup occurred later. #If an entity simply became a subdivision of another country (state, province, etc.), then link to that subdivision. Only do this if it the transition is very clear. #*''Example:'' the Republic of Texas was annexed by the USA and reconstituted as the US state of Texas. The successor here is not the USA, but the modern state of Texas. #If the entity did not exist for a period before reforming (specified when you use the life_span parameter above), do not list the intermediate states. #If the predecessor and successor are the same, and this predecessor/successor continued to exist during this period, do not list either. Instead, make it clear what this state was somewhere in the events section (if necessary). #*''Example:'' the Confederate States of America broke away from the United States of America before becoming again part of the USA after the American Civil War. Detailing predecessor and successor states here as the USA is redundant, since the USA still existed in some form during this period, so say nothing. |- | colspan=5 style="background-color: orange;" | === Area and population === |- | style="background-color: whitesmoke;" | '''Field Name''' | style="background-color: whitesmoke;" | '''Usage''' | style="background-color: whitesmoke;" | '''Type''' | style="background-color: whitesmoke;" | '''Values''' | 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. *Area must be given in km² without commas or any other spacing. The area in sq.mi. will be automatically calculated *Population must be given without commas or any other spacing. If area is also known for this time, population density will be automatically calculated. *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 "stat_year1=1800" and "stat_year2=1900" and the two population values (without commas or spacing) under "stat_pop1" and "stat_pop2". You then enter your area value (in km², without commas or spacing) in both "stat_area1" and "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 |- style="vertical-align:top;" |'''stat_pop1, stat_pop2 ...'''|| optional || variable || numerical |- |'''today''' || optional || free || label (free text with wikilinks) || Present-day countries that overlap with the territorial extent of the former country. It is recommended that this parameter be avoided if there are more than four such countries. |- | colspan=5 style="background-color: orange;" | === Footnotes === |- | style="background-color: whitesmoke;" | '''Field Name''' | style="background-color: whitesmoke;" | '''Usage''' | style="background-color: whitesmoke;" | '''Type''' | style="background-color: whitesmoke;" | '''Values''' | 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. |- style="vertical-align:top;" |'''footnotes2''' || optional || free || sentence (free text with wikilinks) || A second field for footnotes, separated from the first. Supports wikilinks |- |- style="vertical-align:top;" |'''footnote_a'''<br/>'''footnote_b'''<br/>...<br/>'''footnote_h''' | optional || free || sentence || Fields for footnotes identified using lowercase letters "a" to "h" (Example<sup>a</sup>). All support 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: :* <code>width = 290px</code>: sets the width of the infobox (default: 290px). :* <code>boxstyle = . . .</code>: sets the style properties of the whole infobox. :* <code>titlestyle = . . .</code>: sets the style properties of the top title/name area of the infobox. Some specific styles for the whole infobox are as follows: :* <code>boxstyle = background:lightgray</code>: sets the color behind all areas of the infobox. :* <code>boxstyle = border-color:blue;</code>: sets the line around the infobox to the color blue. :* <code>boxstyle = border-width:5px;</code>: sets line width around box to 5 pixels (default: 1px). :* <code>boxstyle = margin-left:1px; margin-right:7px;</code>: 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: :* <code>titlestyle = background:lightgray</code>: sets the color behind the top title/name area of the infobox. :* <code>titlestyle = color:gold</code>: sets the text color in top title/name area. :* <code>titlestyle = text-align:left</code>: shifts title/name text to the left (default: center). For multiple settings, combine all on one line, as follows: :::* <code>titlestyle = background:lightgray; color:darkgreen;</code> 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''.
Summary:
Please note that all contributions to IDU Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
IDU Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
To edit this page, please answer the question that appears below (
more info
):
Who is the wiki admin
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information