Difference between revisions of "Template:Infobox nation"

From Taijitu
Jump to: navigation, search
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| border=1 align=right cellpadding=4 cellspacing=0 width=300 style="margin: 0 0 1em 1em; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; font-size: 95%;"
+
{|align=right cellpadding=4 cellspacing=0 width=300 class="infobox" style="margin: 0 0 1em 1em; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; font-size: 95%;"
|+<big>'''{{{Name}}}'''</big>
+
 
 +
!colspan=2 style="color: {{{text_color|black}}}; background-color: {{{color|{{Color|{{{Name|}}}}}}}}"|<big>{{{Full Name|{{{Name}}}}}}</big>
 +
|-
 
| align="center" colspan="2"|
 
| align="center" colspan="2"|
 
{| border=0 cellpadding=2 cellspacing=0 style="background:#f9f9f9; text-align:center;"
 
{| border=0 cellpadding=2 cellspacing=0 style="background:#f9f9f9; text-align:center;"
Line 7: Line 9:
 
| width="130px"| <small>[[Flag of {{{Name}}}]]</small>
 
| width="130px"| <small>[[Flag of {{{Name}}}]]</small>
 
|}
 
|}
 +
|-
 +
| align="center" colspan="2"|
 +
{{#if: {{{Arms|}}}|
 +
{{{!}} border=0 cellpadding=2 cellspacing=0 style="background:#f9f9f9; text-align:center;"
 +
{{!}} width="130px" {{!}}[[image:{{{Arms}}}{{!}}125px{{!}}Arms of {{{Name}}}]]
 +
{{!-}}
 +
{{!}} width="130px"{{!}} <small>[[Arms of {{{Name}}}]]</small>
 +
{{!}}}
 +
}}
 
|-
 
|-
 
| align=center colspan=2 | <small>''Motto: {{{Motto}}}''</small>
 
| align=center colspan=2 | <small>''Motto: {{{Motto}}}''</small>
 
|-
 
|-
| align=center colspan=2 | <small>''Anthem: {{{Anthem}}}''</small>
+
{{#if: {{{Anthem|}}}|{{!}} align=center colspan=2 {{!}} <small>''Anthem: {{{Anthem}}}''</small>}}
 
|-
 
|-
| align=center colspan=2 style="background:#f9f9f9;" | [[image:{{{Map}}}|Map of {{{Name}}} highlighted|280px]]
+
{{#if: {{{Map|}}}|
 +
{{!}} align=center colspan=2 style="background:#f9f9f9;" {{!}} [[image:{{{Map}}}{{!}}Map of {{{Name}}} highlighted{{!}}280px]]
 +
}}
 
|-
 
|-
|'''Capital''' || {{{Capital}}}
+
!Capital  
 +
| {{{Capital}}}
 
|-
 
|-
|'''Largest city''' || {{{Largest city}}}
+
{{#if: {{{Largest city|}}}|!Largest city
 +
{{!}} {{{Largest city}}}|}}
 
|-
 
|-
|'''Population''' || {{{Population}}}
+
!Population  
 +
| {{{Population}}}
 
|-
 
|-
|'''Official language''' || {{{Language}}}
+
{{#if: {{{Language|}}}|!Official language  
 +
{{!}} {{{Language}}}}}
 
|-
 
|-
|'''Demonym''' || {{{Demonym}}}
+
{{#if: {{{Demonym|}}}|!Demonym
 +
{{!}} {{{Demonym}}}}}
 
|-
 
|-
|'''Government''' || {{{Government}}}
+
{{#if: {{{Government|}}}|!Government
 +
{{!}} {{{Government}}}}}
 
|-
 
|-
|'''Head of state || {{{Head of State}}}
+
{{#if: {{{Head of State|}}}|!Head of state
 +
{{!}} {{{Head of State}}}}}
 
|-
 
|-
|'''Head of government''' || {{{Head of Government}}}
+
{{#if: {{{Head of Government|}}}|!Head of Government
 +
{{!}} {{{Head of Government}}}}}
 
|-
 
|-
|'''Legislature''' || {{{Legislature}}}
+
{{#if: {{{Legislature|}}}|!Legislature
 +
{{!}} {{{Legislature}}}}}
 
|-
 
|-
|'''Area''' || {{{Area}}}
+
{{#if: {{{Area|}}}|!Area
 +
{{!}} {{{Area}}}}}
 
|-
 
|-
|'''GDP''' || {{{GDP}}}
+
{{#if: {{{GDP|}}}|!GDP
 +
{{!}} {{{GDP}}}}}
 
|-
 
|-
|'''GDP (nominal) || {{{GDP nominal}}}
+
{{#if: {{{GDP nominal|}}}|!GDP (nominal)  
 +
{{!}} {{{GDP nominal}}}}}
 
|}<noinclude>
 
|}<noinclude>
 
[[Category:infobox templates]]
 
[[Category:infobox templates]]
 
</noinclude>
 
</noinclude>
 +
<includeonly>
 +
[[Category:RP Nations]]
 +
</includeonly>

Latest revision as of 17:24, 8 June 2011

{{{Name}}}
[[image:{{{Flag}}}|125px|Flag of {{{Name}}}]]
[[Flag of {{{Name}}}]]
Motto: {{{Motto}}}
Capital {{{Capital}}}
Population {{{Population}}}