Template:Infobox location/doc: Difference between revisions

From Redemption Wiki
Jump to navigation Jump to search
>Default
(New page: ;Description :This template is used to create a location infobox. ;Syntax :Type <code>{{t|infobox location|...}}</code> somewhere, with parameters as shown below. ;Sample output <pre>{{in...)
 
>Default
No edit summary
Line 9: Line 9:
|image= Image:Example.jpg
|image= Image:Example.jpg
|caption= Bob the Flower
|caption= Bob the Flower
|type= Petal
|map= Image:Example.jpg
|effects= Adds +1 prettiness
|mapcaption= Bob the Flower
|source= Earth
|type= Garden
|buy= 1 Seed
|level= 10-20
|sell= 5 Pollen
|location= Earth
|inhabitants= Flowerfolk
}}</pre>
}}</pre>


Line 22: Line 23:
|image= Image:Example.jpg
|image= Image:Example.jpg
|caption= Bob the Flower
|caption= Bob the Flower
|type= Petal
|map= Image:Example.jpg
|effects= Adds +1 prettiness
|mapcaption= Land of Bob
|source= Earth
|type= Garden
|buy= 1 Seed
|level= 10-20
|sell= 5 Pollen
|location= Earth
|inhabitants= Flowerfolk
}}
}}


<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

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= Bob's Petal
|image= Image:Example.jpg
|caption= Bob the Flower
|map= Image:Example.jpg
|mapcaption= Bob the Flower
|type= Garden
|level= 10-20
|location= Earth
|inhabitants= Flowerfolk
}}

Results in...

Bob's Petal
File:Example.jpg
Bob the Flower
File:Example.jpg
Land of Bob
Vital statistics
Type Garden
Level 10-20
Location Earth
Inhabitants Flowerfolk
Cost to sell {{{sell}}}