साँचा:ज्ञानसंदूक भूतपूर्व देश/doc
यह प्रलेखन उपपृष्ठ साँचा:ज्ञानसंदूक भूतपूर्व देश के लिए है। इसमें उपयोग विधि की जानकारी, श्रेणियाँ और वह वस्तुएँ हैं जो कि असली साँचा के पृष्ठ पर नही हैं। |
यह साँचा {{ज्ञानसन्दूक}} को आधार के रूप में उपयोग करने के लिए उपयुक्त हो सकता है |
This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
This template uses Lua: |
This template provides comparative information for countries which no longer exist.
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 a part of WikiProject Former countries.
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.
- Some fields place the article into certain categories: see list of supported categories.
- Area (in km2) and population statistics must be given without spaces, commas or other code.
- Keep event text as short as possible—ideally only one 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 country |native_name = <!-- Name in a modern syntax of native language(s). Leave blank if name is only in English. Separate with line breaks<br/> or use Template:Plainlist. If language uses Latin characters, place name(s) in italics. --> |conventional_long_name = <!-- Full name in English --> |common_name = <!-- Name to be used in constructing links and category names; not for display --> |continent = <!-- Generates categories of the type "Former countries in Europe" --> |region = <!-- Reserved for generating categories on subregions of continents --> |era = <!-- Use: "Napoleonic Wars", "Cold War", etc. --> |status = <!-- Status: see Category list on template page --> |status_text = <!-- A free text to describe status at the top of the infobox. Use sparingly. --> |empire = <!-- The empire or country to which the entity was in a state of dependency --> |government_type = <!-- To generate categories: "Monarchy", "Republic", etc. to generate categories --> <!-- 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" --> |event_start = <!-- Default: "Established" --> |date_start = <!-- Optional: Date of establishment, in format 1 January (no year) --> |year_start = <!-- Year of establishment --> |event_end = <!-- Default: "Disestablished" --> |date_end = <!-- Optional: Date of disestablishment, in format 1 January (no year) --> |year_end = <!-- Year of disestablishment --> |year_exile_start = <!-- Year of start of exile (if dealing with exiled government: status="Exile") --> |year_exile_end = <!-- Year of end of exile (leave blank if still in exile) --> |event1 = <!-- Optional: other events between "start" and "end" --> |date_event1 = |event2 = |date_event2 = |event3 = |date_event3 = |event4 = |date_event4 = |event5 = |date_event5 = |event_pre = <!-- Optional: A crucial event that took place before "event_start" --> |date_pre = |event_post = <!-- Optional: A crucial event that took place after "event_end" --> |date_post = <!-- Flag navigation: Preceding and succeeding entities p1 to p5 and s1 to s5 --> |p1 = <!-- Name of the article for preceding entity, numbered 1-5 --> |flag_p1 = <!-- Default: "Flag of {{{p1}}}.svg" (size 30) --> |image_p1 = <!-- Use: [[Image:Sin escudo.svg|20px|Image missing]] --> |p2 = |flag_p2 = |p3 = |flag_p3 = |p4 = |flag_p4 = |p5 = |flag_p5 = |s1 = <!-- Name of the article for succeeding entity, numbered 1-5 --> |flag_s1 = <!-- Default: "Flag of {{{s1}}}.svg" (size 30) --> |image_s1 = <!-- Use: [[Image:Sin escudo.svg|20px|Image missing]] --> |s2 = |flag_s2 = |s3 = |flag_s3 = |s4 = |flag_s4 = |s5 = |flag_s5 = |image_flag = <!-- Default: Flag of {{{common_name}}}.svg --> |flag_alt = <!-- Alt text for flag --> |image_flag2 = <!-- Second flag --> |flag_alt2 = <!-- Alt text for second flag --> |flag = <!-- Link target under flag image. Default: Flag of {{{common_name}}} --> |flag2 = <!-- Link target under flag2 image. Default: Flag of {{{common_name}}} --> |flag_type = <!-- Displayed text for link under flag. Default "Flag" --> |flag2_type = <!-- Displayed text for link under flag2. Default "Flag" --> |image_coat = <!-- Default: Coat of arms of {{{common_name}}}.svg --> |coat_size = <!-- Size of coat of arms --> |coat_alt = <!-- Alt text for coat of arms --> |symbol_type = <!-- Displayed text for link under symbol. Default "Coat of arms" --> |symbol_type_article = <!-- Link target under symbol image. Default: Coat of arms of {{{common_name}}} --> |image_map = |image_map_alt = |image_map_caption = |image_map2 = <!-- If second map is needed; does not appear by default --> |image_map2_alt = |image_map2_caption = |capital = |capital_exile = <!-- If status="Exile" --> |national_motto = |national_anthem = |common_languages = |religion = |demonym = |currency = <!-- Titles and names of the first and last leaders and their deputies --> |leader1 = <!-- Name of king or president --> |leader2 = |leader3 = |leader4 = |year_leader1 = <!-- Years served --> |year_leader2 = |year_leader3 = |year_leader4 = |title_leader = <!-- Default: "King" for monarchy, otherwise "President" --> |representative1 = <!-- Name of representative of head of state (e.g. colonial governor) --> |representative2 = |representative3 = |representative4 = |year_representative1 = <!-- Years served --> |year_representative2 = |year_representative3 = |year_representative4 = |title_representative = <!-- Default: "Governor" --> |deputy1 = <!-- Name of prime minister --> |deputy2 = |deputy3 = |deputy4 = |year_deputy1 = <!-- Years served --> |year_deputy2 = |year_deputy3 = |year_deputy4 = |title_deputy = <!-- Default: "Prime minister" --> <!-- Legislature --> |legislature = <!-- Name of legislature --> |house1 = <!-- Name of first chamber --> |type_house1 = <!-- Default: "Upper house" --> |house2 = <!-- Name of second chamber --> |type_house2 = <!-- Default: "Lower house" --> <!-- Area and population of a given year --> |stat_year1 = <!-- year of the statistic, specify either area, population or both --> |stat_area1 = <!-- area in square kílometres (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_year2 = |stat_area2 = |stat_pop2 = |stat_year3 = |stat_area3 = |stat_pop3 = |stat_year4 = |stat_area4 = |stat_pop4 = |stat_year5 = |stat_area5 = |stat_pop5 = |today = <!-- Overlapping modern countries, if no more than four of these --> |footnote_a = <!-- Accepts wikilinks --> |footnote_b = <!-- Accepts wikilinks --> ... |footnote_h = <!-- Accepts wikilinks --> |footnotes = <!-- Accepts wikilinks --> }}
Example syntax
संपादित करेंउदाहरण के लिये ब्राज़ीली साम्राज्य:
ब्राज़ीली साम्राज्य Império do Brasil | ||||||
| ||||||
| ||||||
राष्ट्रिय ध्येय Independência ou Morte! "स्वतंत्रता या मृत्यु!" | ||||||
राष्ट्रगान Hino da Independência (1822–1831) "स्वतंत्रता का गान" Hino Nacional Brasileiro (1831–1889) "Brazilian National Anthem" | ||||||
दक्षिण अमेरिका का मानचित्र पर ब्राज़ीली साम्राज्य हरे रंग में
| ||||||
राजधानी | रियो डी जनेरियो | |||||
भाषाएँ | पुर्तगाली | |||||
धार्मिक समूह | रोमन कैथोलिक धर्म | |||||
शासन | संवैधानिक राजतंत्र | |||||
सम्राट | ||||||
- | 1822–1831 | पेद्रो प्रथम | ||||
- | 1831–1889 | पेद्रो द्वितीय | ||||
प्रधान मंत्री | ||||||
- | 1843–1844 | पराना की मार्क्विस | ||||
- | 1847–1848 | मैनुअल अल्वेस ब्रैंको, कारवैलस का दूसरा विस्काउंट | ||||
- | 1889 | ऑरो प्रीटो के विस्काउंट (अंतिम) | ||||
विधायिका | सामान्य सभा | |||||
- | उच्च सदन | प्रबंधकारिणी समिति | ||||
- | निम्न सदन | प्रतिनिधियो का प्रकोष्ठ | ||||
ऐतिहासिक युग | 19वी शताब्दी | |||||
- | स्वतंत्रता | 7 सितंबर 1822 | ||||
- | पेद्रो प्रथम का राज्याभिषेक | 12 अक्टूबर 1822 | ||||
- | राजतन्त्र संविधान का ग्रहण | 25 मार्च 1824 | ||||
- | पेद्रो द्वितीय का राज्याभिषेक | 7 अप्रैल 1831 | ||||
- | दासिता का उन्मूलन | 13 मई 1888 | ||||
- | राजतंत्र समाप्ति | 15 नवंबर 1889 | ||||
क्षेत्रफल | ||||||
- | 1889 | 83,63,186 किमी ² (32,29,044 वर्ग मील) | ||||
जनसंख्या | ||||||
- | 1823 est. | 40,00,000 | ||||
- | 1854 est. | 70,00,700 | ||||
- | 1872 est. | 99,30,479 | ||||
- | 1890 est. | 1,43,33,915 | ||||
मुद्रा | रियाल | |||||
आज इन देशों का हिस्सा है: | ब्राज़ील उरुग्वे |
{{Infobox former country | native_name = ''Império do Brasil'' | conventional_long_name = ब्राज़ीली साम्राज्य | common_name = ब्राज़ील | continent = दक्षिण अमेरिका | region = ब्राज़ील | country = ब्राज़ील | era = 19वी शताब्दी | empire = ब्राज़ील | government_type = संवैधानिक राजतंत्र | year_start = 1822 | year_end = 1889 | event_pre = स्वतंत्रता | date_pre = 7 सितंबर 1822 | event_start = [[पेद्रो प्रथम]] का राज्याभिषेक | date_start = 12 अक्टूबर | event1 = राजतन्त्र संविधान का ग्रहण | date_event1 = 25 मार्च 1824 | event2 = [[पेद्रो द्वितीय]] का राज्याभिषेक | date_event2 = 7 अप्रैल 1831 | event3 = दासिता का उन्मूलन | date_event3 = 13 मई 1888 | event_end = राजतंत्र समाप्ति | date_end = 15 नवंबर | p1 = यूनाइटेड किंगडम ऑफ़ पुर्तगाल, ब्राजील और एल्गारवेस | flag_p1 = Flag of the United Kingdom of Portugal, Brazil, and the Algarves.svg | p2 = ब्राजील के राज्य | flag_p2 = Flag Regent Prince of Brazil.svg | s2 = उरुग्वे | flag_s2 = Flag of Uruguay (1828-1830).svg | s1 = पहला ब्राजील गणराज्य | flag_s1 = Flag of Brazil (November 1889).svg | image_flag =Flag of Empire of Brazil (1870-1889).svg | flag_alt = The flag of the Second Empire consisting of a green field in the center of which is a golden lozenge containing the Imperial coat of arms | image_coat = Coat of arms of the Empire of Brazil.svg | coat_alt = Coat of arms consisting of a shield with a green field with a golden armillary sphere superimposed on the red and white Cross of the Order of Christ, surrounded by a blue band with 20 silver stars; the bearers are two arms of a wreath, with a coffee branch on the left and a flowering tobacco branch on the right; and above the shield is an arched golden and jeweled crown | symbol = शाही चिन्ह | symbol_type = शाही चिन्ह | image_map = Brazilian Empire 1828 (orthographic projection).svg | image_map_caption = दक्षिण अमेरिका का मानचित्र पर ब्राज़ीली साम्राज्य हरे रंग में | image_map_alt = दक्षिण अमेरिका का मानचित्र पर ब्राज़ीली साम्राज्य हरे रंग में | capital = रियो डी जनेरियो | latd = 22 | latm = 54 | latNS = 30 | longd = 43 | longm = 11 |longEW = 47 | population_estimate = | population_estimate_year = | national_motto = ''Independência ou Morte!'' <br /> <small>"स्वतंत्रता या मृत्यु!"</small> | national_anthem = ''[[Hino da Independência]]'' (1822–1831) <br /> <small>"स्वतंत्रता का गान"</small><br /><center> </center> <br /> ''[[Brazilian National Anthem|Hino Nacional Brasileiro]]'' (1831–1889) <br /> <small>"Brazilian National Anthem"</small><br /><center>[[File:Hino-Nacional-Brasil-instrumental-mec.ogg]]</center> | common_languages = [[पुर्तगाली भाषा|पुर्तगाली]] | religion = रोमन कैथोलिक धर्म | currency = [[ब्राज़ीली रियाल|रियाल]] | leader1 = [[पेद्रो प्रथम]] | leader2 = [[पेद्रो द्वितीय]] | year_leader1 = 1822–1831 | year_leader2 = 1831–1889 | title_leader = सम्राट | title_deputy = प्रधान मंत्री | deputy1 = पराना की मार्क्विस | year_deputy1 = 1843–1844 | deputy2 = मैनुअल अल्वेस ब्रैंको, कारवैलस का दूसरा विस्काउंट | year_deputy2 = 1847–1848 | deputy3 = ऑरो प्रीटो के विस्काउंट (अंतिम) | year_deputy3 = 1889 | legislature = सामान्य सभा | house1 = प्रबंधकारिणी समिति | house2 = प्रतिनिधियो का प्रकोष्ठ | stat_year1 = 1823 | stat_pop1 = 4000000 | stat_year2 = 1854 | stat_pop2 = 7000700 | stat_year3 = 1872 | stat_pop3 = 9930479 | stat_year4 = 1890 | stat_pop4 = 14333915 | stat_year5 = 1889 | stat_area5 = 8363186 | today = {{BRA}}<br>{{URU}} }}
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
Nameसंपादित करें | ||||
Field Name | Usage | Type | Values | Description |
conventional_long_name | required | free | label (free text) | Full name in English, displayed as the title at the top of the infobox |
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" |
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:
|
Locationसंपादित करें | ||||
These variables are only used for generating categories for this article | ||||
Field Name | Usage | Type | Values | Description |
continent | required | variable | Europe, South America, Oceania, etc. See Template:Infobox former country/Categories for specifics. | If the discussed entity spanned more than one continent, either:
|
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. |
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 |
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 |
status | optional | variable |
|
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. |
empire | optional | variable | "country name" | Give the "common name" for the imperial 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 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. "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" 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)
|
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).
|
Colonial governor, representative of head of state, etc. | ||||
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 |
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 |
year_representative1, year_representative2, ... | optional | free | label (free text with wikilinks) | Dates spanning rule of the representative (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, display the contemporary name, but wikilink to the modern name (e.g. [[Istanbul|Constantinople]]) |
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) |
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. |
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. |
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. e.g. If you enter only "English" for this field, the template will display [[English language|English]]. If more than one language is involved, you must enter full wikicoding. e.g. If the languages are English and Spanish, you must enter [[English language|English]], [[Spanish language|Spanish]] |
religion | optional | free | entry (free text with wikilinks) | Major religion(s). Add wikilinks where possible. |
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. |
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. |
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 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. [[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. "August 3, 1789" or "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) |
flag_alt | optional | free | free text | Alt text for the flag image; see Wikipedia:Alternative text for images |
image_flag2 | optional | wikilink | file name | The name of the second flag image |
flag_alt2 | optional | free | free text | Alt text for the second flag image; see Wikipedia:Alternative text for images |
flag_border | optional | yes/no | yes or no or blank | Set to no to turn off border around the flag image, for example for Nepal. |
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" |
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" |
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" | |
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" | |
Heraldry | ||||
image_coat | optional | wikilink | file name | The name of the coat of arms image (no Image: coding needed) |
coa_size | optional | free | free text | The size of the coat of arms |
coat_alt | optional | free | free text | Alt text for the 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. "Emblem"). Default: "Coat of arms" |
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" | |
Map | ||||
image_map | optional | wikilink | file name | The name of the map image (no Image: coding needed) |
image_map_alt | optional | free | free text | Alt text for map |
image_map_caption | optional | free | sentence (free text with wikilinks) | Map caption |
Preceding and succeeding entitiesसंपादित करें | ||||
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. | ||||
Field Name | Usage | Type | Values | Description |
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 |
p1–p5 | optional | wikilink | "country name" | Names of preceding entities (up to 5) |
s1–s5 | optional | wikilink | "country name" | Names of succeeding entities (up to 5) |
flag_p1, flag_p2, ... | optional | wikilink | file name | Name of image of flag for the state corresponding to p1, p2,... (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 (a white box) will be shown. |
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 Nepal. |
flag_s1, flag_s2, ... | optional | wikilink | file name | Name of image of flag for the state corresponding to s1, s2,... (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 | yes or no or blank | Set to no to turn off border around the flag, for example for Nepal. |
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). |
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.
| ||||
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 | |
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. |
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. |
footnotes2 | optional | free | sentence (free text with wikilinks) | A second field for footnotes, separated from the first. Supports wikilinks |
footnote_a footnote_b ... footnote_h |
optional | free | sentence | Fields for footnotes identified using lowercase letters "a" to "h" (Examplea). 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:
width = 290px
: 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.
Banner
संपादित करेंTo allow project members to keep track of articles, any page that uses this infobox should 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 categories
संपादित करेंArticles using this infobox with unknown parameters are placed in Category:Pages using infobox former country with unknown parameters (0).
See also
संपादित करें- {{Infobox former subdivision}}: for subdivisions of former countries. In many ways identical to this infobox, but with a few modifications.