Difference between revisions of "Template:Infobox location"

From Tycoon Gaming
m
Line 11: Line 11:
 
<data source="requires"><label>Requirements</label></data>
 
<data source="requires"><label>Requirements</label></data>
 
<data source="inhabitants"><label>Inhabitants</label></data>
 
<data source="inhabitants"><label>Inhabitants</label></data>
 +
<data source="availability"><label>Opens at</label></data>
 +
<data source="unavailability"><label>Closes at</label></data>
 
</infobox><includeonly>[[Category:Locations]]</includeonly><noinclude>{{Documentation}}</noinclude>
 
</infobox><includeonly>[[Category:Locations]]</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 09:11, 30 May 2022

Description

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

Syntax

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

Samples

{{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
}}