Template:Location: Difference between revisions

From HorizonXI Wiki
(Blanked the page)
Tags: Blanking Reverted
m (Reverted edits by Sidagreat (talk) to last revision by FANDOM)
Tags: Rollback Reverted
Line 1: Line 1:
 
<includeonly><infobox type="Location">
<title source="title"/>
<image source="image"><caption source="imagecaption"/></image>
<image source="map"><caption source="mapcaption"/></image>
<data source="type"><label>Type</label></data>
<data source="level"><label>Level</label></data>
<data source="location"><label>Location</label></data>
<data source="inhabitants"><label>Inhabitants</label></data>
</infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Locations]]}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 23:04, 26 January 2023

Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)
Editors can experiment in this template's sandbox and test case pages.

Description

To use this template, add the {{Location}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses Fandom's infobox syntax.

Syntax

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

Sample output

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