Template:Location infobox

From Toon Wiki

<infobox theme-source="nation"> <image source="image" /> <title source="name"><default>Location infobox</default></title> <group> <header>Physical information</header> <label>Location</label> </group> <group> <header>Government</header> <label>Position</label> <label>Capital</label> <label>Form of government</label> <label>Head of state</label> <label>Religious authority</label> <label>Currency</label> <label>Ruler</label> <label>Owner</label> <label>Leader</label> <label>Administrator</label> <label>First appearance</label> <label>Last appearance</label> </group> <group> <header>Location on map</header> </group> <header></header> </infobox>

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to create an infobox for locations in the Avatar world.
Dependencies
Syntax
Type {{Location infobox|<...>}} somewhere, with parameters as shown below.
{{Location infobox
| nation     = 
| image	     = 
| name	     = 
| location   = 
| position   = 
| capital    = 
| govtype    = 
| statehead  = 
| holyhead   = 
| currency   = 
| ruler	     = 
| owner	     = 
| leader     = 
| admin	     = 
| appearance = 
| map	     = 
}} 
The nation parameter enables this template to switch between color themes to match the nation a location is in. Entering:
  • water corresponds to a blue theme for the Water Tribe
  • earth corresponds to a green theme for the Earth Kingdom
  • fire corresponds to a red theme for the Fire Nation
  • air corresponds to an orange theme for the Air Nomads
  • URN corresponds to a khaki theme for the United Republic of Nations
  • spirit corresponds to a grey theme for the Spirit World
  • neutral corresponds to a purple theme for places without a clear affiliation
The map parameter should be filled out using Template:Location map.
Sample output
{{Location infobox
| nation     = earth
| image      = Modern Ba Sing Se.png
| name       = 永固城<br /> Ba Sing Se
| location   = Northeastern [[Earth Kingdom]]
| position   = Capital city
| ruler      = * [[Earth Monarch]]
* [[Kuvira]] <small>(formerly)</small>
| appearance = * Outer Wall: "[[Zuko Alone]]"
* Agrarian Zone: "[[The Drill]]"
* Inner city: "[[City of Walls and Secrets]]"
| map        = {{Location map|earth|126|34}}
}}
produces...

<infobox theme-source="nation"> <image source="image" /> <title source="name"><default>Location infobox</default></title> <group> <header>Physical information</header> <label>Location</label> </group> <group> <header>Government</header> <label>Position</label> <label>Capital</label> <label>Form of government</label> <label>Head of state</label> <label>Religious authority</label> <label>Currency</label> <label>Ruler</label> <label>Owner</label> <label>Leader</label> <label>Administrator</label> <label>First appearance</label> <label>Last appearance</label> </group> <group> <header>Location on map</header> </group> <header></header> </infobox>

Visit Template:Location infobox/doc to edit this text! (How does this work?)
Done editing it? Refresh this page! (Why?)