m (1 revision: Starter Wiki Refresh) |
m (1 revision: Starter Wiki Refresh) |
||
Line 1: | Line 1: | ||
+ | <infobox type="Location"> |
||
− | == Description == |
||
+ | <title source="title"/> |
||
− | To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses [[Help:Infobox|Fandom's infobox syntax]]. |
||
+ | <image source="image"><caption source="imagecaption"/></image> |
||
− | |||
+ | <image source="map"><caption source="mapcaption"/></image> |
||
− | == Syntax == |
||
+ | <data source="type"><label>Type</label></data> |
||
− | <pre> |
||
+ | <data source="level"><label>Level</label></data> |
||
− | {{Item |
||
+ | <data source="location"><label>Location</label></data> |
||
− | | title = |
||
+ | <data source="inhabitants"><label>Inhabitants</label></data> |
||
− | | image = [e.g. "Example.jpg"] |
||
+ | </infobox><includeonly>{{Namespace|main=[[Category:Locations]]}}</includeonly><noinclude>{{Documentation}}</noinclude> |
||
− | | imagecaption = |
||
− | | type = |
||
− | | effects = |
||
− | | source = |
||
− | | buy = |
||
− | | sell = |
||
− | }} |
||
− | </pre> |
||
− | |||
− | == Sample output == |
||
− | {{Item |
||
− | | title = Power Flower |
||
− | | image = Example.jpg |
||
− | | type = Food |
||
− | | effects = +1 Fire |
||
− | | source = Vendor |
||
− | | buy = 5g |
||
− | | sell = 1g |
||
− | }}<pre> |
||
− | {{Item |
||
− | | title = Power Flower |
||
− | | image = Example.jpg |
||
− | | type = Food |
||
− | | effects = +1 Fire |
||
− | | source = Vendor |
||
− | | buy = 5g |
||
− | | sell = 1g |
||
− | }} |
||
− | </pre><includeonly>[[Category:Templates|{{PAGENAME}}]][[Category:Templates/Infobox|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Latest revision as of 19:21, 8 July 2019
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
Description
To use this template, add the {{Location}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses Fandom's infobox syntax.
Syntax
{{Location | title = | image = [e.g. "Example.jpg"] | imagecaption = | map = [e.g. "Example.jpg"] | mapcaption = | type = | level = | location = | inhabitants = }}
Sample output
{{Location | title = Flora Island | image = Example.jpg | imagecaption = The island | map = Example.jpg | mapcaption = Zone map | type = Contested | level = 1-5 | location = Earth | inhabitants = Stompy Humans, Drinky Bees }}