Difference between revisions of "Template:Infobox nation"

From Taijitu
Jump to: navigation, search
m (made stuff optional, added map)
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%;"
 
{| 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%;"
|+<big>'''{{{Name}}}'''</big>
+
!+<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 7:
 
| width="130px"| <small>[[Flag of {{{Name}}}]]</small>
 
| width="130px"| <small>[[Flag of {{{Name}}}]]</small>
 
|}
 
|}
 +
|-
 +
{{#if: {{{Map|}}}|
 +
{| border=0 cellpadding=2 cellspacing=0 style="background:#f9f9f9; text-align:center;"
 +
| width="130px"| [[image:{{{Map}}}|125px|Map of {{{Name}}}]]
 +
|-
 +
| width="130px"| <small>[[Map of {{{Name}}}]]</small>
 +
|}
 +
}}
 
|-
 
|-
 
| align=center colspan=2 | <small>''Motto: {{{Motto}}}''</small>
 
| align=center colspan=2 | <small>''Motto: {{{Motto}}}''</small>
Line 16: Line 24:
 
|'''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>

Revision as of 11:33, 2 July 2010

border=0 cellpadding=2 cellspacing=0 style="background:#f9f9f9; text-align:center;"
+{{{Name}}}
[[image:{{{Flag}}}|125px|Flag of {{{Name}}}]]
[[Flag of {{{Name}}}]]
Motto: {{{Motto}}}
Anthem: {{{Anthem}}}
[[image:{{{Map}}}|Map of {{{Name}}} highlighted|280px]]
Capital {{{Capital}}}
Population {{{Population}}}