Difference between revisions of "Template:Infobox Nation"

From NSwiki, the NationStates encyclopedia.
Jump to: navigation, search
(something went wrong there...)
 
(98 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{| class="toccolours" border="1" cellpadding="4" style="float: right; margin: 0 0 1em 1em; border-collapse: collapse; font-size: 95%;"
+
{| class="infobox toccolours"
|+ style="font-size: larger; padding: 0 0 .1em 0;"| '''{{{title|{{PAGENAME}}}}}'''
+
|+ '''{{{title|{{PAGENAME}}}}}'''
| align="center" colspan="2" style="padding: 0.4em 0.8em 0.4em 0.8em;" |
+
{{Qif|test={{{emblem<includeonly>|</includeonly>}}}|then={{!}} align="center" colspan="2" style="padding: 0.4em 0.8em 0.4em 0.8em; border:0 !important;" {{!}}
{| style="text-align:center; background: none;"
+
  {{!}}- class="mergedrow"
| style="width: 130px; vertical-align: middle;" | {{{flag}}}
+
{{!}}colspan="2" class="maptable" align="center" style="padding:0.4em 0.8em 0.4em 0.8em;"{{!}}
{{Qif|{{{emblem}}}|{{!}} style="width: 130px; vertical-align: middle;" | [[Image:{{{emblem}}}|100px|{{{emblemtype}}} of {{{Name}}}]]|}}
+
{{{!}} width="100%" style="margin:0 auto; background:none; text-align:center;"
|- style="font-size: smaller;"
+
{{!}}-
| [[Flag]] {{Qif|{{{flagpage}}}|[[of {{{PAGENAME}}}]]|of {{PAGENAME}}}}  
+
{{!}} class="maptable" width="50%" style="vertical-align:middle; text-align:center;"{{!}} {{{flag}}}
{{Qif|{{{emblem}}}|{{!}} {{Qif|{{{emblempage}}}|[[{{{emblemtype}}} of {{{PAGENAME}}}]]|{{{emblemtype}}} of {{PAGENAME}}|}}}}
+
{{!}} class="maptable" width="50%" style="vertical-align:middle; text-align:center;"{{!}} {{{emblem}}}
|}{{Qif|{{{anthem}}}|
+
{{!}}-
{{!}}- style="font-size:95%"
+
{{!}} class="maptable" style="text-align:center;" {{!}}<small>{{{flagcaption|[[Flag]]}}}</small>
{{!}} colspan="2" {{!}} ''National Anthem: {{{anthem}}}''|}}
+
{{!}} class="maptable" style="text-align:center;" {{!}}<small>{{{emblemcaption|Emblem}}}</small>
 +
{{!}}}
 +
{{!}}-|else= {{!}} align="center" colspan="2" class="maptable" style="vertical-align: middle; width:130px; white-space:nowrap; text-align:center;" {{!}} {{{flag}}}
 +
  {{!}}-
 +
  {{!}}align="center" colspan="2" style="vertical-align: middle; width:130px; white-space:nowrap; text-align:center;" class="maptable" {{!}} <span style="text-align:center;">{{{flagcaption|[[Flag]] of {{PAGENAME}}}}}</span> }}
 
|-style="font-size:95%"
 
|-style="font-size:95%"
| colspan="2" style="text-align:center;" |''[[Motto]]: {{{motto}}}''{{Qif|{{{map}}}|{{!}}- style="background-color:white;"
+
| colspan="2" style="text-align:center; border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;" |''[[Motto]]: {{{motto}}}''{{Qif|test={{{anthem|}}}|then=|else=<div style="display:none;">}}
{{!}} colspan="2" style="text-align:center;" | {{{map|}}}|}}
+
{{Qif|test={{{anthem|}}}|then={{!}}-
|-
+
{{!}} colspan="2" style="text-align:center; border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em; font-size:95%" {{!}} ''[[National anthem|National Anthem]]: {{{anthem}}}''|else=</div>}}
| '''[[Region]]'''
+
|-style="font-size:95%;"
 +
| colspan="2" style="text-align:center; border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;" | {{{map|}}}
 +
|-  
 +
! [[Region]]
 
| {{{region}}}
 
| {{{region}}}
 
|-
 
|-
| '''[[Capital]]'''
+
! [[Capital]]
 
| {{{capital}}}
 
| {{{capital}}}
 +
|-{{Qif|test={{{largest_city<includeonly>|</includeonly>}}}|then=
 +
{{!}}-
 +
! Largest city
 +
{{!}} {{{largest_city}}}|else=}}
 
|-
 
|-
| '''[[Language|Official language(s)]]'''
+
! [[Language|Official Language(s)]]
 
| {{{language}}}
 
| {{{language}}}
|- style="border: 0; vertical-align:top;padding: 0 0.2em 0.2em 0.8em;"
+
|-
{{Qif
+
! {{Qif|test={{{leader|}}}|then=Leader|else=Government}}
  | test={{{government_type|}}}
+
|{{Qif|test={{{leader|}}}|then={{{leader}}}|else={{{government_type<includeonly>|</includeonly>}}}}}
  | then={{!}}'''Government'''
+
|- {{Qif|test={{{leader_title2<includeonly>|</includeonly>}}}|then=class="mergedrow"|else=class="mergedbottomrow"}}
  {{!}} {{{government_type}}}
+
{{Qif|test={{{leader_title1<includeonly>|</includeonly>}}}|then=
  {{!}}- style="border: 0; vertical-align:top;padding: 0 0.2em 0.2em 0.8em;"
+
{{!}} &nbsp;- {{{leader_title1}}} {{!}}{{!}} {{{leader_name1}}}
  {{!}}{{{leader_1}}} {{!}}{{!}} {{{leader}}}
+
  {{Qif
+
  |test={{{leader_2|}}}
+
  |then={{!}}-style="border: 0; vertical-align:top;padding: 0 0.2em 0.2em 0.8em;"
+
  {{!}} {{{leader_2}}} {{!}}{{!}} {{{leader_2_name}}}
+
  {{Qif
+
  |test={{{leader_3|}}}
+
  |then={{!}}-style="border: 0; vertical-align:top;padding: 0 0.2em 0.2em 0.8em;"
+
  {{!}} {{{leader_3}}} {{!}}{{!}} {{{leader_3_name}}}
+
  {{Qif
+
  |test={{{leader_4|}}}
+
  |then={{!}}-style="border: 0; vertical-align:top;padding: 0 0.2em 0.2em 0.8em;"
+
  {{!}} {{{leader_4}}} {{!}}{{!}} {{{leader_4_name}}}
+
  | else=
+
  }}
+
  | else=
+
  }}
+
  | else=
+
  }}
+
  | else={{!}}'''Leader'''{{!}}{{!}}{{{leader}}}
+
 
}}
 
}}
|-{{Qif|{{{largest_city|}}}|
+
|- {{Qif|test={{{leader_title3<includeonly>|</includeonly>}}}|then=class="mergedrow"|else=class="mergedbottomrow"}}
{{!}}-
+
{{Qif|test={{{leader_title2<includeonly>|</includeonly>}}}|then=
{{!}} '''Largest city''' {{!}}{{!}} {{{largest_city}}}}}
+
{{!}} &nbsp;- {{{leader_title2}}} {{!}}{{!}} {{{leader_name2}}}
{{Qif|{{{area}}}|
+
{{!}}- 
+
{{!}} '''[[Area]]''' {{!}}{{!}}
+
{{!}}- style="border: 0; padding: 0 0.2em 0.2em 0.8em;"
+
{{!}} &nbsp;- Total  {{!}}{{!}} {{{area}}}
+
{{!}}-style="border: 0; padding: 0 0.2em 0.2em 0.8em;"
+
{{!}} &nbsp;- % water {{!}}{{!}} {{{pcwater}}}|
+
 
}}
 
}}
|- style="border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.2em 0.8em;"
+
|- {{Qif|test={{{leader_title4<includeonly>|</includeonly>}}}|then=class="mergedrow"|else=class="mergedbottomrow"}}
| '''[[Population]]''' || {{{population}}}  
+
{{Qif|test={{{leader_title3<includeonly>|</includeonly>}}}|then=
|-{{Qif|{{{economicstats}}}|class="mergedbottomrow"
+
{{!}} &nbsp;- {{{leader_title3}}} {{!}}{{!}} {{{leader_name3}}}
{{!}} &nbsp;- [[Household income in the United States#Income by state|Median income]]<sup>&nbsp;</sup> {{!}}{{!}} {{{MedianHouseholdIncome}}} ({{{IncomeRank}}}) }}
+
}}
 +
|- {{Qif|test={{{leader_title5<includeonly>|</includeonly>}}}|then=class="mergedrow"|else=class="mergedbottomrow"}}
 +
{{Qif|test={{{leader_title4<includeonly>|</includeonly>}}}|then=
 +
{{!}} &nbsp;- {{{leader_title4}}} {{!}}{{!}} {{{leader_name4}}}
 +
}}
 +
|- class="mergedbottomrow"
 +
{{Qif|test={{{leader_title5<includeonly>|</includeonly>}}}|then=
 +
{{!}} &nbsp;- {{{leader_title5}}} {{!}}{{!}} {{{leader_name5}}}
 +
}}
 +
<!-----Sovereignty----->
 +
|-
 +
{{Qif|test={{{sovereignty_type<includeonly>|</includeonly>}}}|then=
 +
! class="mergedtoprow" {{!}} {{{sovereignty_type}}}
 +
{{!}} {{{sovereignty_note<includeonly>|</includeonly>}}}
 +
{{!}}-{{Qif|test={{{established_event2<includeonly>|</includeonly>}}}|then=class="mergedrow"|else=class="mergedbottomrow"}}
 +
 
 +
<!-----Significant events in country/territory's establishment----->
 +
{{Qif|test={{{established_event1<includeonly>|</includeonly>}}}|then=
 +
{{!}} &nbsp;- {{{established_event1}}} {{!}}{{!}} {{{established_date1|}}}&nbsp;
 +
}}
 +
{{!}}- {{Qif|test={{{established_event3<includeonly>|</includeonly>}}}|then=class="mergedrow"|else=class="mergedbottomrow"}}
 +
{{Qif|test={{{established_event2<includeonly>|</includeonly>}}}|then=
 +
{{!}} &nbsp;- {{{established_event2}}} {{!}}{{!}} {{{established_date2|}}}&nbsp;
 +
}}
 +
{{!}}- {{Qif|test={{{established_event4<includeonly>|</includeonly>}}}|then=class="mergedrow"|else=class="mergedbottomrow"}}
 +
{{Qif|test={{{established_event3<includeonly>|</includeonly>}}}|then=
 +
{{!}} &nbsp;- {{{established_event3}}} {{!}}{{!}} {{{established_date3|}}}&nbsp;
 +
}}
 +
{{!}}-{{Qif|test={{{established_event5<includeonly>|</includeonly>}}}|then=class="mergedrow"|else=class="mergedbottomrow"}}
 +
{{Qif|test={{{established_event4<includeonly>|</includeonly>}}}|then=
 +
{{!}} &nbsp;- {{{established_event4}}} {{!}}{{!}} {{{established_date4|}}}&nbsp;
 +
}}
 +
{{!}}- {{Qif|test={{{established_event6<includeonly>|</includeonly>}}}|then=class="mergedrow"|else=class="mergedbottomrow"}}
 +
{{Qif|test={{{established_event5<includeonly>|</includeonly>}}}|then=
 +
{{!}} &nbsp;- {{{established_event5}}} {{!}}{{!}} {{{established_date5|}}}&nbsp;
 +
}}
 +
{{!}}- {{Qif|test={{{established_event7<includeonly>|</includeonly>}}}|then=class="mergedrow"|else=class="mergedbottomrow"}}
 +
{{Qif|test={{{established_event6<includeonly>|</includeonly>}}}|then=
 +
{{!}} &nbsp;- {{{established_event6}}} {{!}}{{!}} {{{established_date6|}}}&nbsp;
 +
}}
 +
{{!}}- {{Qif|test={{{established_event8<includeonly>|</includeonly>}}}|then=class="mergedrow"|else=class="mergedbottomrow"}}
 +
{{Qif|test={{{established_event7<includeonly>|</includeonly>}}}|then=
 +
{{!}} &nbsp;- {{{established_event7}}} {{!}}{{!}} {{{established_date7|}}}&nbsp;
 +
}}
 +
{{!}}- {{Qif|test={{{established_event9<includeonly>|</includeonly>}}}|then=class="mergedrow"|else=class="mergedbottomrow"}}
 +
{{Qif|test={{{established_event8<includeonly>|</includeonly>}}}|then=
 +
{{!}} &nbsp;- {{{established_event8}}} {{!}}{{!}} {{{established_date8|}}}&nbsp;
 +
}}
 +
{{!}}- class="mergedbottomrow"
 +
{{Qif|test={{{established_event9<includeonly>|</includeonly>}}}|then=
 +
{{!}} &nbsp;- {{{established_event9}}} {{!}}{{!}} {{{established_date9|}}}&nbsp;
 +
}}|else=}}
 
|-class="mergedtoprow"
 
|-class="mergedtoprow"
| '''[[List of U.S. states by elevation|Elevation]]''' || &nbsp;
+
{{Qif|
|-class="mergedrow"
+
test={{{area<includeonly>|</includeonly>}}}|
| &nbsp;- [[List of U.S. states by elevation#Listed by highest point|Highest point]]
+
then =
| {{{HighestPoint}}}<br/>{{{HighestElevUS}}}&nbsp;ft&nbsp; ({{{HighestElev}}} m)
+
{{!}} style="border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;"{{!}}'''Area'''  
|-class="mergedrow"
+
{{!}} style="border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;" {{!}}
| &nbsp;- [[List of U.S. states by elevation#Listed by mean elevation|Mean]] |{{{MeanElevUS}}}&nbsp;ft&nbsp; ({{{MeanElev}}} m)
+
{{!}}- class="mergedrow"
 +
{{!}} style="border: 0; padding: 0 0.2em 0.2em 0.8em;" {{!}}&nbsp;- Total
 +
{{!}} style="border: 0; padding: 0 0.2em 0.2em 0.8em;" {{!}} {{{area}}}
 +
{{!}}-class="mergedbottomrow"
 +
{{!}} &nbsp;- % water
 +
{{!}} {{{pcwater}}}
 +
|else=
 +
}}
 +
|-
 +
! [[Population]]  
 +
| {{{population}}}
 +
|-{{Qif|test={{{gdp<includeonly>|</includeonly>}}}|then=
 +
{{!}}- class="mergedtoprow"
 +
! [[Wikipedia:Gross domestic product|GDP]]''' ([[Wikipedia:Purchasing Power Parity|PPP]])
 +
{{!}}{{{gdp_year|}}}
 +
{{!}}- class="mergedrow"
 +
{{!}} &nbsp;- Total
 +
{{!}}{{{gdp}}}
 +
{{!}}- class="mergedbottomrow"
 +
{{!}} &nbsp;- Per capita
 +
{{!}}{{{gdppercapita}}}
 +
|else=}}
 +
|-{{Qif|test={{{solstat<includeonly>|</includeonly>}}}|
 +
then=
 +
{{!}}
 +
! {{{solstat_type}}}
 +
{{!}} {{{solstat}}}|
 +
else=
 +
}}
 +
|-
 +
! [[Currency]]
 +
| {{{currency}}}&nbsp;{{Qif|test={{{currency_code<includeonly>|</includeonly>}}}|then=(<code>[[Nation codes|{{{currency_code}}}]]</code>)|else=}}
 +
|-{{Qif|test={{{timezone<includeonly>|</includeonly>}}}|
 +
then=
 +
{{!}}-
 +
{{!}}style="border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;"{{!}} '''Timezone'''
 +
{{!}}style="border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;"{{!}} {{{timezone}}}
 +
{{!}}-
 +
{{!}}style="border: 0; vertical-align:top; padding: 0 0.2em 0.2em 0.8em;"{{!}} &nbsp;- Summer ([[Wikipedia:DST|DST]])
 +
{{!}}style="border: 0; vertical-align:top; padding: 0 0.2em 0.2em 0.8em;"{{!}} {{{dsttimezone}}}|
 +
else=
 +
}}
 +
|- {{Qif|test={{{cctld<includeonly>|</includeonly>}}}|
 +
then=
 +
{{!}}
 +
!style="border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;"{{!}} [[Nation codes|Internet TLD]]
 +
{{!}}style="border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;"{{!}} {{{cctld}}}
 +
{{!}}-
 +
!style="border: 0; vertical-align:top; padding: 0 0.2em 0.4em 0.8em;"{{!}} [[Nation codes|Calling code]]
 +
{{!}}style="border: 0; vertical-align:top; padding: 0 0.2em 0.4em 0.8em;"{{!}} <code>+{{{callingcode}}}</code>
 +
{{!}}-
 +
!style="border: 0; vertical-align:top; padding: 0 0.2em 0.4em 0.8em;"{{!}} [[Nation codes|ISO Code]]
 +
{{!}}style="border: 0; vertical-align:top; padding: 0 0.2em 0.4em 0.8em;"{{!}} <code>{{{iso}}}</code>
 +
|else=
 +
}}
 
|-
 
|-
| '''Abbreviations'''
+
| colspan='2' style="text-align:center; border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.2em;" | {{{statsbox|{{Qif|test={{{nationstats<includeonly>|</includeonly>}}}|then=<small>[http://www.nationstates.net/{{{nationstats}}} NS] [http://www.sunsetrpg.com/economystatistics.php?nation={{{nationstats}}} Sunset] [http://www.nationstates.net/cgi-bin/nationdata.cgi/nation={{{nationstats}}} XML]</small>
| [[U.S. postal abbreviations|{{{PostalAbbreviation| }}}]] [[List of U.S. states by traditional abbreviation|{{{TradAbbreviation| }}}]] [[ISO 3166-2|{{{ISOCode| }}}]]
+
|else=<small>[http://www.nationstates.net/{{PAGENAMEE}} NS] [http://www.sunsetrpg.com/economystatistics.php?nation={{PAGENAMEE}} Sunset] [http://www.nationstates.net/cgi-bin/nationdata.cgi/nation={{PAGENAMEE}} XML]</small>}}}}}
 
|-
 
|-
| '''Web site'''
 
| [http://{{{Website}}}/ {{{Website}}}]
 
|-{{#if: {{{Footnotes|}}}| style="font-size: smaller;"
 
{{!}} colspan="2" {{!}} {{{Footnotes}}} }}
 
 
|}
 
|}

Latest revision as of 22:33, 7 November 2007

Infobox Nation
{{{flag}}} {{{emblem}}}
Flag Emblem
Motto: {{{motto}}}
Region {{{region}}}
Capital {{{capital}}}
Largest city {{{largest_city}}}
Official Language(s) {{{language}}}
Government {{{government_type}}}
 - {{{leader_title1}}} {{{leader_name1}}}
 - {{{leader_title2}}} {{{leader_name2}}}
 - {{{leader_title3}}} {{{leader_name3}}}
 - {{{leader_title4}}} {{{leader_name4}}}
 - {{{leader_title5}}} {{{leader_name5}}}
{{{sovereignty_type}}} {{{sovereignty_note}}}
 - {{{established_event1}}}  
 - {{{established_event2}}}  
 - {{{established_event3}}}  
 - {{{established_event4}}}  
 - {{{established_event5}}}  
 - {{{established_event6}}}  
 - {{{established_event7}}}  
 - {{{established_event8}}}  
 - {{{established_event9}}}  
Area
 - Total {{{area}}}
 - % water {{{pcwater}}}
Population {{{population}}}
GDP (PPP)
 - Total {{{gdp}}}
 - Per capita {{{gdppercapita}}}
{{{solstat_type}}} {{{solstat}}}
Currency {{{currency}}} ({{{currency_code}}})
Timezone {{{timezone}}}
 - Summer (DST) {{{dsttimezone}}}
Internet TLD {{{cctld}}}
Calling code +{{{callingcode}}}
ISO Code {{{iso}}}
NS Sunset XML