Template:Infobox location/doc: Difference between revisions
Jump to navigation
Jump to search
>Default No edit summary |
>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...) |
||
| Line 6: | Line 6: | ||
<pre>{{infobox location | <pre>{{infobox location | ||
| name | |name= Bob's Petal | ||
| image | |image= Image:Example.jpg | ||
|caption= Bob the Flower | |||
| caption | |type= Petal | ||
| | |effects= Adds +1 prettiness | ||
| | |source= Earth | ||
| | |buy= 1 Seed | ||
| | |sell= 5 Pollen | ||
| | |||
}}</pre> | }}</pre> | ||
| Line 22: | Line 19: | ||
{{infobox location | {{infobox location | ||
| name | |name= Bob's Petal | ||
| image | |image= Image:Example.jpg | ||
| caption | |caption= Bob the Flower | ||
| | |type= Petal | ||
| | |effects= Adds +1 prettiness | ||
| | |source= Earth | ||
| | |buy= 1 Seed | ||
|sell= 5 Pollen | |||
| | |||
}} | }} | ||
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | <includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | ||
Latest 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
|type= Petal
|effects= Adds +1 prettiness
|source= Earth
|buy= 1 Seed
|sell= 5 Pollen
}}
Results in...
| Bob's Petal | |
|---|---|
| File:Example.jpg Bob the Flower | |
| [[{{{map}}}|200px]] {{{mapcaption}}} | |
| Vital statistics | |
| Type | Petal |
| Level | {{{level}}} |
| Location | {{{location}}} |
| Inhabitants | {{{inhabitants}}} |
| Cost to sell | 5 Pollen |