|
|
| Line 4: |
Line 4: |
| {| class="infobox bordered" | | {| class="infobox bordered" |
| |- | | |- |
| ! colspan="2" class="infobox-title">{{{name|Unnamed Item}}} | | ! class="infobox-title" | {{{name|Unnamed Item}}} |
| | |
| <!-- Item graphic -->
| |
| |- | | |- |
| | colspan="2" class="infobox-image"> | | | class="infobox-image" | [[File:{{{image|}}}|64px|center|{{{name|}}}]] |
| [[File:{{{image|}}}|128px|center|{{{name|}}}]] | | |} |
| | |
| <!-- Core identity -->
| |
| |-
| |
| ! Index ID
| |
| | {{{index_id|}}}
| |
| |-
| |
| ! Drop Rate
| |
| | {{{drop_rate|}}}
| |
| |-
| |
| ! Class
| |
| | {{{class|}}}
| |
| |-
| |
| ! Equip Type
| |
| | {{{equip_type|}}}
| |
| |-
| |
| ! Item Type
| |
| | {{{item_type|}}} | |
| |-
| |
| ! Unique Base
| |
| | {{{unique_base|}}}
| |
| |-
| |
| ! Short Name
| |
| | {{{short_name|}}}
| |
| | |
| <!-- Stats -->
| |
| |-
| |
| ! Quality Level
| |
| | {{{quality_level|}}}
| |
| |-
| |
| ! Durability
| |
| | {{{durability|}}}
| |
| |-
| |
| ! Damage
| |
| | {{{damage|}}}
| |
| |-
| |
| ! Armor Class
| |
| | {{{armor_class|}}}
| |
| | |
| <!-- Requirements -->
| |
| |-
| |
| ! Required Strength
| |
| | {{{req_str|}}}
| |
| |-
| |
| ! Required Magic
| |
| | {{{req_mag|}}}
| |
| |-
| |
| ! Required Dexterity
| |
| | {{{req_dex|}}}
| |
|
| |
|
| <!-- Extra properties -->
| |
| |-
| |
| ! Special Effects
| |
| | {{{special_effects|}}}
| |
| |-
| |
| ! Miscellaneous ID
| |
| | {{{misc_id|}}}
| |
| |-
| |
| ! Spell
| |
| | {{{spell|}}}
| |
| |-
| |
| ! Consumable?
| |
| | {{{consumable|}}}
| |
| |-
| |
| ! Price
| |
| | {{{price|}}}
| |
|
| |
| |}
| |
| </div> | | </div> |
| </includeonly> | | </includeonly> |
|
| |
|
| <noinclude> | | <noinclude> |
| This template displays BaseItem information in an infobox.
| | Minimal infobox for a base item: just the name and icon. |
| | All stats should be documented in the article body. |
|
| |
|
| == Parameters == | | == Parameters == |
| | | ; name : Display name of the item |
| ; name : | | ; image : File name of the icon (without <code>File:</code>) |
| Item name (displayed at the top of the infobox)
| |
| | |
| ; image : | |
| File name of the item icon, without the "File:" prefix
| |
| (e.g. <code>ITMHLM.png</code>)
| |
| | |
| ; index_id :
| |
| Internal Index ID of the base item
| |
| | |
| ; drop_rate :
| |
| Drop rate / rarity descriptor
| |
| | |
| ; class :
| |
| Item class (e.g. Armor, Weapon, Misc)
| |
| | |
| ; equip_type :
| |
| Equip slot (e.g. Helm, Chest, Ring, Belt)
| |
| | |
| ; item_type :
| |
| Internal item type/category
| |
| | |
| ; unique_base :
| |
| Whether this base is used by a unique item, or which unique uses it
| |
| | |
| ; short_name :
| |
| Short display name / code name
| |
| | |
| ; quality_level :
| |
| Item quality level (qlvl)
| |
| | |
| ; durability :
| |
| Base durability
| |
| | |
| ; damage :
| |
| Damage range (for weapons), e.g. <code>2–5</code>
| |
| | |
| ; armor_class :
| |
| Armor Class (AC), e.g. <code>4</code> or <code>8–12</code>
| |
| | |
| ; req_str :
| |
| Required Strength
| |
| | |
| ; req_mag :
| |
| Required Magic
| |
| | |
| ; req_dex :
| |
| Required Dexterity
| |
| | |
| ; special_effects :
| |
| Any special effects / flags
| |
| | |
| ; misc_id :
| |
| Miscellaneous ID
| |
| | |
| ; spell :
| |
| Spell associated with the item (if any)
| |
| | |
| ; consumable :
| |
| Whether this item is consumable (e.g. Yes/No)
| |
| | |
| ; price :
| |
| Base price in gold
| |
|
| |
|
| == Example == | | == Example == |
| <pre> | | <pre> |
| {{Infobox/BaseItem | | {{Infobox/BaseItem |
| | name = Cap | | | name = Helm |
| | image = cap.png | | | image = HELM.png |
| | index_id = 48
| |
| | drop_rate = 1
| |
| | class = Armor
| |
| | equip_type = Helm
| |
| | item_type = Helm
| |
| | unique_base = NONE (This field would be skipped for this item)
| |
| | short_name = Cap
| |
| | quality_level = 1
| |
| | durability = 15
| |
| | damage = 0 (This field would be skipped for this item)
| |
| | armor_class = 1-3
| |
| | req_str = 0 (This field would be skipped for this item)
| |
| | req_mag = 0 (This field would be skipped for this item)
| |
| | req_dex = 0 (This field would be skipped for this item)
| |
| | special_effects = (This field would be skipped for this item)
| |
| | misc_id = NONE (This field would be skipped for this item)
| |
| | spell = Null (This field would be skipped for this item)
| |
| | consumable = false
| |
| | price = 15
| |
| }} | | }} |
| </pre> | | </pre> |
| </noinclude> | | </noinclude> |