Difference between revisions of "Template:Country"
From Spirits of the Earth
m |
|||
Line 1: | Line 1: | ||
− | {| style=" | + | <includeonly>{| class="toccolours" style="float: right; margin: 0 0 1em 1em; width: 22em; font-size: 90%; clear:right;" cellspacing="5" |
|- | |- | ||
− | | colspan="2" style="text-align:center; font-size: | + | | colspan="2" style="text-align: center; font-size: larger;" | '''{{{title|{{PAGENAME}}}}}''' |
− | |- | + | |- style="vertical-align: top; text-align: left;" class="{{if|test={{{name|}}}|else=hiddenStructure}}" |
− | + | | '''Capital''' | |
− | |- | + | | {{{capital}}} |
− | + | |- style="vertical-align: top; text-align: left;" class="{{if|test={{{age|}}}|else=hiddenStructure}}" | |
− | | {{{ | + | | '''Ethnic makeup''' |
− | |- | + | | {{{ethnicity}}} |
− | + | |- style="vertical-align: top; text-align: left;" class="{{if|test={{{occupation|}}}|else=hiddenStructure}}" | |
− | | {{{ | + | |'''Demonym''' |
− | |- | + | | {{{demonym}}} |
− | + | |- style="vertical-align: top; text-align: left;" class="{{if|test={{{residence|}}}|else=hiddenStructure}}" | |
− | | {{{ | + | | '''Colors''' |
− | | | + | | {{{colors}}} |
− | | | + | |- style="vertical-align: top; text-align: left;" class="{{if|test={{{debut|}}}|else=hiddenStructure}}" |
− | |} | + | | '''Emblem''' |
+ | | {{{emblem}}} | ||
+ | |- style="vertical-align: top; text-align: left;" class="{{if|test={{{death|}}}|else=hiddenStructure}}" | ||
+ | | '''Government''' | ||
+ | | {{{government}}} | ||
+ | |}</includeonly><noinclude> | ||
+ | '''Example Code''' | ||
+ | ---- | ||
+ | <pre> | ||
+ | {{Country | ||
+ | |title= | ||
+ | |capital= | ||
+ | |ethnicity= | ||
+ | |demonym= | ||
+ | |colors= | ||
+ | |emblem= | ||
+ | |government= | ||
+ | }} | ||
+ | </pre> | ||
+ | [[Category:Infobox Templates|Countries]] | ||
+ | Note: If anything isn't filled in, the template will just skip over it, except in the case of "title" in which case the page's name will be used instead (making that field generally unnecessary.) | ||
+ | </noinclude> |
Revision as of 21:10, 19 July 2009
Example Code
{{Country |title= |capital= |ethnicity= |demonym= |colors= |emblem= |government= }}
Note: If anything isn't filled in, the template will just skip over it, except in the case of "title" in which case the page's name will be used instead (making that field generally unnecessary.)