Difference between revisions of "Template:Infobox Nation"

From NSwiki, the NationStates encyclopedia.
Jump to: navigation, search
(saving to make sure I don't lose this - stable version)
Line 2: Line 2:
 
|+ '''{{{title|{{PAGENAME}}}}}'''
 
|+ '''{{{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;" {{!}}
 
{{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"
+
   {{!}}- class="mergedrow"
 
{{!}}colspan="2" class="maptable" align="center" style="padding:0.4em 0.8em 0.4em 0.8em;"{{!}}  
 
{{!}}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;"
 
{{{!}} width="100%" style="margin:0 auto; background:none; text-align:center;"
{{!-}}
+
{{!}}-
 
{{!}} class="maptable" width="50%" style="vertical-align:middle; text-align:center;"{{!}} <span style="border:1px solid #bbbbbb;">{{{flag}}}</span>
 
{{!}} class="maptable" width="50%" style="vertical-align:middle; text-align:center;"{{!}} <span style="border:1px solid #bbbbbb;">{{{flag}}}</span>
 
{{!}} class="maptable" width="50%" style="vertical-align:middle; text-align:center;"{{!}} {{{emblem}}}
 
{{!}} 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>{{{flagcaption|[[Flag]]}}}</small>
 
{{!}} class="maptable" style="text-align:center;" {{!}}<small>{{{emblemcaption|Emblem}}}</small>
 
{{!}} class="maptable" style="text-align:center;" {{!}}<small>{{{emblemcaption|Emblem}}}</small>
 
{{!}}}
 
{{!}}}
{{!-}}|else= {{!}} align="center" colspan="2" style="padding: 0.4em 0.8em 0.4em 0.8em; border:0 !important; style="vertical-align: middle; width:130px; white-space:nowrap; text-align:center;" colspan="2" {{!}} {{{flag}}}
+
{{!}}-|else= {{!}} align="center" colspan="2" style="padding: 0.4em 0.8em 0.4em 0.8em; border:0 !important; style="vertical-align: middle; width:130px; white-space:nowrap; text-align:center;" colspan="2" {{!}} {{{flag}}}
   {{!-}}
+
   {{!}}-
 
   {{!}}align="center" colspan="2" style="padding: 0.4em 0.8em 0.4em 0.8em; border:0 !important; style="vertical-align: middle; width:130px; white-space:nowrap; text-align:center;" class="maptable" {{!}} <span style="text-align:center;">{{{flagcaption|[[Flag]] of {{PAGENAME}}}}}</span> }}
 
   {{!}}align="center" colspan="2" style="padding: 0.4em 0.8em 0.4em 0.8em; border:0 !important; 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%"
Line 117: Line 117:
 
|style="border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;" | '''[[Population]]'''  
 
|style="border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;" | '''[[Population]]'''  
 
|style="border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;"| {{{population}}}
 
|style="border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;"| {{{population}}}
|-{{Qif|{{{gdp|}}}|
+
|-{{Qif|test={{{gdp<includeonly>|</includeonly>}}}|then=
{{!}}-
+
{{!}}- class="mergedtoprow"
{{!}}style="border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;"{{!}} '''[[Wikipedia:Gross domestic product|GDP]]''' ([[Wikipedia:Purchasing Power Parity|PPP]])
+
! [[Wikipedia:Gross domestic product|GDP]]''' ([[Wikipedia:Purchasing Power Parity|PPP]])
{{!}} style="border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;" {{!}}{{{gdp_year|}}}
+
{{!}}{{{gdp_year|}}}
{{!}}-  
+
{{!}}- class="mergedrow"
{{!}}style="border: 0; vertical-align:top; padding: 0 0.2em 0.2em 0.8em;"{{!}} &nbsp;- Total
+
{{!}} &nbsp;- Total
 
{{!}}{{{gdp}}}
 
{{!}}{{{gdp}}}
{{!}}-  
+
{{!}}- class="mergedbottomrow"
{{!}}style="border: 0; vertical-align:top; padding: 0 0.2em 0.2em 0.8em;"{{!}} &nbsp;- Per capita
+
{{!}} &nbsp;- Per capita
 
{{!}}{{{gdppercapita}}}
 
{{!}}{{{gdppercapita}}}
|}}
+
|else=}}
|-{{Qif|test={{{solstat|}}}|
+
|-{{Qif|test={{{solstat<includeonly>|</includeonly>}}}|
 
   then=
 
   then=
 
   {{!}}
 
   {{!}}
   {{!}}style="border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;"{{!}} {{{solstat_type}}}
+
   ! {{{solstat_type}}}
   {{!}}style="border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;"{{!}} {{{solstat}}}|
+
   {{!}} {{{solstat}}}|
 
   else=
 
   else=
 
   }}
 
   }}
