Template:Infobox location: Difference between revisions

From nkrs200 Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:300px;"
{| class="infobox" style="font-size:89%; width:300px;"
|-
|-
! 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; text-align:center;" |  {{{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 location.png}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''

Latest revision as of 01:43, 19 February 2024

Infobox location
File:Placeholder location.png
[[{{{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
Example.jpg
Bob the Flower
Example.jpg
Bob the Flower
Vital statistics
Type Garden
Level 10-20
Location Earth
Inhabitants Flowerfolk