Template:Country

From The Wiki of the Sun
Jump to navigation Jump to search
Country
{{{short name}}}
Years:
{{{years}}}
125px File:Unknown.png
Flag Coat of arms
Motto:
{{{motto}}}
Location of Country
Capital {{{capital}}}
Largest City {{{largest city}}}
Official languages {{{languages}}}
Ethnic groups {{{ethnic groups}}}
Religion {{{religion}}}
Demonym {{{demonym}}}
Government {{{government}}}
{{{leader title1}}} {{{leader name1}}}
{{{leader title2}}} {{{leader name2}}}
{{{leader title3}}} {{{leader name3}}}
{{{leader title4}}} {{{leader name4}}}
Legislature
{{{legislature title1}}} {{{legislature name1}}}
{{{legislature title2}}} {{{legislature name2}}}
Population
- Estimate {{{population}}}
- Density {{{density}}}
Currency {{{currency}}}
History
{{{history title1}}} {{{history date1}}}
{{{history title2}}} {{{history date2}}}
{{{history title3}}} {{{history date3}}}
{{{history title4}}} {{{history date4}}}
{{{history title5}}} {{{history date5}}}

Includes[edit source]

  • The compass image in the header is picto infobox map.png from Wikimedia. It does not require uploading to the wiki. Instead it is added to MediaWiki:Common.css. Giving it a class name of "map", this is added to MediaWiki:Common.css
.map {
    background: transparent url('https://upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png') no-repeat scroll right top;
}
In the header row of the infobox, the class is included to retrieve the image
! colspan=2 class="map" | {{{name}}} 
  • Infobox will only display the answered lines and sections


Clean template[edit source]

{{Country
 | full name     = 
 | short name    = 

 | years         = 

 | flag image    =  
 | flag width    = 
 | flag border   = 
 | flag of       = 

 | symbol image  =  
 | symbol width  = 
 | symbol type   = 

 | motto         = 

 | map image     = 
 | map width     = 

 | capital       =
 | largest city = 
 | city name  = 
 | languages     = 
 | ethnic groups = 
 | religion      = 
 | demonym       = 
 | currency      = 

 | government    = 
 | leader title1 = 
 | leader name1  = 
 | leader title2 = 
 | leader name2  =  
 | leader title3 = 
 | leader name3  = 
 | leader title4 = 
 | leader name4  = 

 | legislature   = 
 | upper house   = 
 | lower house   = 

 | population    = 
 | density       = 

 | history = History
 | history title1 =
 | history date1 =
 | history title2 = 
 | history date2 =
 | history title3 = 
 | history date3 =
 | history title4 = 
 | history date4 =
 | history title5 = 
 | history date5 =
}}

Template:Contents navbox