Difference between revisions of "Template:Infobox location"

From Tycoon Gaming
m (Removed Category from template since it was propagated to the page itself)
 
(2 intermediate revisions by one other user not shown)
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>
</infobox><includeonly>[[Category:Locations]]</includeonly><noinclude>{{Documentation}}</noinclude>
+
<data source="availability"><label>Opens at</label></data>
 +
<data source="unavailability"><label>Closes at</label></data>
 +
<data source="Event"><label>Event</label></data>
 +
<data source="Duration"><label>Duration</label></data>
 +
<data source="Starts"><label>Starts</label></data>
 +
<data source="Ends"><label>Ends</label></data>
 +
</infobox><noinclude>{{Documentation}}</noinclude>

Latest revision as of 15:29, 4 May 2024

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