Line 138: Line 138:
 
|style="border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;" | '''[[Currency]]'''  
 
|style="border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;" | '''[[Currency]]'''  
 
|style="border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;"| {{{currency}}} {{{currency_code|}}}
 
|style="border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;"| {{{currency}}} {{{currency_code|}}}
|-{{Qif|test={{{timezone|}}}|
+
|-{{Qif|test={{{timezone<includeonly>|</includeonly>}}}|
 
   then=
 
   then=
 
   {{!}}-
 
   {{!}}-
Line 148: Line 148:
 
   else=
 
   else=
 
   }}
 
   }}
|- {{Qif|test={{{cctld|}}}|
+
|- {{Qif|test={{{cctld<includeonly>|</includeonly>}}}|
 
   then=
 
   then=
 
   {{!}}
 
   {{!}}
Line 155: Line 155:
 
   {{!}}-
 
   {{!}}-
 
   {{!}}style="border: 0; vertical-align:top; padding: 0 0.2em 0.2em 0.8em;"{{!}} '''[[Nation codes|Calling code]]'''
 
   {{!}}style="border: 0; vertical-align:top; padding: 0 0.2em 0.2em 0.8em;"{{!}} '''[[Nation codes|Calling code]]'''
   {{!}}style="border: 0; vertical-align:top; padding: 0 0.2em 0.2em 0.8em;"{{!}} +{{{callingcode}}}|
+
   {{!}}style="border: 0; vertical-align:top; padding: 0 0.2em 0.2em 0.8em;"{{!}} <code>+{{{callingcode}}}</code>|
 
   else=
 
   else=
 
   }}
 
   }}
 
|-
 
|-
| colspan='2' style="text-align:center; border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.2em;" | {{{statsbox|<small>[http://www.nationstates.net/{{PAGENAMEE}} NS] [http://nseconomy.thirdgeek.com/nseconomy.php?nation={{PAGENAMEE}} NSEconomy] [http://www.pipian.com/stuffforchat/gdpcalc2.php?nation={{PAGENAMEE}} Pipian] [http://www.nationstates.net/cgi-bin/nationdata.cgi/nation={{PAGENAMEE}} XML]</small>}}}
+
| colspan='2' style="text-align:center; border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.2em;" | {{{statsbox|<small>[http://www.nationstates.net/{{PAGENAMEE}} NS] [http://nseconomy.thirdgeek.com/nseconomy.php?nation={{PAGENAMEE}} NSEconomy] [http://www.pipian.com/stuffforchat/gdpcalc2.php?nation={{PAGENAMEE}} Pipian] [http://www.sunsetrpg.com/economystatistics.php?nation={{PAGENAMEE}} Sunset] [http://www.nationstates.net/cgi-bin/nationdata.cgi/nation={{PAGENAMEE}} XML]</small>}}}
|-
+
| colspan=2 | <small>{{{footnotes|}}}</small>
+
 
|-
 
|-
 
|}
 
|}

Revision as of 15:16, 10 November 2006

class="mergedrow"
Infobox Nation
{{{flag}}} {{{emblem}}}
Flag Emblem
Motto: {{{motto}}}
Region {{{region}}}
Capital {{{capital}}}
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_event6}}}  
 - {{{established_event7}}}  
 - {{{established_event8}}}  
 - {{{established_event9}}}  
Population {{{population}}}
GDP (PPP)
 - Total {{{gdp}}}
 - Per capita {{{gdppercapita}}}
{{{solstat_type}}} {{{solstat}}}
Currency {{{currency}}}
Timezone {{{timezone}}}
 - Summer (DST) {{{dsttimezone}}}
Internet TLD {{{cctld}}}
Calling code +{{{callingcode}}}
NS NSEconomy Pipian Sunset XML