Jump to content

Template:Infobox location: Difference between revisions

From Kid Dancers Wiki
imported>Default
No edit summary
 
>Kidgameshowlover800
No edit summary
 
Line 3: Line 3:
! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" |  {{{name|{{PAGENAME}}}}}
! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" |  {{{name|{{PAGENAME}}}}}
|- style="text-align:center;"
|- style="text-align:center;"
| colspan="2" style="padding:0.5em;" | [[{{{image|File:Placeholder location.png}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
| colspan="2" style="padding:0.5em;" | [[{{{image|File:Placeholder item.png}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
|- style="text-align:center;"
|- style="text-align:center;"
| colspan="2" style="padding:0.5em;" | [[{{{map}}}|{{{mapwidth|250}}}px]]<br/>''{{{mapcaption| }}}''
| colspan="2" style="padding:0.5em;" | [[{{{map}}}|{{{mapwidth|250}}}px]]<br/>''{{{mapcaption| }}}''

Latest revision as of 06:29, 7 October 2020

Infobox location

[[{{{map}}}|250px]]
Vital statistics
Type {{{type}}}
Level {{{level}}}
Location {{{location}}}
Inhabitants {{{inhabitants}}}


Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to create a location infobox.
Syntax
Type {{infobox location|<...>}} somewhere, with parameters as shown below.
Sample output
{{infobox location
| name        = Land of Bob [defaults to pagename]
| image       = File:Example.jpg
| imagewidth  = [defaults to 250]
| caption     = Bob the Flower
| map         = File:Example.jpg
| mapwidth    = [defaults to 250]
| mapcaption  = Land of Bob
| type        = Garden
| level       = 10-20
| location    = Earth
| inhabitants = Flowerfolk
}}

Results in...

Land of Bob

Bob the Flower

Bob the Flower
Vital statistics
Type Garden
Level 10-20
Location Earth
Inhabitants Flowerfolk