Template:Infobox Nation Comprehensive: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{| class="infobox vcard geography" style="width:300px; font-size:83%;" | <includeonly>{| class="infobox vcard geography" style="width:300px; font-size:83%;" | ||
| colspan="2" style="text-align:center;" | <big>'''{{{fullname}}}'''</big> | | colspan="2" style="text-align:center;" | <big>'''{{{fullname}}}'''</big> | ||
{{#if:{{{status|}}}| | |||
{{!}}- | |||
{{!}} colspan="2" style="text-align:center;" {{!}} ''{{{status|}}}'' | |||
}} | |||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
{| width=100% style="text-align:center; margin:0 auto; background:none;" | {| width=100% style="text-align:center; margin:0 auto; background:none;" | ||
| align=center style="width:50%; border:0; vertical-align:middle;" | {{#if:{{{flag|}}}| | ||
| align=center style="width:50%; border:0; vertical-align:middle;" | {{!}} align=center style="{{#if:{{{coa|}}}|width:50%; }}border:0; vertical-align:middle;" {{!}} [[{{{flag|}}}{{!}}{{{flagwidth|125px}}}{{!}}Flag of {{{commonname|}}}{{!}}frameless]]<br>[[Flag of {{{commonname|}}}{{!}}Flag]] | ||
}} | |||
{{#if:{{{coa|}}}| | |||
{{!}} align=center style="{{#if:{{{flag|}}}|width:50%; }}border:0; vertical-align:middle;" {{!}} [[{{{coa|}}}{{!}}{{{coawidth|85px}}}{{!}}Coat of Arms of {{{commonname|}}}{{!}}frameless]]<br>[[Coat of arms of {{{commonname|}}}{{!}}Coat of Arms]] | |||
}} | |||
|} | |} | ||
|- | |- | ||
| Line 19: | Line 27: | ||
|-class="mergedrow" | |-class="mergedrow" | ||
|align=left |{{#if:{{{largecity|}}}|'''Largest city'''|}} ||align=left | {{#if:{{{largecity|}}}|{{{largecity|}}}|}} | |align=left |{{#if:{{{largecity|}}}|'''Largest city'''|}} ||align=left | {{#if:{{{largecity|}}}|{{{largecity|}}}|}} | ||
{{#if:{{{seat1|}}}| | |||
{{!}}-class="mergedrow" | |||
{{!}} align=left {{!}}'''{{#if:{{{seat1title|}}}|{{{seat1title|}}}|Seat of government}}''' {{!}}{{!}} align=left {{!}} {{{seat1|}}} | |||
}} | |||
{{#if:{{{seat2|}}}| | |||
{{!}}-class="mergedrow" | |||
{{!}} align=left {{!}}'''{{#if:{{{seat2title|}}}|{{{seat2title|}}}|Seat of government}}''' {{!}}{{!}} align=left {{!}} {{{seat2|}}} | |||
}} | |||
|- | |- | ||
|align=left |'''[[Portal:Languages|Official language(s)]]''' ||align=left | {{{lang|}}} | |align=left |'''[[Portal:Languages|Official language(s)]]''' ||align=left | {{{lang|}}} | ||
| Line 38: | Line 54: | ||
|-class="mergedtoprow" | |-class="mergedtoprow" | ||
|align=left |'''Establishment''' ||align=left | {{{estdate|}}} | |align=left |'''Establishment''' ||align=left | {{{estdate|}}} | ||
{{#if:{{{founded_by|}}}| | |||
{{!}}-class="mergedrow" | |||
{{!}} align=left {{!}}'''Founded by''' {{!}}{{!}} align=left {{!}} {{{founded_by|}}} | |||
}} | |||
|-class="mergedrow" | |-class="mergedrow" | ||
|align=left |'''Area''' ||align=left | {{{area|}}} | |align=left |'''Area''' ||align=left | {{{area|}}} | ||
| Line 44: | Line 64: | ||
|-class="mergedrow" | |-class="mergedrow" | ||
|align=left |{{#if:{{{activepop|}}}|'''Active population'''|}} ||align=left | {{{activepop|}}} | |align=left |{{#if:{{{activepop|}}}|'''Active population'''|}} ||align=left | {{{activepop|}}} | ||
{{#if:{{{gdp|}}}| | |||
{{!}}-class="mergedrow" | |||
{{!}} align=left {{!}}'''[[wikipedia:Gross domestic product{{!}}GDP]]''' {{!}}{{!}} align=left {{!}} {{{gdp|}}} | |||
}} | |||
|- | |- | ||
|align=left |'''[[List of circulating currencies|Currency]]''' ||align=left | {{{currency|}}} | |align=left |'''[[List of circulating currencies|Currency]]''' ||align=left | {{{currency|}}} | ||
| Line 78: | Line 102: | ||
|fullname = | |fullname = | ||
|commonname = | |commonname = | ||
|status = | |||
|flag = | |flag = | ||
|coa = | |coa = | ||
| Line 86: | Line 111: | ||
|capital = | |capital = | ||
|largecity = | |largecity = | ||
|seat1title = | |||
|seat1 = | |||
|seat2title = | |||
|seat2 = | |||
|lang = | |lang = | ||
|religion = | |religion = | ||
| Line 97: | Line 126: | ||
|legislature = | |legislature = | ||
|estdate = | |estdate = | ||
|founded_by = | |||
|area = | |area = | ||
|pop = | |pop = | ||
|activepop = | |activepop = | ||
|gdp = | |||
|currency = | |currency = | ||
|calendar = | |calendar = | ||
| Line 119: | Line 150: | ||
* <code>fullname</code> – The nation's full official name, including formal style (e.g. "Most Serene Republic of..."). Translations may be added on a new line. | * <code>fullname</code> – The nation's full official name, including formal style (e.g. "Most Serene Republic of..."). Translations may be added on a new line. | ||
* <code>commonname</code> – The nation's short common name. Used to generate labels for the flag and coat of arms links (e.g. "Flag of ''commonname''"). | * <code>commonname</code> – The nation's short common name. Used to generate labels for the flag and coat of arms links (e.g. "Flag of ''commonname''"). | ||
* <code>flag</code> – File name for the national flag image (e.g. <code>File:Example Flag.svg</code>). Displayed at 125px width by default; override with <code>flagwidth</code>. | * <code>status</code> – Current status of the nation (e.g. "Active", "Inactive", "Defunct", "Merged"). Displayed in italics below the nation name. Row is hidden if left blank. | ||
* <code>coa</code> – File name for the coat of arms image (e.g. <code>File:Example CoA.svg</code>). Displayed at 85px width by default; override with <code>coawidth</code>. | * <code>flag</code> – File name for the national flag image (e.g. <code>File:Example Flag.svg</code>). Displayed at 125px width by default; override with <code>flagwidth</code>. If omitted, the flag cell is hidden gracefully. If both <code>flag</code> and <code>coa</code> are omitted, the entire image row is hidden. | ||
* <code>coa</code> – File name for the coat of arms image (e.g. <code>File:Example CoA.svg</code>). Displayed at 85px width by default; override with <code>coawidth</code>. If omitted, the coat of arms cell is hidden gracefully. | |||
* <code>motto</code> – The national motto. | * <code>motto</code> – The national motto. | ||
* <code>anthem</code> – The national anthem. Links to [[List of national anthems]]. | * <code>anthem</code> – The national anthem. Links to [[List of national anthems]]. | ||
| Line 127: | Line 159: | ||
* <code>capital</code> – The national capital. Wikilink recommended (e.g. <code><nowiki>[[City Name]]</nowiki></code>). | * <code>capital</code> – The national capital. Wikilink recommended (e.g. <code><nowiki>[[City Name]]</nowiki></code>). | ||
* <code>largecity</code> – The largest city, if different from the capital. Row is hidden if left blank. | * <code>largecity</code> – The largest city, if different from the capital. Row is hidden if left blank. | ||
* <code> | * <code>seat1title</code> – Label for the first government seat (e.g. "Administrative capital", "Judicial capital"). Defaults to "Seat of government" if left blank while <code>seat1</code> is filled. | ||
* <code> | * <code>seat1</code> – The first government seat. Row is hidden if left blank. | ||
* <code> | * <code>seat2title</code> – Label for the second government seat (e.g. "Legislative capital"). Defaults to "Seat of government" if left blank while <code>seat2</code> is filled. | ||
* <code>seat2</code> – The second government seat. Row is hidden if left blank. | |||
* <code>lang</code> – Official language(s). Links to [[Portal:Languages]]. | * <code>lang</code> – Official language(s). Links to [[Portal:Languages]]. | ||
* <code>religion</code> – Official state religion(s), or "None recognised" if secular. | * <code>religion</code> – Official state religion(s), or "None recognised" if secular. | ||
| Line 141: | Line 174: | ||
* <code>legislature</code> – Name of the legislature or legislative body. Multiple chambers can be listed on separate lines. | * <code>legislature</code> – Name of the legislature or legislative body. Multiple chambers can be listed on separate lines. | ||
* <code>estdate</code> – Date of establishment or founding, typically in [[Norton calendar|AN]] format. | * <code>estdate</code> – Date of establishment or founding, typically in [[Norton calendar|AN]] format. | ||
* <code>founded_by</code> – Person or group that founded the nation. Row is hidden if left blank. | |||
* <code>area</code> – Total land area of the nation. | |||
* <code>pop</code> – Simulated population figure. Links to [[List of countries by population]]. | |||
* <code>activepop</code> – Number of active real-life participants. Row is hidden if left blank. | |||
* <code>gdp</code> – [[wikipedia:Gross domestic product|Gross domestic product]]. Row is hidden if left blank. | |||
* <code>currency</code> – National currency. Links to [[List of circulating currencies]]. | * <code>currency</code> – National currency. Links to [[List of circulating currencies]]. | ||
* <code>calendar</code> – Calendar system in use. Links to [[Portal:Calendars]]. | * <code>calendar</code> – Calendar system in use. Links to [[Portal:Calendars]]. | ||
Revision as of 03:10, 12 February 2026
Blank example
{{Infobox Nation Comprehensive
|fullname =
|commonname =
|status =
|flag =
|coa =
|motto =
|anthem =
|map =
|mapversions =
|capital =
|largecity =
|seat1title =
|seat1 =
|seat2title =
|seat2 =
|lang =
|religion =
|demnoun =
|demadj =
|govtype =
|headofstatetitle =
|headofstate =
|headofgovernmenttitle =
|headofgovernment =
|legislature =
|estdate =
|founded_by =
|area =
|pop =
|activepop =
|gdp =
|currency =
|calendar =
|timezone =
|electricity =
|drives_on =
|gauge =
|site =
|forum =
|animal =
|food =
|drink =
|tree =
|abbrev =
}}
Parameters
fullname– The nation's full official name, including formal style (e.g. "Most Serene Republic of..."). Translations may be added on a new line.commonname– The nation's short common name. Used to generate labels for the flag and coat of arms links (e.g. "Flag of commonname").status– Current status of the nation (e.g. "Active", "Inactive", "Defunct", "Merged"). Displayed in italics below the nation name. Row is hidden if left blank.flag– File name for the national flag image (e.g.File:Example Flag.svg). Displayed at 125px width by default; override withflagwidth. If omitted, the flag cell is hidden gracefully. If bothflagandcoaare omitted, the entire image row is hidden.coa– File name for the coat of arms image (e.g.File:Example CoA.svg). Displayed at 85px width by default; override withcoawidth. If omitted, the coat of arms cell is hidden gracefully.motto– The national motto.anthem– The national anthem. Links to List of national anthems.map– File name for the nation's location map. Displayed at 250px width.mapversions– MCS map version(s) the claim appears on. Links to the map versions thread on the forum.capital– The national capital. Wikilink recommended (e.g.[[City Name]]).largecity– The largest city, if different from the capital. Row is hidden if left blank.seat1title– Label for the first government seat (e.g. "Administrative capital", "Judicial capital"). Defaults to "Seat of government" if left blank whileseat1is filled.seat1– The first government seat. Row is hidden if left blank.seat2title– Label for the second government seat (e.g. "Legislative capital"). Defaults to "Seat of government" if left blank whileseat2is filled.seat2– The second government seat. Row is hidden if left blank.lang– Official language(s). Links to Portal:Languages.religion– Official state religion(s), or "None recognised" if secular.demnoun– Demonym as a noun (e.g. "Alexandrian", "Shirerithian").demadj– Demonym as an adjective, displayed as a sub-row under the demonym.govtype– Form of government (e.g. "Constitutional monarchy", "Federal republic"). Links to Form of government.headofstatetitle– Title of the head of state (e.g. "King", "President").headofstate– Name of the current head of state.headofgovernmenttitle– Title of the head of government (e.g. "Prime Minister", "Seneschal"). Only displayed ifheadofgovernmentis filled in.headofgovernment– Name of the current head of government. If left blank, the entire row is hidden.legislature– Name of the legislature or legislative body. Multiple chambers can be listed on separate lines.estdate– Date of establishment or founding, typically in AN format.founded_by– Person or group that founded the nation. Row is hidden if left blank.area– Total land area of the nation.pop– Simulated population figure. Links to List of countries by population.activepop– Number of active real-life participants. Row is hidden if left blank.gdp– Gross domestic product. Row is hidden if left blank.currency– National currency. Links to List of circulating currencies.calendar– Calendar system in use. Links to Portal:Calendars.timezone– Time zone(s), expressed as offsets from CMT. Multiple zones can be listed on separate lines.electricity– Mains electricity standard (e.g. "230V–50Hz").drives_on– Side of the road driven on ("Left" or "Right"). Links to List of left- and right-hand traffic.gauge– Railway track gauge (e.g. "Standard").site– URL or link to the nation's official website, if any.forum– Name or link to the nation's forum or subforum.animal– National animal.food– National food.drink– National drink.tree– National tree.abbrev– Standard FMF abbreviation for the nation (e.g. "NAX", "MER", "CRA").
Hidden optional parameters
These parameters are not in the blank example but are accepted by the template:
flagwidth– Overrides the default flag display width of 125px.coawidth– Overrides the default coat of arms display width of 85px.
| The above documentation is transcluded from Template:Infobox Nation Comprehensive/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Subpages of this template. |