x>FANDOM No edit summary |
m (1 revision imported) |
||
(No difference)
|
Latest revision as of 21:36, 29 April 2024
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 {{{{#if:|{{{prefix}}}:}}Location{{#if:||<{{{2}}}>}}{{#if:||<{{{3}}}>}}{{#if:||<{{{4}}}>}}{{#if:||<{{{5}}}>}}{{#if:||<{{{6}}}>}}{{#if:||<{{{7}}}>}}{{#if:||<{{{8}}}>}}{{#if:||<{{{9}}}>}}{{#if:||<{{{10}}}>}}{{#if:||<{{{11}}}>}}{{#if:||<{{{12}}}>}}{{#if:||<{{{13}}}>}}{{#if:||<{{{14}}}>}}{{#if:||<{{{15}}}>}}{{#if:||<{{{16}}}>}}{{#if:||<{{{17}}}>}}{{#if:||<{{{18}}}>}}{{#if:||<{{{19}}}>}}{{#if:||<{{{20}}}>}}{{#if:||<{{{21}}}>}}}} 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
<infobox type="Location"> <title source="title"/>
<image source="image"></image> <image source="map"></image> <label>Type</label> <label>Level</label> <label>Location</label> <label>Inhabitants</label> </infobox>{{#ifeq: 10 | 0 |}}{{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 }}