Template:Item infobox: Difference between revisions
No edit summary |
No edit summary |
||
Line 47: | Line 47: | ||
</div> | </div> | ||
{{clear}} | {{clear}} | ||
{{#if:{{{bonus1|}}}|<div class="subheading">Item bonuses</div> | |||
<div style="text-align:center">{{#if:{{{bonus1|}}}|{{bonus|{{{bonus1}}}}}}}<br>{{#if:{{{bonus2|}}}| | <div style="text-align:center">{{#if:{{{bonus1|}}}|{{bonus|{{{bonus1}}}}}}}<br>{{#if:{{{bonus2|}}}| | ||
{{bonus|{{{bonus2}}}}}}}<br>{{#if:{{{bonus3|}}}| | {{bonus|{{{bonus2}}}}}}}<br>{{#if:{{{bonus3|}}}| | ||
{{bonus|{{{bonus3}}}}}}}<br>{{#if:{{{bonus4|}}}| | {{bonus|{{{bonus3}}}}}}}<br>{{#if:{{{bonus4|}}}| | ||
{{bonus|{{{bonus4}}}}}}}<br>{{#if:{{{bonus5|}}}| | {{bonus|{{{bonus4}}}}}}}<br>{{#if:{{{bonus5|}}}| | ||
{{bonus|{{{bonus5}}}}}}}</div> | {{bonus|{{{bonus5}}}}}}}</div>}} | ||
{{#if: {{{gallery1|}}} | | {{#if: {{{gallery1|}}} | | ||
{{{!}} style="width:100%" | {{{!}} style="width:100%" | ||
Line 215: | Line 216: | ||
|damage=44-61 | |damage=44-61 | ||
|hands=one | |hands=one | ||
}} | |||
</pre> | |||
{{Item infobox | |||
|name=Ancient Cloak | |||
|icon=Soul cape icon.gif | |||
|description=Cloak manufactured by an ancient recipe. | |||
|type=Cape | |||
|rarity=soul | |||
|classes=Wr Kn Ac Pa Wi Cl Sn | |||
|gender=Unisex | |||
|level=30 | |||
|physical=30 | |||
|magic=30 | |||
|bonus1=Movement Speed +15% | |||
|bonus2=Physical Defense +40 | |||
|bonus3=Magical Defense +40 | |||
|bonus4=Maximum Mana +20% | |||
|bonus5=Mana Regeneration +20% | |||
|value=294 | |||
|value-type=coin | |||
|id= | |||
}} | |||
<pre> | |||
{{Item infobox | |||
|name=Ancient Cloak | |||
|icon=Soul cape icon.gif | |||
|description=Cloak manufactured by an ancient recipe. | |||
|type=Cape | |||
|rarity=soul | |||
|classes=Wr Kn Ac Pa Wi Cl Sn | |||
|gender=Unisex | |||
|level=30 | |||
|physical=30 | |||
|magic=30 | |||
|bonus1=Movement Speed +15% | |||
|bonus2=Physical Defense +40 | |||
|bonus3=Magical Defense +40 | |||
|bonus4=Maximum Mana +20% | |||
|bonus5=Mana Regeneration +20% | |||
|value=294 | |||
|value-type=coin | |||
|id= | |||
}} | }} | ||
</pre> | </pre> |
Revision as of 03:04, 1 July 2024
Description
This is the Item infobox template. It should be transcluded in the following format:
{{Item infobox |name= |icon= |description= |type= |rarity= |show-rarity= |classes= |gender= |level= |STR= |DEX= |INT= |speed= |damage= |mana= |cast= |hands= |physical= |magic= |evasion= |block= |bonus1...bonus5= |value= |value-type= |goal= |id= |gallery1...gallery5= |gallery-text1...gallery-text5= }}
Parameters
- name
- Optional. Only include if the name of the item differs from the article name. Defaults to the name of the article:
{{PAGENAME}}
- icon
- Optional. Icon of the item.
- description
- Optional. Skill description.
- type
- Required. The type of item. Options:
- Crafting material
- Crafting sheet
- Crafting tool
- Boots
- Mage Boots
- Circlet
- Gloves
- Mage Gloves
- Helmet
- Jacket
- Pants
- Robe
- Shield
- Cape
- Necklace
- Ring
- Axe
- Bow
- Dagger
- Hammer
- Mace
- Polearm
- Staff
- Sword
- Wand
- level
- Optional. The level or levels of the item.
- rarity
- Optional. Should be one of the following: normal, magic, rare, soul, unique.
- show-rarity
- Optional. Show/hide rarity parameter in infobox. Options: yes, no
- value
- Required. Listed value on the item.
- value-type
- Required. Type of currency to display. Options:
- coin
- fame
- goal
- Optional. Specific quest or challenge this item is affiliated with. If entering multiple goals, put each new goal on a new line.
- classes
- Optional. Available classes that can use the item.
- gender
- Optional. Available gender that can use the item.
- STR
- Optional. Minimum STR to use item.
- DEX
- Optional. Minimum DEX to use item.
- INT
- Optional. Minimum INT to use item.
- speed
- Optional. Attack speed stat of the item.
- damage
- Optional. Damage stat of the item.
- mana
- Optional. Mana regeneration stat of the item.
- cast
- Optional. Casting speed decrement stat of the item.
- hands
- Optional. Number of hands to wield the item. Options:
- one
- two
- off
- physical
- Optional. Physical defense stat of the item.
- magic
- Optional. Magic defense stat of the item.
- evasion
- Optional. Evasion decrement stat of the item.
- block
- Optional. Blocking Rate stat of the item.
- bonus1...bonus5
- Optional. Item bonuses.
- gallery1...gallery5
- Optional. Images related to the item.
- gallery-text1...gallery-text5
- Optional. Image descriptions.
Example
Blessing Stone
“Prevents the destruction of items when enchanting.—In-game description.
- Type
- Enchanting tool
- Value
- 2000 fame
{{Item infobox |name=Blessing Stone |icon=Blessing Stone icon.gif |description=Prevents the destruction of items when enchanting. |type=Enchanting tool |level= |rarity=soul |show-rarity=no |value=2000 |value-type=fame |goal= |id= }}
Ring Dagger
{{Item infobox |name=Ring Dagger |icon= |type=Dagger |rarity=normal |classes=Wr Kn Ac Pa Wi Sn |level=10 |STR=10 |DEX=19 |speed=Fast+2 |damage=44-61 |hands=one }}
Ancient Cloak
“Cloak manufactured by an ancient recipe.—In-game description.
Item bonuses
{{Item infobox |name=Ancient Cloak |icon=Soul cape icon.gif |description=Cloak manufactured by an ancient recipe. |type=Cape |rarity=soul |classes=Wr Kn Ac Pa Wi Cl Sn |gender=Unisex |level=30 |physical=30 |magic=30 |bonus1=Movement Speed +15% |bonus2=Physical Defense +40 |bonus3=Magical Defense +40 |bonus4=Maximum Mana +20% |bonus5=Mana Regeneration +20% |value=294 |value-type=coin |id= }}
TODO
- Add properties to parameters
- Add linked class abbrevs