Difference between revisions of "Template:Infobox Nation"

From NSwiki, the NationStates encyclopedia.
Jump to: navigation, search
 
(something went wrong there...)
 
(112 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{{blargh|STYLE}}},{{{run|BLARGH}}}
+
{| class="infobox toccolours"
 +
|+  '''{{{title|{{PAGENAME}}}}}'''
 +
{{Qif|test={{{emblem<includeonly>|</includeonly>}}}|then={{!}} align="center" colspan="2" style="padding: 0.4em 0.8em 0.4em 0.8em; border:0 !important;" {{!}}
 +
  {{!}}- class="mergedrow"
 +
{{!}}colspan="2" class="maptable" align="center" style="padding:0.4em 0.8em 0.4em 0.8em;"{{!}}
 +
{{{!}} width="100%" style="margin:0 auto; background:none; text-align:center;"
 +
{{!}}-
 +
{{!}} class="maptable" width="50%" style="vertical-align:middle; text-align:center;"{{!}} {{{flag}}}
 +
{{!}} class="maptable" width="50%" style="vertical-align:middle; text-align:center;"{{!}} {{{emblem}}}
 +
{{!}}-
 +
{{!}} class="maptable" style="text-align:center;" {{!}}<small>{{{flagcaption|[[Flag]]}}}</small>
 +
{{!}} 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%"
 +
| 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;">}}
 +
{{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>}}
 +
|-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}}}
 +
|-
 +
! [[Capital]]
 +
| {{{capital}}}
 +
|-{{Qif|test={{{largest_city<includeonly>|</includeonly>}}}|then=
 +
{{!}}-
 +
! Largest city
 +
{{!}} {{{largest_city}}}|else=}}
 +
|-
 +
! [[Language|Official Language(s)]]
 +
| {{{language}}}
 +
|-
 +
! {{Qif|test={{{leader|}}}|then=Leader|else=Government}}
 +
|{{Qif|test={{{leader|}}}|then={{{leader}}}|else={{{government_type<includeonly>|</includeonly>}}}}}
 +
|- {{Qif|test={{{leader_title2<includeonly>|</includeonly>}}}|then=class="mergedrow"|else=class="mergedbottomrow"}}
 +
{{Qif|test={{{leader_title1<includeonly>|</includeonly>}}}|then=
 +
{{!}} &nbsp;- {{{leader_title1}}} {{!}}{{!}} {{{leader_name1}}}
 +
}}
 +
|- {{Qif|test={{{leader_title3<includeonly>|</includeonly>}}}|then=class="mergedrow"|else=class="mergedbottomrow"}}
 +
{{Qif|test={{{leader_title2<includeonly>|</includeonly>}}}|then=
 +
{{!}} &nbsp;- {{{leader_title2}}} {{!}}{{!}} {{{leader_name2}}}
 +
}}
 +
|- {{Qif|test={{{leader_title4<includeonly>|</includeonly>}}}|then=class="mergedrow"|else=class="mergedbottomrow"}}
 +
{{Qif|test={{{leader_title3<includeonly>|</includeonly>}}}|then=
 +
{{!}} &nbsp;- {{{leader_title3}}} {{!}}{{!}} {{{leader_name3}}}
 +
}}
 +
|- {{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"
 +
{{Qif|
 +
test={{{area<includeonly>|</includeonly>}}}|
 +
then =
 +
{{!}} style="border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;"{{!}}'''Area'''
 +
{{!}} style="border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;" {{!}}
 +
{{!}}- 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=
 +
}}
 +
|-
 +
| 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>
 +
|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>}}}}}
 +
|-
 +
|}

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