Template:Infobox weapon: Difference between revisions

From Golden Sun Universe
mNo edit summary
No edit summary
Line 61: Line 61:
}}
}}
{{#if: {{{unleash|<noinclude>-</noinclude>}}} |
{{#if: {{{unleash|<noinclude>-</noinclude>}}} |
{{!}} colspan="2" class="infobox_section" {{!}} Unleash effect
{{!}} colspan="2" class="infobox_section" {{!}} {{#if:{{{unleash2|}}}|First&nbsp;|}}Unleash effect
{{!}}-
{{!}}-
{{!}} class="infobox_field" {{!}} Effect name
{{!}} class="infobox_field" {{!}} Effect name

Revision as of 05:53, 18 May 2012

[[Image:{{{icon}}}]] {{{name}}}
{{{image}}}
{{{caption}}}
Trade Info
Weapon class {{{class}}}
Buy value {{{buy}}}
Sell value {{{sell}}}
Artifact? {{{artifact}}}
Sell value when broken {{{sell-broken}}}
Repair cost {{{repair}}}
Statistic Boosts
Attack Boost {{{atkboost}}}
HP Recovery Boost {{{hprboost}}}
Elemental Power Boosts {{{pwrboost}}}
Elemental Resistance Boosts {{{resboost}}}
Unleash effect
Effect name {{{unleash}}}
Extra damage {{{unleash-bonus}}}
Side effect {{{unleash-side}}}
Second Unleash effect
Effect name {{{unleash2}}}
Extra damage {{{unleash2-bonus}}}
Side effect {{{unleash2-side}}}
Third Unleash effect
Effect name {{{unleash3}}}
Extra damage {{{unleash3-bonus}}}
Side effect {{{unleash3-side}}}
Fourth Unleash effect
Effect name {{{unleash4}}}
Extra damage {{{unleash4-bonus}}}
Side effect {{{unleash4-side}}}
Use effect
Use Effect {{{use-effect}}}
When Usable {{{when-use}}}

The Infobox weapon template can be used to create infoboxes for weapon items. Syntax example:

{{Infobox weapon
|name=
|icon=
|class=
|image=
|caption=
|description=
|buy=
|sell=
|sell-broken=
|repair=
|atkboost=
|hprboost=
|pwrboost=
|resboost=
|unleash=
|unleash-bonus=
|unleash-side=
|use-effect=
|acquisition=
}}

Options

Option Mandatory? Values Use
name yes (any text will do) The name of the weapon.
icon no (any image file name will do) The icon of the weapon. Defaults to the weapon's name (case-sensitive), plus a GIF extension.
class yes one of axe, blade, mace, staff, sword Weapon's class.
image no (any wikicode will do) Code point, could be used for an image for the infobox.
caption no (any wikicode will do) Code point, could be used for the caption of the image of the infobox.
description yes (any text will do) All applicable games' in-game descriptions of this item
buy no (any number will do) Buy value
sell no (any number will do) Sell value
sell-broken no (any number will do) Sell value when broken
repair no (any number will do) Repair cost
atkboost no (any number will do) Attack Point boost
hprboost no (any number will do) Hit Point Recovery boost
pwrboost no (any text will do, but you insert the elemental star image yourself, and you use the br/ tag to divide multiple entries) Elemental Power boosts
resboost no (any text will do, but you insert the elemental star image yourself, and you use the br/ tag to divide multiple entries) Elemental Resistance boosts
unleash no (any text will do) Unleash effect's name.
unleash-element with unleash one of venus, mars, jupiter, mercury, none Element of the weapon's Unleash effect. Defaults to none.
unleash-bonus with unleash one of venus, mars, jupiter, mercury, none Bonus attack points for the weapon's Unleash effect.
unleash-side no (any text will do) (Possible) side effects of the weapon's Unleash effect.
use-effect no (any text will do) The weapon's possible Use effect.
acquisition yes (any text will do) How to get the weapon.