Difference between revisions of "Template:Infobox location"

From Tycoon Gaming
m
Line 8: Line 8:
 
<data source="location"><label>Location</label></data>
 
<data source="location"><label>Location</label></data>
 
<data source="rate"><label>Rate</label></data>
 
<data source="rate"><label>Rate</label></data>
<data source="recipes"><label>Recipes</label></data>
+
<data source="max"><label>Capacity</label></data>
 +
<data source="requires"><label>Requirements</label></data>
 
<data source="inhabitants"><label>Inhabitants</label></data>
 
<data source="inhabitants"><label>Inhabitants</label></data>
 
</infobox><includeonly>[[Category:Locations]]</includeonly><noinclude>{{Documentation}}</noinclude>
 
</infobox><includeonly>[[Category:Locations]]</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 12:31, 18 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
}}