Difference between revisions of "Template:InfoBox UOItem"

m
m
Line 21: Line 21:
 
</nowiki>{{#if: {{{spell_channeling|}}}  | <br/>Spell Channeling }} <nowiki>
 
</nowiki>{{#if: {{{spell_channeling|}}}  | <br/>Spell Channeling }} <nowiki>
 
</nowiki>{{#if: {{{weight|}}}            | <br/>{{#replace: {{{weight}}}|-| to }} stone{{#ifeq: {{{weight}}} | 1 | | s }} | unknown weight }} <nowiki>
 
</nowiki>{{#if: {{{weight|}}}            | <br/>{{#replace: {{{weight}}}|-| to }} stone{{#ifeq: {{{weight}}} | 1 | | s }} | unknown weight }} <nowiki>
 +
</nowiki>{{#if: {{{charges|}}}                | <br/>[ Charges: {{{charges}}} ] }}<nowiki>
 
</nowiki>{{#if: {{{resist_physical|}}}    | <br/><span style="color:{{#var:color_physical}}"> Physical Resist {{{resist_physical}}}% </span>}} <nowiki>
 
</nowiki>{{#if: {{{resist_physical|}}}    | <br/><span style="color:{{#var:color_physical}}"> Physical Resist {{{resist_physical}}}% </span>}} <nowiki>
 
</nowiki>{{#if: {{{resist_fire|}}}        | <br/><span style="color:{{#var:color_fire}}">    Fire Resist {{{resist_fire}}}%        </span>}} <nowiki>
 
</nowiki>{{#if: {{{resist_fire|}}}        | <br/><span style="color:{{#var:color_fire}}">    Fire Resist {{{resist_fire}}}%        </span>}} <nowiki>
Line 60: Line 61:
 
}} }}<nowiki>
 
}} }}<nowiki>
 
</nowiki>{{#if: {{{durability_min|}}}    | {{#if: {{{durability_max|}}} | <br/>Durability {{{durability_min|}}} / {{{durability_max|}}} }} }} <nowiki>
 
</nowiki>{{#if: {{{durability_min|}}}    | {{#if: {{{durability_max|}}} | <br/>Durability {{{durability_min|}}} / {{{durability_max|}}} }} }} <nowiki>
 +
</nowiki>{{#if: {{{remaining_charges|}}}                | <br/>Remaining Charges: {{{remaining_charges}}}  }} ]<nowiki>
 
</nowiki>{{#if: {{{no_drop|}}}            | <br/>NO DROP }} <nowiki>
 
</nowiki>{{#if: {{{no_drop|}}}            | <br/>NO DROP }} <nowiki>
 
</nowiki>{{#if: {{{no_trade|}}}          | <br/>NO TRADE }} <nowiki>
 
</nowiki>{{#if: {{{no_trade|}}}          | <br/>NO TRADE }} <nowiki>
Line 75: Line 77:
 
::- If true, the background for the image will be white.
 
::- If true, the background for the image will be white.
 
::- Note: If forceBlack and forceWhite are both set to true, the background will be black.
 
::- Note: If forceBlack and forceWhite are both set to true, the background will be black.
 +
* charges
 +
::- OPTIONAL.
 +
::- The number of charges on an item, for properties like: [ Charges: 10 ]
 +
::- This should be the max initial value for the item.
 +
::- Note that there are multiple properties that display charge counts.
 +
::- Default: not shown.
 
* crafter
 
* crafter
 
::- OPTIONAL.
 
::- OPTIONAL.
Line 187: Line 195:
 
::- Default: not shown.
 
::- Default: not shown.
 
::- Note: both must be defined for this value to be shown.
 
::- Note: both must be defined for this value to be shown.
 +
* remaining_charges
 +
::- OPTIONAL.
 +
::- The number of charges remaining on an item, for properties like: Remaining Charges: 10
 +
::- This should be the max initial value for the item.
 +
::- Note that there are multiple properties that display charge counts.
 +
::- Default: not shown.
 
* no_drop
 
* no_drop
 
::- Optional
 
::- Optional

Revision as of 10:36, 21 July 2016




 This image is not yet available. 
unknown weight ]


  • forceBlack
- OPTIONAL.
- If true, the background for the image will be black.
  • forceWhite
- OPTIONAL.
- If true, the background for the image will be white.
- Note: If forceBlack and forceWhite are both set to true, the background will be black.
  • charges
- OPTIONAL.
- The number of charges on an item, for properties like: [ Charges: 10 ]
- This should be the max initial value for the item.
- Note that there are multiple properties that display charge counts.
- Default: not shown.
  • crafter
- OPTIONAL.
- The name of the crafter.
- Default: not shown.
  • crafterText
- OPTIONAL.
- Crafted, Made, Sewn, etc.
- Default: 'Crafted'
  • exceptional
- OPTIONAL.
- Is it exceptional quality?
- Default: not shown.
- Note: "Of Exceptional Quality" still needs to be in the item name, if applicable.
  • alignment
- Optional
- Blessed, Cursed, or nothing.
- Default: not shown.
  • spell_channeling
- Optional
- Is it spell channeling?
- Default: not shown.
  • weight
- OPTIONAL.
- Can be a number (1) or a range of numbers (1-24).
- Default: 'unknown weight'
  • resist_physical
- Optional
- A number, without the %.
- Default: not shown
  • resist_fire
- Optional
- A number, without the %.
- Default: not shown
  • resist_cold
- Optional
- A number, without the %.
- Default: not shown
  • resist_poison
- Optional
- A number, without the %.
- Default: not shown
  • resist_energy
- Optional
- A number, without the %.
- Default: not shown
  • durability_increase
- Optional
- A number, without the %.
- Default: not shown
  • hci
- Optional
- A number, without the %.
- Default: not shown
  • dci
- Optional
- A number, without the %.
- Default: not shown
  • slayer
- Optional
- The slayer type of the item. Do not include "Slayer" at the end.
- If more than one slayer type is needed, separate with commas. ("Gargoyle,Daemon")
- Default: not shown
  • damage_physical
- Optional
- A number, without the %.
- Default: not shown
  • damage_fire
- Optional
- A number, without the %.
- Default: not shown
  • damage_cold
- Optional
- A number, without the %.
- Default: not shown
  • damage_poison
- Optional
- A number, without the %.
- Default: not shown
  • damage_energy
- Optional
- A number, without the %.
- Default: not shown
  • damage_chaos
- Optional
- A number, without the %.
- Default: not shown
  • damage_min and damage_max
- Optional
- These two numbers together give the range in damage caused by a weapon.
- Default: not shown.
- Note: both must be defined for this value to be shown.
  • speed
- Optional
- Weapon Speed. A number, without the %.
- Default: not shown
  • strength_req
- Optional
- Strength Requirement. A number.
- Default: not shown
  • hands_required
- Optional
- The number of hands required to wield a weapon.
- Default: not shown
  • skill_required
- Optional
- The skill required to use a weapon; one of: Archery, Fencing, Mace Fighting, Swordsmanship, Throwing
- Default: not shown
  • durability_min and durability_max
- Optional
- These two numbers together give the current and max durability for an item.
- Default: not shown.
- Note: both must be defined for this value to be shown.
  • remaining_charges
- OPTIONAL.
- The number of charges remaining on an item, for properties like: Remaining Charges: 10
- This should be the max initial value for the item.
- Note that there are multiple properties that display charge counts.
- Default: not shown.
  • no_drop
- Optional
- The item may not be dropped. (This is an internal flag set by the devs.)
  • no_trade
- Optional
- The item may not be traded. (This is an internal flag set by the devs.)
  • no_dye
- Optional
- The item normally WOULD be able to be dyed, but this item may not be dyed.
- This is an internal flag set by the devs. This flag is not displayed to the player.
  • account_bound
- Optional
- The item may not be used by other accounts than the original one.
  • shard_bound
- Optional
- The item may not be transferred between shards.