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 1: | Line 1: | ||
;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>{{infobox location | |||
<pre> | |name= Bob's Petal | ||
{{infobox location | |image= Image:Example.jpg | ||
|caption= Bob the Flower | |||
|type= Petal | |||
|effects= Adds +1 prettiness | |||
|source= Earth | |||
|buy= 1 Seed | |||
|sell= 5 Pollen | |||
}}</pre> | |||
}} | |||
</pre> | |||
Results in... | Results in... | ||
{{infobox location | {{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 | |||
}} | }} | ||
<includeonly>[[Category: | <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 |