Template:Infobox location/doc

From BBW Wiki
Jump to: navigation, search

Description[edit]

To use this template, copy the following code and fill in the appropriate fields.

Syntax[edit]

{{infobox location
 | title         = 
 | image         = [e.g. "Example.jpg"]
 | imagecaption  = 
 | map           = [e.g. "Example.jpg"]
 | mapcaption    = 
 | type          = 
 | level         = 
 | location      = 
 | inhabitants   = 
}}

Samples[edit]

{{infobox location
 | title         = Flora Island
 | image         = Example.jpg
 | imagecaption  = The island
 | map           = Example.jpg
 | mapcaption    = Zone map
 | type          = Contested
 | level         = 1-5
 | location      = Earth
 | inhabitants   = Stompy Humans, Drinky Bees
}}

Results in...

<infobox> <title source="title"><default>Unknown</default></title> <image source="image"><caption source="imagecaption"/></image> <image source="map"><caption source="mapcaption"/></image> <label>Type</label><default>Unknown</default> <label>Level</label><default>Unknown</default> <label>Location</label><default>Unknown</default> <label>Inhabitants</label><default>Unknown</default> </infobox>