FANDOM


m
 
(Converted to a portable infobox.)
 
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:300px;"
+
<onlyinclude><infobox>
|-
+
<title source="title"><default>''Unknown''</default></title>
! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}}
+
<image source="image"><caption source="imagecaption"/></image>
|- style="text-align:center;"
+
<image source="map"><caption source="mapcaption"/></image>
| colspan="2" style="padding:0.5em;" | [[{{{image|Image:Placeholder location.png}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
+
<data source="type"><label>Type</label><default>''Unknown''</default></data>
|- style="text-align:center;"
+
<data source="level"><label>Level</label><default>''Unknown''</default></data>
| colspan="2" style="padding:0.5em;" | [[{{{map}}}|{{{mapwidth|250}}}px]]<br/>''{{{mapcaption| }}}''
+
<data source="location"><label>Location</label><default>''Unknown''</default></data>
|-
+
<data source="inhabitants"><label>Inhabitants</label><default>''Unknown''</default></data>
! colspan="2" style="background-color:#3366CC; color:#ffffff;" | Vital statistics
+
</infobox></onlyinclude><noinclude><br style="clear:both;"/>
|-
 
| style="width:30%;" | '''Type'''
 
| style="width:70%;" | {{{type}}}
 
|-
 
| '''Level'''
 
| {{{level}}}
 
|-
 
| '''Location'''
 
| {{{location}}}
 
|-
 
| '''Inhabitants'''
 
| {{{inhabitants}}}
 
|}<noinclude><br style="clear:both;" />
 
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Latest revision as of 06:23, July 15, 2019


Template documentation (for the above template, sometimes hidden or invisible)

DescriptionEdit

To use this template, copy the following code and fill in the appropriate fields.

SyntaxEdit

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

SamplesEdit

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

Results in...


Community content is available under CC-BY-SA unless otherwise noted.