Template:Infobox location/doc: Difference between revisions

From Redemption Wiki
Jump to navigation Jump to search
>Default
No edit summary
>Default
No edit summary
Line 7: Line 7:
<pre>{{infobox location
<pre>{{infobox location
| name        = Land of Bob [defaults to pagename]
| name        = Land of Bob [defaults to pagename]
| image      = Image:Example.jpg
| image      = File:Example.jpg
| imagewidth  = [defaults to 250]
| imagewidth  = [defaults to 250]
| caption    = Bob the Flower
| caption    = Bob the Flower
| map        = Image:Example.jpg
| map        = File:Example.jpg
| mapwidth    = [defaults to 250]
| mapwidth    = [defaults to 250]
| mapcaption  = Land of Bob
| mapcaption  = Land of Bob
Line 23: Line 23:
{{infobox location
{{infobox location
| name        = Land of Bob
| name        = Land of Bob
| image      = Image:Example.jpg
| image      = File:Example.jpg
| caption    = Bob the Flower
| caption    = Bob the Flower
| map        = Image:Example.jpg
| map        = File:Example.jpg
| mapcaption  = Bob the Flower
| mapcaption  = Bob the Flower
| type        = Garden
| type        = Garden

Revision as of 20:46, 26 May 2015

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
File:Example.jpg
Bob the Flower
File:Example.jpg
Bob the Flower
Vital statistics
Type Garden
Level 10-20
Location Earth
Inhabitants Flowerfolk
Cost to sell {{{sell}}}