Template:Infobox location

From Lesswrongwiki
Revision as of 18:53, 4 May 2009 by Admin (talk | contribs) (1 revision: migrate_wiki.py script)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Infobox location
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       = Image:Example.jpg
| imagewidth  = [defaults to 250]
| caption     = Bob the Flower
| map         = Image: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