Difference between revisions of "Template:Infobox location"

From Tycoon Gaming
m
m (Added data sources in preparation for upcoming events)
Line 13: Line 13:
 
<data source="availability"><label>Opens at</label></data>
 
<data source="availability"><label>Opens at</label></data>
 
<data source="unavailability"><label>Closes 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><includeonly>[[Category:Locations]]</includeonly><noinclude>{{Documentation}}</noinclude>
 
</infobox><includeonly>[[Category:Locations]]</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 10:22, 12 October 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
}}