Difference between revisions of "Template:InfoBox UORareItem"

Line 1: Line 1:
 
{| class=infobox  
 
{| class=infobox  
| class=imagecell colspan="2"| {{#ifexist:Image:Item-{{{graphic}}}-{{{hue}}}.png|[[Image:Item-{{{graphic}}}-{{{hue}}}.png{{!}}Image of {{{name}}}]]|This image is not yet available at Stratics. [http://services.servuo.com/uoapi/item/{{{graphic}}}/{{{hue}}} You can try this image.]If it is the correct image and has the correct hue, you can save it, then [http://stratics.com/w/index.php?title=Special:Upload&wpDestFile=File:Item-{{{graphic}}}-{{{hue}}}.png upload it] to Stratics!
+
| class=imagecell colspan="2"| {{#ifexist:Image:Item-{{{graphic}}}-{{{hue}}}.png|[[Image:UO-Item-{{{graphic}}}-{{{hue}}}.png{{!}}Image of {{{name}}}]]|This image is not yet available at Stratics. [http://services.servuo.com/uoapi/item/{{{graphic}}}/{{{hue}}} You can try this image.]If it is the correct image and has the correct hue, you can save it, then [http://stratics.com/w/index.php?title=Special:Upload&wpDestFile=File:Item-{{{graphic}}}-{{{hue}}}.png upload it] to Stratics!
 
<small> (Image API is provided by ServUO, and is used with permission.)</small>}}
 
<small> (Image API is provided by ServUO, 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. -->
 
|-
 
|-
| Type  || {{#if:{{{type|}}}|{{{type}}}{{#ifeq:{{{crafted|}}}|true|-crafted[[Category:EM-crafted Items]]|}} Item[[Category:{{{type}}} Items]]|unknown}}
+
| Type  || {{#if:{{{type|}}}|{{{type}}}{{#ifeq:{{{crafted|}}}|true|-crafted[[Category:UO-EM-crafted Items]]|}} Item[[Category:UO-{{{type}}} Items]]|unknown}}
 
|-
 
|-
| Season  || {{#if:{{{season|}}}|{{{season}}}|unknown[[Category:Rares with unknown year]]}}
+
| Season  || {{#if:{{{season|}}}|{{{season}}}|unknown[[Category:UO-Rares with unknown year]]}}
 
|-
 
|-
 
| Year    || {{#if:{{{season|}}}|20{{padleft:{{#expr: 2+{{{season}}}}}|2}}|}}{{#if:{{{year|}}}|{{{year}}}|}}
 
| Year    || {{#if:{{{season|}}}|20{{padleft:{{#expr: 2+{{{season}}}}}|2}}|}}{{#if:{{{year|}}}|{{{year}}}|}}
 
|-
 
|-
| Shard(s) || {{Template:ItemInfoBox/Shard|{{{s_Arirang}}}|Arirang}}{{Template:ItemInfoBox/Shard|{{{s_Asuka}}}|Asuka}}{{Template:ItemInfoBox/Shard|{{{s_Atlantic}}}|Atlantic}}{{Template:ItemInfoBox/Shard|{{{s_Baja}}}|Baja}}{{Template:ItemInfoBox/Shard|{{{s_Balhae}}}|Balhae}}{{Template:ItemInfoBox/Shard|{{{s_Catskills}}}|Catskills}}{{Template:ItemInfoBox/Shard|{{{s_Chesapeake}}}|Chesapeake}}{{Template:ItemInfoBox/Shard|{{{s_Drachenfels}}}|Drachenfels}}{{Template:ItemInfoBox/Shard|{{{s_Europa}}}|Europa}}{{Template:ItemInfoBox/Shard|{{{s_Formosa}}}|Formosa}}{{Template:ItemInfoBox/Shard|{{{s_GL}}}|Great Lakes}}{{Template:ItemInfoBox/Shard|{{{s_Hokuto}}}|Hokuto}}{{Template:ItemInfoBox/Shard|{{{s_Izumo}}}|Izumo}}{{Template:ItemInfoBox/Shard|{{{s_LA}}}|Lake Austin}}{{Template:ItemInfoBox/Shard|{{{s_LS}}}|Lake Superior}}{{Template:ItemInfoBox/Shard|{{{s_Legends}}}|Legends}}{{Template:ItemInfoBox/Shard|{{{s_Mizuho}}}|Mizuho}}{{Template:ItemInfoBox/Shard|{{{s_Mugen}}}|Mugen}}{{Template:ItemInfoBox/Shard|{{{s_Napa}}}|Napa Valley}}{{Template:ItemInfoBox/Shard|{{{s_Oceania}}}|Oceania}}{{Template:ItemInfoBox/Shard|{{{s_Origin}}}|Origin}}{{Template:ItemInfoBox/Shard|{{{s_Pacific}}}|Pacific}}{{Template:ItemInfoBox/Shard|{{{s_Sakura}}}|Sakura}}{{Template:ItemInfoBox/Shard|{{{s_SP}}}|Siege Perilous}}{{Template:ItemInfoBox/Shard|{{{s_Sonoma}}}|Sonoma}}{{Template:ItemInfoBox/Shard|{{{s_Wakoku}}}|Wakoku}}{{Template:ItemInfoBox/Shard|{{{s_Yamato}}}|Yamato}}{{#ifeq:{{{s_Unknown}}}|true|unknown[[Category:Rares from unknown shards]]|}}
+
| Shard(s) || {{Template:ItemInfoBox/Shard|{{{s_Arirang}}}|Arirang}}{{Template:ItemInfoBox/Shard|{{{s_Asuka}}}|Asuka}}{{Template:ItemInfoBox/Shard|{{{s_Atlantic}}}|Atlantic}}{{Template:ItemInfoBox/Shard|{{{s_Baja}}}|Baja}}{{Template:ItemInfoBox/Shard|{{{s_Balhae}}}|Balhae}}{{Template:ItemInfoBox/Shard|{{{s_Catskills}}}|Catskills}}{{Template:ItemInfoBox/Shard|{{{s_Chesapeake}}}|Chesapeake}}{{Template:ItemInfoBox/Shard|{{{s_Drachenfels}}}|Drachenfels}}{{Template:ItemInfoBox/Shard|{{{s_Europa}}}|Europa}}{{Template:ItemInfoBox/Shard|{{{s_Formosa}}}|Formosa}}{{Template:ItemInfoBox/Shard|{{{s_GL}}}|Great Lakes}}{{Template:ItemInfoBox/Shard|{{{s_Hokuto}}}|Hokuto}}{{Template:ItemInfoBox/Shard|{{{s_Izumo}}}|Izumo}}{{Template:ItemInfoBox/Shard|{{{s_LA}}}|Lake Austin}}{{Template:ItemInfoBox/Shard|{{{s_LS}}}|Lake Superior}}{{Template:ItemInfoBox/Shard|{{{s_Legends}}}|Legends}}{{Template:ItemInfoBox/Shard|{{{s_Mizuho}}}|Mizuho}}{{Template:ItemInfoBox/Shard|{{{s_Mugen}}}|Mugen}}{{Template:ItemInfoBox/Shard|{{{s_Napa}}}|Napa Valley}}{{Template:ItemInfoBox/Shard|{{{s_Oceania}}}|Oceania}}{{Template:ItemInfoBox/Shard|{{{s_Origin}}}|Origin}}{{Template:ItemInfoBox/Shard|{{{s_Pacific}}}|Pacific}}{{Template:ItemInfoBox/Shard|{{{s_Sakura}}}|Sakura}}{{Template:ItemInfoBox/Shard|{{{s_SP}}}|Siege Perilous}}{{Template:ItemInfoBox/Shard|{{{s_Sonoma}}}|Sonoma}}{{Template:ItemInfoBox/Shard|{{{s_Wakoku}}}|Wakoku}}{{Template:ItemInfoBox/Shard|{{{s_Yamato}}}|Yamato}}{{#ifeq:{{{s_Unknown}}}|true|unknown[[Category:UO-Rares from unknown shards]]|}}
 
|-
 
|-
| Quantity || {{#if:{{{quantity|}}}|{{{quantity}}}|unknown[[Category:Rares of unknown quantity]]}}
+
| Quantity || {{#if:{{{quantity|}}}|{{{quantity}}}|unknown[[Category:UO-Rares of unknown quantity]]}}
 
|-
 
|-
 
|colspan="2"|
 
|colspan="2"|
 
-----
 
-----
 
|-
 
|-
| Graphic  || {{#if:{{{graphic|}}}|0x{{{graphic}}}|unknown[[Category:Rares with unknown graphic]]}}
+
| Graphic  || {{#if:{{{graphic|}}}|0x{{{graphic}}}|unknown[[Category:UO-Rares with unknown graphic]]}}
 
|-
 
|-
| Hue      || {{#if:{{{hue|}}}|{{{hue}}}[[Category:Items with hue {{{hue}}}]]|unknown[[Category:Rares with unknown hue]]}}
+
| Hue      || {{#if:{{{hue|}}}|{{{hue}}}[[Category:UO-Items with hue {{{hue}}}]]|unknown[[Category:UO-Rares with unknown hue]]}}
 
|-
 
|-
| Sound    || {{#if:{{{sound|}}}|{{{sound}}}{{#ifeq:{{{sound|}}}|none||[[Category:Rares with Sound Effects]]}}|unknown[[Category:Rares with unknown sounds]]}}
+
| Sound    || {{#if:{{{sound|}}}|{{{sound}}}{{#ifeq:{{{sound|}}}|none||[[Category:UO-Rares with Sound Effects]]}}|unknown[[Category:UO-Rares with unknown sounds]]}}
 
|-
 
|-
| Double-Click Effect    || {{#if:{{{doubleclick|}}}|{{{doubleclick}}}{{#ifeq:{{{doubleclick|}}}|none||[[Category:Rares with {{{doubleclick}}} Effects]]}}|unknown[[Category:Rares with unknown effects]]}}
+
| Double-Click Effect    || {{#if:{{{doubleclick|}}}|{{{doubleclick}}}{{#ifeq:{{{doubleclick|}}}|none||[[Category:UO-Rares with {{{doubleclick}}} Effects]]}}|unknown[[Category:UO-Rares with unknown effects]]}}
 
|-
 
|-
 
|colspan="2"|
 
|colspan="2"|
 
-----
 
-----
 
|-
 
|-
| Legal to Own          || {{#if:{{{illegal|}}}|No[[Category:Illegal Items]]|Yes}}
+
| Legal to Own          || {{#if:{{{illegal|}}}|No[[Category:UO-Illegal Items]]|Yes}}
 
|}
 
|}
{{#if:{{{season|}}}|[[Category:Season {{{season}}} Rares]]}}{{#if:{{{year|}}}|[[Category:{{{year}}} Rares]]}}{{#if:{{{wearable|}}}|{{#ifeq:{{{wearable|}}}|false||[[Category:Wearable Rares]]}}}}{{#if:{{{wieldable|}}}|[[Category:Wieldable Rares]]}}{{Template:Clear}}
+
{{#if:{{{season|}}}|[[Category:UO-Season {{{season}}} Rares]]}}{{#if:{{{year|}}}|[[Category:UO-{{{year}}} Rares]]}}{{#if:{{{wearable|}}}|{{#ifeq:{{{wearable|}}}|false||[[Category:UO-Wearable Rares]]}}}}{{#if:{{{wieldable|}}}|[[Category:UO-Wieldable Rares]]}}{{Template:Clear}}
 
<noinclude>
 
<noinclude>
 
  <nowiki>{{Template:ItemInfoBox
 
  <nowiki>{{Template:ItemInfoBox

Revision as of 03:00, 21 May 2016

This image is not yet available at Stratics. You can try this image.If it is the correct image and has the correct hue, you can save it, then upload it to Stratics!

(Image API is provided by ServUO, and is used with permission.)

Type unknown
Season unknown
Year
Shard(s) ItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/ShardItemInfoBox/Shard
Quantity unknown

Graphic unknown
Hue unknown
Sound unknown
Double-Click Effect unknown

Legal to Own Yes
{{Template:ItemInfoBox
  |graphic  = 0x1234
  |hue      = 1050
  |quantity = 15
  |season   = 1  /* if present, don't also define year. */
  |year     = 1998 /* Only for items without a season. */
  |illegal       = true /* Defaults to false. */
  |sound         = None
  |doubleclick   = None
  |wearable      = true
  |wieldable     = true
  |s_Arirang     = true
  |s_Asuka       = true
  |s_Atlantic    = true
  |s_Baja        = true
  |s_Balhae      = true
  |s_Catskills   = true
  |s_Chesapeake  = true
  |s_Drachenfels = true
  |s_Europa      = true
  |s_Formosa     = true
  |s_GL          = true
  |s_Hokuto      = true
  |s_Izumo       = true
  |s_LA          = true
  |s_LS          = true
  |s_Legends     = true
  |s_Mizuho      = true
  |s_Mugen       = true
  |s_Napa        = true
  |s_Oceania     = true
  |s_Origin      = true
  |s_Pacific     = true
  |s_Sakura      = true
  |s_SP          = true
  |s_Sonoma      = true
  |s_Wakoku      = true
  |s_Yamato      = true
  |s_Unknown     = true
  |type          = EM
  |crafted       = no
}}

Minimum knowledge case:

{{Template:ItemInfoBox
  |s_Unknown = true
}}