Difference between revisions of "Template:InfoBox UOItem"

m
m
Line 62: Line 62:
 
</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: {{{remaining_charges|}}}                | <br/>Remaining Charges: {{{remaining_charges}}}  }}<nowiki>
 +
</nowiki>{{#if: {{{spells|}}}                | <br/>{{{spells}}}  Spells }}<nowiki>
 +
</nowiki>{{#if: {{{bacterial_resistance|}}}                | <br/>Bacterial Resistance: {{{bacterial_resistance}}} }}<nowiki>
 +
</nowiki>{{#if: {{{start_date|}}}                | <br/>Start Date: {{{start_date}}} }}<nowiki>
 +
</nowiki>{{#if: {{{matured|}}}                | <br/>Matured: {{{matured}}} }}<nowiki>
 +
</nowiki>{{#if: {{{maturing|}}}                | <br/>Maturing: {{{maturing}}} }}<nowiki>
 +
</nowiki>{{#if: {{{fullness|}}}    | <br/>Liquor Type: {{#if: {{{strong_liquor|}}} | Strong }} {{#switch: {{lcfirst:{{padleft:|2|{{{fullness}}} }} }}
 +
  | ak = Akvavit
 +
  | ar = Arak
 +
  | bo = Bourbon
 +
  | br = Brandy
 +
  | ca = Cassis
 +
  | co = Corn Whisky
 +
  | me = Melon Liqueur
 +
  | mi = Mist
 +
  | sp = Spirytus
 +
  | wh = Whiskey
 +
  | #default =
 +
}} }}<nowiki>
 +
</nowiki>{{#if: {{{fullness|}}}    | <br/>It's {{#switch: {{lcfirst:{{padleft:|1|{{{fullness}}} }} }}
 +
  | e = Empty
 +
  | f = Full
 +
  | h = Half Full
 +
  | n = Nearly Empty
 +
  | #default = Full
 +
}} }}<nowiki>
 +
</nowiki>{{#if: {{{explosive|}}}                | <br/>It Looks Explosive. }}<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 195: Line 221:
 
::- 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.
 +
* liquor_type
 +
::- OPTIONAL.
 +
::- The type of an alcohol.
 +
::- Valid values: akvavit, arak, bourbon, brandy, cassis, corn whisky, melon liqueur, mist, spirytus, whiskey
 +
::- See the strong_liquor parameter for strong liquors.
 +
::- Default: not shown.
 +
* strong_liquor
 +
::- OPTIONAL.
 +
::- For double distilled alcohols.
 +
::- Set to 'true' if the alchol is double distilled.  (e.g. 'Strong Akvavit')
 +
::- Default: not shown.
 +
* maturing
 +
::- OPTIONAL.
 +
::- For distilled alcohols, this is the player-given name of the alchol.
 +
::- Default: not shown.
 +
* matured
 +
::- OPTIONAL.
 +
::- For distilled alcohols, this is the player-given name of the alchol.
 +
::- Default: not shown.
 +
* distiller
 +
::- OPTIONAL.
 +
::- The name of the distiller for an alcohol.
 +
::- Default: not shown.
 +
* start_date
 +
::- OPTIONAL.
 +
::- The date a player-crafted alcohol was started.
 +
::- The date should be as in the properties: 'DD/MM/YY'
 +
::- Default: not shown.
 +
* fullness
 +
::- OPTIONAL.
 +
::- The state of a bottle, e.g. 'It's Full', 'It's Empty', 'It's Nearly Empty', 'It's Half Full'
 +
::- Valid values: 'empty', 'full', 'half', 'nearly'.  If you'd prefer to put 'half full' or 'nearly empty', those will work as well.
 +
::- Default: not shown.
 +
* explosive
 +
::- OPTIONAL.
 +
::- Adds the "It Looks Explosive" property.
 +
::- Set to true if the item has this property.
 +
::- Default: not shown.
 +
* bacterial_resistance
 +
::- OPTIONAL.
 +
::- The bacterial resistance for yeast.
 +
::- Valid values: -, --, +-, +, ++
 +
::- Default: not shown.
 +
* spells
 +
::- OPTIONAL.
 +
::- The number of spells in a spellbook.
 +
::- This should be the initial value for the item, not the maxium, unless there's something inherent to the number which is important (a spellbook with '124 Spells' for example).
 +
::- Default: not shown.
 
* remaining_charges
 
* remaining_charges
 
::- OPTIONAL.
 
::- OPTIONAL.
::- The number of charges remaining on an item, for properties like: Remaining Charges: 10
+
::- The number of charges remaining on an item, for properties like: 'Remaining Charges: 10' or '10 Charges Remaining'
 
::- This should be the max initial value for the item.
 
::- This should be the max initial value for the item.
 
::- Note that there are multiple properties that display charge counts.
 
::- Note that there are multiple properties that display charge counts.

Revision as of 12:26, 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.
  • liquor_type
- OPTIONAL.
- The type of an alcohol.
- Valid values: akvavit, arak, bourbon, brandy, cassis, corn whisky, melon liqueur, mist, spirytus, whiskey
- See the strong_liquor parameter for strong liquors.
- Default: not shown.
  • strong_liquor
- OPTIONAL.
- For double distilled alcohols.
- Set to 'true' if the alchol is double distilled. (e.g. 'Strong Akvavit')
- Default: not shown.
  • maturing
- OPTIONAL.
- For distilled alcohols, this is the player-given name of the alchol.
- Default: not shown.
  • matured
- OPTIONAL.
- For distilled alcohols, this is the player-given name of the alchol.
- Default: not shown.
  • distiller
- OPTIONAL.
- The name of the distiller for an alcohol.
- Default: not shown.
  • start_date
- OPTIONAL.
- The date a player-crafted alcohol was started.
- The date should be as in the properties: 'DD/MM/YY'
- Default: not shown.
  • fullness
- OPTIONAL.
- The state of a bottle, e.g. 'It's Full', 'It's Empty', 'It's Nearly Empty', 'It's Half Full'
- Valid values: 'empty', 'full', 'half', 'nearly'. If you'd prefer to put 'half full' or 'nearly empty', those will work as well.
- Default: not shown.
  • explosive
- OPTIONAL.
- Adds the "It Looks Explosive" property.
- Set to true if the item has this property.
- Default: not shown.
  • bacterial_resistance
- OPTIONAL.
- The bacterial resistance for yeast.
- Valid values: -, --, +-, +, ++
- Default: not shown.
  • spells
- OPTIONAL.
- The number of spells in a spellbook.
- This should be the initial value for the item, not the maxium, unless there's something inherent to the number which is important (a spellbook with '124 Spells' for example).
- Default: not shown.
  • remaining_charges
- OPTIONAL.
- The number of charges remaining on an item, for properties like: 'Remaining Charges: 10' or '10 Charges Remaining'
- 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.