m (1 revision: Starter Wiki Refresh) |
m (1 revision: Starter Wiki Refresh) |
||
Line 1: | Line 1: | ||
+ | == Description == |
||
− | <infobox type="Quest"> |
||
+ | 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]]. |
||
− | <title source="title"/> |
||
+ | |||
− | <image source="image"><caption source="imagecaption"/></image> |
||
+ | == Syntax == |
||
− | <data source="start"><label>Start</label></data> |
||
+ | <pre> |
||
− | <data source="end"><label>End</label></data> |
||
+ | {{Quest |
||
− | <data source="prerequisites"><label>Prerequisites</label></data> |
||
+ | | title = |
||
− | <data source="level"><label>Level</label></data> |
||
+ | | image = [e.g. "Example.jpg"] |
||
− | <data source="location"><label>Location</label></data> |
||
+ | | imagecaption = |
||
− | <data source="rewards"><label>Rewards</label></data> |
||
+ | | start = |
||
− | <group layout="horizontal"> |
||
+ | | end = |
||
− | <header>Quest progression</header> |
||
+ | | prerequisites = |
||
− | <data source="previous"><label>Previous</label></data> |
||
+ | | level = |
||
− | <data source="next"><label>Next</label></data> |
||
+ | | location = |
||
− | </group> |
||
+ | | rewards = |
||
− | </infobox><includeonly>{{Namespace|main=[[Category:Quests]]}}</includeonly><noinclude>{{Documentation}}</noinclude> |
||
+ | | previous = |
||
+ | | next = |
||
+ | }} |
||
+ | </pre> |
||
+ | |||
+ | == Sample output == |
||
+ | {{Quest |
||
+ | | title = Example infobox |
||
+ | | image = Example.jpg |
||
+ | | start = Chrys |
||
+ | | end = Geran |
||
+ | | prerequisites = None |
||
+ | | level = 5 |
||
+ | | location = Earth |
||
+ | | rewards = Justice-Wrought Petals |
||
+ | | previous = A |
||
+ | | next = C |
||
+ | }} |
||
+ | <pre>{{Quest |
||
+ | | title = Example infobox |
||
+ | | image = Example.jpg |
||
+ | | start = Chrys |
||
+ | | end = Geran |
||
+ | | prerequisites = None |
||
+ | | level = 5 |
||
+ | | location = Earth |
||
+ | | rewards = Justice-Wrought Petals |
||
+ | | previous = A |
||
+ | | next = C |
||
+ | }}</pre> |
||
+ | |||
+ | |||
+ | <includeonly>[[Category:Templates|{{PAGENAME}}]][[Category:Templates/Infobox|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Latest revision as of 23:37, 9 February 2020
Description
To use this template, add the {{Quest}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses Fandom's infobox syntax.
Syntax
{{Quest | title = | image = [e.g. "Example.jpg"] | imagecaption = | start = | end = | prerequisites = | level = | location = | rewards = | previous = | next = }}
Sample output
{{Quest | title = Example infobox | image = Example.jpg | start = Chrys | end = Geran | prerequisites = None | level = 5 | location = Earth | rewards = Justice-Wrought Petals | previous = A | next = C }}