Template:City

From the Other Universe
Jump to navigationJump to search
City
{{{short name}}}
Unknown.png Unknown.png
Flag Logo
Location of City
Location of City
Country {{{country}}}
Province {{{province}}}
Settled {{{settled}}}
Demonym {{{demonym}}}
Government {{{government}}}
{{{leader title1}}} {{{leader name1}}}
Area
- Urban {{{urban}}}
- Metro {{{metro}}}
Population
- Urban {{{urbanpop}}}
- Metro {{{metropop}}}
Time zone {{{time}}}
Area codes {{{codes}}}

Original


Includes

  • 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

{{City
 | full name     = 
 | short name    = 

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

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

 | map image     = 
 | map width     = 

 | country       =  
 | province      =  
 | settled       = 
 | demonym       = 
 | government    = 
 | leader title1 = 
 | leader name1  = 

 | area          = 
 | urban         = 
 | metro         = 

 | population    = 
 | urbanpop      = 
 | metropop      =

 | time          = 
 | codes         = 
}}