Difference between revisions of "Template:InfoBox UOItem"

m
m
Line 7: Line 7:
 
{| class=infobox
 
{| class=infobox
 
|-
 
|-
| class=imagecell colspan="2"  style="text-align: center; background:{{#ifeq:  {{Boolean|{{{forceBlack|}}} }} | 1 | black | {{#ifeq:  {{Boolean|{{{forceWhite|}}} }} | 1 | | {{#ifexist:{{#var: imagename}} |  {{checkContrast | hue={{{hue|}}} }} |}} }} }}" | {{#ifexist:{{#var: imagename}}|[[{{#var: imagename}}{{!}}Image of {{{name}}}]]|&nbsp;This image is not yet available.&nbsp;{{#if:{{{graphic|}}}|{{#if:{{{hue|}}}|<br/><br/>[http://services.servuo.com/uoapi/item/{{{graphic}}}/{{{hue}}} You can try this image.]<br/><br/>If it is the correct image, with the correct hue,<br/>you can save it, then [http://stratics.com/w/index.php?title=Special:Upload&wpDestFile={{#var: imagename}} upload it] to Stratics!
+
| class=imagecell colspan="2"  style="text-align: center; background:{{#ifeq:  {{Boolean|{{{forceBlack|}}} }} | 1 | black | {{#ifeq:  {{Boolean|{{{forceWhite|}}} }} | 1 | | {{#ifexist:{{#var: imagename}} |  {{checkContrast | hue={{{hue|}}} }} |}} }} }}" | {{#ifexist:{{#var: imagename}}|[[{{#var: imagename}}{{!}}Image of {{{name}}}]]|&nbsp;This image is not yet available.&nbsp;{{#if:{{{graphic|}}}|{{#if:{{{hue|}}}|<br/><br/>[http://services.servuo.com/uoapi/item/{{{graphic}}}/{{{hue}}} You can try this image.]<br/><br/>If it is the correct image,<br/>with the correct hue,<br/>you can save it, then [http://stratics.com/w/index.php?title=Special:Upload&wpDestFile={{#var: imagename}} upload it] to Stratics!
 
<small> (Image API is provided by ServUO,<br/>and is used with permission.)</small>}} |}} |}}
 
<small> (Image API is provided by ServUO,<br/>and is used with permission.)</small>}} |}} |}}
 
<!--  The ServUO API is used with the written permission of dmurphy at servuo.com. -->
 
<!--  The ServUO API is used with the written permission of dmurphy at servuo.com. -->

Revision as of 23:41, 14 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.
  • 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, 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.
  • 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.