Difference between revisions of "Template:InfoBox UORareItem"

m
m
 
(101 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#arraydefine: shards | Arirang, Asuka, Atlantic, Baja, Balhae, Catskills, Chesapeake, Drachenfels, Europa, Formosa, GL, Hokuto, Izumo, LA, LS, Legends, Mizuho, Mugen, Napa, Oceania, Origin, Pacific, Sakura, SP, Sonoma, Test, Wakoku,Yamato,Abyss,Baekdu,Farmageddon,Retribution,SantaSlay,ShardOfScreams,ShardOfTheDead,ShardOfTheDead2,Winterland}}{{#vardefine: yearExists | {{#if: {{{year|}}} | {{Isnumeric|{{{year|}}} |boolean=true}} | 0 }} }}{{#vardefine: yearHasSeason | {{#if: {{Isnumeric|{{{year|}}} }} | {{#expr: {{{year|2002}}} > 2001 }} | 0}} }}{{#arraydefine: graphicLists |animated,container,height,runebook,spellbook,stackable,translucent,wearable,wieldable}}{{#ifeq:{{{quantity|}}}|?|[[Category:Pages with faulty unknown parameters]]}}{{#ifeq:{{{shard|}}}|?|[[Category:Pages with faulty unknown parameters]]}}{{#ifeq:{{{year|}}}|?|[[Category:Pages with faulty unknown parameters]]}}{{#ifeq:{{{season|}}}|?|[[Category:Pages with faulty unknown parameters]]}}
+
<includeonly>{{#arraydefine: shards | Arirang, Asuka, Atlantic, Baja, Balhae, Catskills, Chesapeake, Drachenfels, Europa, Formosa, GL, Hokuto, Izumo, LA, LS, Legends, Mizuho, Mugen, Napa, Oceania, Origin, Pacific, Sakura, SP, Sonoma, Test, Wakoku,Yamato,Abyss,Baekdu,Farmageddon,Retribution,SantaSlay,ShardOfScreams,ShardOfTheDead,ShardOfTheDead2,Winterland}}{{#vardefine: yearExists | {{#if: {{{year|}}} | {{Isnumeric|{{{year|}}} |boolean=true}} | 0 }} }}{{#vardefine: yearHasSeason | {{#if: {{Isnumeric|{{{year|}}} }} | {{#expr: {{{year|2002}}} > 2001 }} | 0}} }}{{#arraydefine: graphicLists |animated,container,height,runebook,spellbook,stackable,translucent,wearable,wieldable}}{{#ifeq:{{{quantity|}}}|?|[[Category:Pages with faulty unknown parameters]]}}{{#ifeq:{{{shard|}}}|?|[[Category:Pages with faulty unknown parameters]]}}{{#ifeq:{{{year|}}}|?|[[Category:Pages with faulty unknown parameters]]}}{{#ifeq:{{{season|}}}|?|[[Category:Pages with faulty unknown parameters]]}}{{#if: {{{season|}}} | {{#if: {{{year|}}} |  | [[Category:Pages with season but not year]] }} | }}
 
{{#loop: i
 
{{#loop: i
 
   | 0
 
   | 0
 
   | {{#arraysize: graphicLists}}
 
   | {{#arraysize: graphicLists}}
   | <nowiki/>
+
   | {{#vardefine: list | {{#arrayindex:graphicLists | {{#var:i}} }} }}
{{#vardefine: list | {{#arrayindex:graphicLists | {{#var:i}} }} }}
 
 
{{#arraydefine:graphic_is_{{#var:list}}|{{UOGraphicList_{{#var:list}}}}}}
 
{{#arraydefine:graphic_is_{{#var:list}}|{{UOGraphicList_{{#var:list}}}}}}
{{#vardefine: {{#var:list}} | {{#if: {{{ {{#var:list}} |}}} | {{{ {{#var:list}} }}} | {{#if: {{{graphic|}}} | {{#arraysearch:graphic_is_{{#var:list}}|/{{{graphic}}}(;\w)?(;\d+)?/|0|yes|no}} }} }} }}
+
{{#vardefine: {{#var:list}} | {{#if: {{{ {{#var:list}} |}}} | {{{ {{#var:list}} }}} | {{#if: {{{graphic|}}} | {{#ifeq:{{#explode:{{#arrayindex:graphic_is_{{#var:list}}|{{#arraysearch:graphic_is_{{#var:list}}|/{{{graphic}}};\w?/|0}}|-1}}|;|0}}|{{{graphic}}}|yes|no}} }} }} }}
}}
+
}}{{#arraydefine:seasons|{{{season|}}}|,}}{{#vardefine:firstseason|{{#arrayindex:seasons|0}} }}{{#vardefine:seasonText|{{#loop: i
 +
  | 0
 +
  | {{#arraysize:seasons}}
 +
  | {{#ifexpr: {{#var:i}} > 0|, }}{{#vardefine: season|{{#arrayindex:seasons|{{#var:i}} }} }}[[Category:UO:Season {{#var:season}} Rares]][[UO:Season {{#var:season}} Rares|{{#var:season}}]]
 +
}} }}
 
{| class=infobox  
 
{| class=infobox  
 
|class=titlecell colspan="2"| Rare Item
 
|class=titlecell colspan="2"| Rare Item
 
|-
 
|-
| Type   || {{#if:{{{type|}}}|{{#arraydefine:types|{{{type}}} }}{{#arraysort:types|asc}}{{#arrayprint:types |,&nbsp; |@@@@  | {{#vardefine: itemtype |{{#replace: {{#replace: {{#replace: @@@@|Em|EM}}|Gm|GM}}|Igm|IGM}}{{#ifeq: {{Boolean|{{{crafted}}} }} |1|-crafted|}} Item}}[[Category:UO:{{#var:itemtype}}s]][[:Category:UO:{{#var:itemtype}}s|{{#var:itemtype}}]]{{#ifeq: {{#var:itemtype}}|EM Item|{{#vardefine:notspawning|true}} }}{{#ifeq: {{#var:itemtype}}|Server Birth Item|{{#vardefine:noseason|true}} }} }}|[[Category:UO:Items of unknown origin]][[Items of unknown origin|unknown]]}}
+
| Type || {{#if:{{{type|}}}|<noinclude>
{{#ifeq: {{Boolean|{{{crafted}}} }} |1|{{!}}-
+
    </noinclude>{{#ifeq:{{{type|}}}|unknown|<noinclude>
{{!}} Crafter Name {{!!}} {{{crafter}}}|}}{{#ifexpr: {{#expr: {{#var: yearExists}} and {{#var: yearHasSeason}} }} or  {{#expr: {{#var: yearExists}} = 0}} |{{#ifeq: {{Boolean|{{{noseason|}}} }}|0|{{#ifeq: {{#var:noseason}}|true||{{!}}-
+
        </noinclude>[[Category:UO:Items of unknown origin]][[:Category:UO:Items of unknown origin|unknown]]|<noinclude>
{{!}} Season  {{!!}} {{#if:{{{season|}}}| [[Category:UO:Season {{{season}}} Rares]][[UO:Season {{{season}}} Rares|{{{season}}}]]||[[Category:UO:Rares with unknown season]][[UO:Rares with unknown season|unknown]]} }} }} }} }}
+
        </noinclude>{{#arraydefine:types|{{{type}}} }}<noinclude>
 +
        </noinclude>{{#arraysort:types|asc}}<noinclude>
 +
        </noinclude>{{#arrayprint:types |,&nbsp; |@@@@  | <noinclude>
 +
            </noinclude>{{#vardefine: itemtype |{{#replace: {{#replace: {{#replace: @@@@|Em|EM}}|Gm|GM}}|Igm|IGM}}}}<noinclude>
 +
            </noinclude>[[Category:UO:{{#var:itemtype}} Items]]<noinclude>
 +
            </noinclude>[[Category:UO:{{#var:itemtype}}{{#if: {{{crafter|}}}|-crafted}} Items]]<noinclude>
 +
            </noinclude>[[:Category:UO:{{#var:itemtype}} Items|{{#var:itemtype}}{{#if: {{{crafter|}}}|-crafted}} Item]]<noinclude>
 +
            </noinclude>{{#ifeq: {{#var:itemtype}}|EM|{{#vardefine:notspawning|true}} }}<noinclude>
 +
            </noinclude>{{#if: {{#pos:{{#var:itemtype}}|Birth}}|{{#vardefine:noseason|true}}|{{#if: {{#pos:{{#var:itemtype}}|Advanced Character Program}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Beta}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Bug}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Christmas}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Cleanup Britannia}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Cornucopia}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Daily}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Exploit}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Faction}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Gift}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Halloween}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Hourly}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Khaldun}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Khaldun Birth}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Loot}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Magic Moments}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Monthly}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|New Player}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|NPC Vendor}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Original Necromancy}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Plague Of Despair}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Prepatch}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Quest}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|SA Birth}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Seer}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Server Birth}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Sigil}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Stacking Bug}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Store}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Stratics}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|T2A Birth}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Trammel Birth}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Trick Or Treat}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Trinsic Invasion}}|{{#vardefine:noseason|true}} }}{{#if: {{#pos:{{#var:itemtype}}|Weekly}}|{{#vardefine:noseason|true}} }}<noinclude>
 +
        </noinclude>}}<noinclude>
 +
    </noinclude>}}<noinclude>
 +
</noinclude>}}
 +
{{#if: {{{crafter}}}|  
 +
{{!}}-
 +
{{!}} Crafter Name {{!!}} {{{crafter|}}}
 +
|}}
 
|-
 
|-
| Date{{#if: {{{year_end|}}} |s}} || {{#vardefine: month|{{#switch: {{lc:{{padleft:|3|{{{month|}}} }} }}
+
| Date{{#if: {{{year_end|}}} |s}} || {{#vardefine: month|{{#switch: {{lc:{{padleft:|3|{{{month|}}}~ }} }}
| 111 = January
+
| 1~1
 
  | jan = January
 
  | jan = January
  | 222 = February
+
  | 2~2
 
  | feb = February
 
  | feb = February
  | 333 = March
+
  | 3~3
 
  | mar = March
 
  | mar = March
  | 444 = April
+
  | 4~4
 
  | apr = April
 
  | apr = April
  | 555 = May
+
  | 5~5
 
  | may = May
 
  | may = May
  | 666 = June
+
  | 6~6
 
  | jun = June
 
  | jun = June
  | 777 = July
+
  | 7~7
 
  | jul = July
 
  | jul = July
  | 888 = August
+
  | 8~8
 
  | aug = August
 
  | aug = August
  | 999 = September
+
  | 9~9
  | sep = September
+
  | sep  
 
  | sept = September
 
  | sept = September
  | 101 = October
+
  | 10~
 
  | oct = October
 
  | oct = October
  | 111 = November
+
  | 11~
 
  | nov = November
 
  | nov = November
  | 121 = December
+
  | 12~
 
  | dec = December
 
  | dec = December
  | #default = {{{month|}}}
+
  | #default =  
}}}}{{#var: month}}{{#if: {{{day|}}} |&nbsp;{{{day}}}, |}} {{#if:{{{season|}}}|{{#vardefine: year |20{{padleft:{{#expr: 2+{{{season}}} }}|2}} }} [[Category:UO:Rares From {{#var: year}}]]&nbsp;[[UO:Rares From {{#var: year}}|{{#var: year}}]]|{{#if:{{{year|}}}| [[Category:UO:Rares From {{{year}}}]]&nbsp;[[UO:Rares From {{{year}}}|{{{year}}}]]|[[Category:UO:Rares with unknown year]][[UO:Rares with unknown year|unknown]]}} }} {{#if: {{{year_end|}}} | &#8211; {{#switch: {{lc:{{padleft:|3|{{{month_end|}}} }} }}
+
}}}}{{#var: month}}&nbsp;{{#if: {{{day|}}} |{{{day}}},&nbsp; |}} {{#if:{{{season|}}}|{{#vardefine: year |20{{padleft:{{#expr: 2+{{#var:firstseason}} }}|2}} }} [[Category:UO:Rares From {{#var: year}}]][[UO:Rares From {{#var: year}}|{{#var: year}}]]|{{#if:{{{year|}}}| [[Category:UO:Rares From {{{year}}}]][[UO:Rares From {{{year}}}|{{{year}}}]]|[[Category:UO:Rares with unknown year]][[UO:Rares with unknown year|unknown]]}} }} {{#if: {{{year_end|}}} | &#8211; {{#switch: {{lc:{{padleft:|3|{{{month_end|}}}~ }} }}
| 111 = January
+
| 1~1
 
  | jan = January
 
  | jan = January
  | 222 = February
+
  | 2~2
 
  | feb = February
 
  | feb = February
  | 333 = March
+
  | 3~3
 
  | mar = March
 
  | mar = March
  | 444 = April
+
  | 4~4
 
  | apr = April
 
  | apr = April
  | 555 = May
+
  | 5~5
 
  | may = May
 
  | may = May
  | 666 = June
+
  | 6~6
 
  | jun = June
 
  | jun = June
  | 777 = July
+
  | 7~7
 
  | jul = July
 
  | jul = July
  | 888 = August
+
  | 8~8
 
  | aug = August
 
  | aug = August
  | 999 = September
+
  | 9~9
  | sep = September
+
  | sep  
 
  | sept = September
 
  | sept = September
  | 101 = October
+
  | 10~
 
  | oct = October
 
  | oct = October
  | 111 = November
+
  | 11~
 
  | nov = November
 
  | nov = November
  | 121 = December
+
  | 12~
 
  | dec = December
 
  | dec = December
  | #default = {{{month_end|}}}
+
  | #default =  
 
}}{{#if: {{{day_end|}}} |&nbsp;{{{day_end}}}, |}} {{#if:{{{year_end|}}}|&nbsp;{{{year_end}}} }}
 
}}{{#if: {{{day_end|}}} |&nbsp;{{{day_end}}}, |}} {{#if:{{{year_end|}}}|&nbsp;{{{year_end}}} }}
 
}}
 
}}
 +
{{#ifexpr: {{#expr: {{#var: yearExists}} and {{#var: yearHasSeason}} }} or  {{#expr: {{#var: yearExists}} = 0}} |{{#ifeq: {{Boolean|{{{noseason|}}} }}|0|{{#ifeq: {{#var:noseason}}|true||
 +
{{!}}-
 +
{{!}} Season  {{!!}} {{#if:{{{season|}}}| {{#var:seasonText}}|[[Category:UO:Rares with unknown season]][[UO:Rares with unknown season|unknown]]}} }} }} }}
 
|-
 
|-
 
| Shard{{#vardefine: shardcount | 0}}{{
 
| Shard{{#vardefine: shardcount | 0}}{{
Line 113: Line 134:
 
| Graphic  || {{#if:{{{graphic|}}}|[[Category:UO:Items using graphic {{{graphic}}}]][[:Category:UO:Items using graphic {{{graphic}}}|{{{graphic}}}]]|[[Category:UO:Rares with unknown graphic]][[:Category:UO:Rares with unknown graphic|unknown]]}}
 
| Graphic  || {{#if:{{{graphic|}}}|[[Category:UO:Items using graphic {{{graphic}}}]][[:Category:UO:Items using graphic {{{graphic}}}|{{{graphic}}}]]|[[Category:UO:Rares with unknown graphic]][[:Category:UO:Rares with unknown graphic|unknown]]}}
 
|-
 
|-
| Hue  || {{#if:{{{hue|}}}|[[Category:UO:Items using hue {{{hue}}}]][[:Category:UO:Items using hue {{{hue}}}|{{{hue}}}]]|[[Category:UO:Rares with unknown hue]][[:Category:UO:Rares with unknown hue|unknown]]}}
+
| Hue  || {{#if:{{{hue|}}}|[[Category:UO:Items using hue {{{hue}}}]][[UO:Hue_{{{hue}}}|{{{hue}}}]]|[[Category:UO:Rares with unknown hue]][[:Category:UO:Rares with unknown hue|unknown]]}}
 
|-
 
|-
 
| Height  || {{#if:{{{graphic|}}}|{{#ifeq: {{#var: height}} |no| 0 | {{#arraydefine: heightInfo | {{#arrayindex: graphic_is_height | {{#arraysearch: graphic_is_height |/{{{graphic}}};\d+/|0}} }} |;}}{{#arrayindex: heightInfo | 1 }} }}|unknown}}
 
| Height  || {{#if:{{{graphic|}}}|{{#ifeq: {{#var: height}} |no| 0 | {{#arraydefine: heightInfo | {{#arrayindex: graphic_is_height | {{#arraysearch: graphic_is_height |/{{{graphic}}};\d+/|0}} }} |;}}{{#arrayindex: heightInfo | 1 }} }}|unknown}}
 
{{BoolInfoLine
 
{{BoolInfoLine
 
| field = Dyable
 
| field = Dyable
 +
| category = Dyable Rares
 
| param = {{{dyable|}}}
 
| param = {{{dyable|}}}
 
| unknownCat = Rares with unknown dye capability
 
| unknownCat = Rares with unknown dye capability
Line 123: Line 145:
 
{{BoolInfoLine
 
{{BoolInfoLine
 
| field = Edible
 
| field = Edible
| param = {{#if: {{{eatable|}}} | {{{eatable}}} | {{#if: {{#var: wieldable}} |false|{{#if: {{#var: wearable}} |false|{{#if: {{#var: container}} |false|{{#if: {{#var: spellbook}} |false|{{#if: {{#var: runebook}} |false}} }} }} }} }} }}
+
| category = Edible Rares
 +
| param = {{{eatable|}}}
 
| unknownCat = Rares with unknown edibleness
 
| unknownCat = Rares with unknown edibleness
 
}}
 
}}
 
{{BoolInfoLine
 
{{BoolInfoLine
 
| field = Stackable
 
| field = Stackable
 +
| category = Stackable Rares
 
| param = {{#var: stackable}}
 
| param = {{#var: stackable}}
 
| unknownCat = Rares with unknown stacking capability
 
| unknownCat = Rares with unknown stacking capability
Line 133: Line 157:
 
{{BoolInfoLine
 
{{BoolInfoLine
 
| field = Turnable
 
| field = Turnable
 +
| category = Turnable Rares
 
| param = {{{turnable|}}}
 
| param = {{{turnable|}}}
 
| unknownCat = Rares with unknown turning capability
 
| unknownCat = Rares with unknown turning capability
Line 138: Line 163:
 
{{BoolInfoLine
 
{{BoolInfoLine
 
| field = Wearable
 
| field = Wearable
 +
| category = Wearable Rares
 
| param = {{#var: wearable}}
 
| param = {{#var: wearable}}
 
| displayText = [[{{ucfirst: {{#arraydefine: gearInfo | {{#arrayindex: graphic_is_wearable | {{#arraysearch: graphic_is_wearable |/{{{graphic}}};\w/|0}} }} |;}}{{#arrayindex: gearInfo | 1 }} }} slot]]
 
| displayText = [[{{ucfirst: {{#arraydefine: gearInfo | {{#arrayindex: graphic_is_wearable | {{#arraysearch: graphic_is_wearable |/{{{graphic}}};\w/|0}} }} |;}}{{#arrayindex: gearInfo | 1 }} }} slot]]
Line 144: Line 170:
 
{{BoolInfoLine
 
{{BoolInfoLine
 
| field = Wieldable
 
| field = Wieldable
 +
| category = Wieldable Rares
 
| param = {{#var: wieldable}}
 
| param = {{#var: wieldable}}
 
| displayText = [[{{ucfirst: {{#arraydefine: gearInfo | {{#arrayindex: graphic_is_wieldable | {{#arraysearch: graphic_is_wieldable |/{{{graphic}}};\w/|0}} }} |;}}{{#arrayindex: gearInfo | 1 }} }}-handed weapon]]
 
| displayText = [[{{ucfirst: {{#arraydefine: gearInfo | {{#arrayindex: graphic_is_wieldable | {{#arraysearch: graphic_is_wieldable |/{{{graphic}}};\w/|0}} }} |;}}{{#arrayindex: gearInfo | 1 }} }}-handed weapon]]
Line 150: Line 177:
 
{{BoolInfoLine
 
{{BoolInfoLine
 
| field = Works as a container
 
| field = Works as a container
 +
| category = Rares That Work As Containers
 
| param = {{#var: container}}
 
| param = {{#var: container}}
 
| unknownCat = Rares with unknown container capability
 
| unknownCat = Rares with unknown container capability
Line 155: Line 183:
 
{{BoolInfoLine
 
{{BoolInfoLine
 
| field = Works as a runebook
 
| field = Works as a runebook
 +
| category = Rares That Work As Runebooks
 
| param = {{#var: runebook}}
 
| param = {{#var: runebook}}
 
| unknownCat = Rares with unknown container capability
 
| unknownCat = Rares with unknown container capability
Line 160: Line 189:
 
{{BoolInfoLine
 
{{BoolInfoLine
 
| field = Works as a spellbook
 
| field = Works as a spellbook
 +
| category = Rares That Work As Spellbooks
 
| param = {{#var: spellbook}}
 
| param = {{#var: spellbook}}
 
| unknownCat = Rares with unknown container capability
 
| unknownCat = Rares with unknown container capability
Line 169: Line 199:
 
{{BoolInfoLine
 
{{BoolInfoLine
 
| field = Animated
 
| field = Animated
 +
| category = Animated Rares
 
| param = {{#var: animated}}
 
| param = {{#var: animated}}
 
| unknownCat = Rares with unknown animation info
 
| unknownCat = Rares with unknown animation info
Line 174: Line 205:
 
{{BoolInfoLine
 
{{BoolInfoLine
 
| field = Double-click Effect
 
| field = Double-click Effect
 +
| category = Rares With Double-Click Effects
 
| param = {{{doubleclick|}}}
 
| param = {{{doubleclick|}}}
 
| unknownCat = Rares with unknown double-click info
 
| unknownCat = Rares with unknown double-click info
Line 179: Line 211:
 
|-
 
|-
 
|Ethereal || {{#if:{{{hue|}}}|{{#ifeq:{{{hue}}} | 16385 | Yes | No}}|unknown}}
 
|Ethereal || {{#if:{{{hue|}}}|{{#ifeq:{{{hue}}} | 16385 | Yes | No}}|unknown}}
{{BoolInfoLine
+
{{SoundInfoLine
 
| field = Sound
 
| field = Sound
 +
| category = Rares With Sound Effects
 
| param = {{{sound|}}}
 
| param = {{{sound|}}}
 +
| soundId = {{{soundId|}}}
 
| unknownCat = Rares with unknown sound info
 
| unknownCat = Rares with unknown sound info
 
}}
 
}}
 
{{BoolInfoLine
 
{{BoolInfoLine
 
| field = Translucent
 
| field = Translucent
 +
| category = Translucent Rares
 
| param = {{#var: translucent}}
 
| param = {{#var: translucent}}
 
| unknownCat = Rares with unknown translucency
 
| unknownCat = Rares with unknown translucency
Line 191: Line 226:
 
{{BoolInfoLine
 
{{BoolInfoLine
 
| field = Walk-over Effect
 
| field = Walk-over Effect
 +
| category = Rares With Walk-Over Effects
 
| param = {{{walkover|}}}
 
| param = {{{walkover|}}}
 
| unknownCat = Rares with unknown walk-over info
 
| unknownCat = Rares with unknown walk-over info
Line 200: Line 236:
 
{{BoolInfoLine
 
{{BoolInfoLine
 
| field = Newbiefied
 
| field = Newbiefied
 +
| category = Newbiefied Items
 
| param = {{#if: {{{newbie|}}} | {{{newbie}}} | {{#ifeq: {{#arraysearch:types|EM|0|yes|no}} | yes | no }} }}
 
| param = {{#if: {{{newbie|}}} | {{{newbie}}} | {{#ifeq: {{#arraysearch:types|EM|0|yes|no}} | yes | no }} }}
 
| unknownCat = Rares with unknown newbie status
 
| unknownCat = Rares with unknown newbie status
Line 216: Line 253:
 
|18100 = {{#if: {{#pos:{{{name|}}}|Greeting}} |[[Category:UO:Rares Collection:EM Greetings Sashes]] }}
 
|18100 = {{#if: {{#pos:{{{name|}}}|Greeting}} |[[Category:UO:Rares Collection:EM Greetings Sashes]] }}
 
|6479 = [[Category:UO:Rares Collection:Easter Baskets]]
 
|6479 = [[Category:UO:Rares Collection:Easter Baskets]]
 +
|8406 = [[Category:UO:Rares Collection:Dragons]]
 
|3191
 
|3191
|3192 = [[Category:UO:Rares Collection:Carrots]]
+
|3192 = [[Category:UO:Rares Collection:Carrots]][[Category:UO:Rares Collection:Foods]]
 
|2485
 
|2485
 
|5928
 
|5928
 
|19719
 
|19719
 
|19720
 
|19720
|19721 = [[Category:UO:Rares Collection:Eggs]]
+
|19721 = [[Category:UO:Rares Collection:Eggs]][[Category:UO:Rares Collection:Foods]]
 
|4161
 
|4161
 
|4162
 
|4162
Line 230: Line 268:
 
|19461
 
|19461
 
|19468
 
|19468
|19469 = [[Category:UO:Rares Collection:Pies]]
+
|19469 = [[Category:UO:Rares Collection:Pies]][[Category:UO:Rares Collection:Foods]]
 
|3094
 
|3094
 
|3643
 
|3643
Line 348: Line 386:
 
|17076
 
|17076
 
|18782
 
|18782
|18783 = [[Category:UO:Rares Collection:Alcohol and Drinks]]
+
|18783 = [[Category:UO:Rares Collection:Alcohol and Drinks]][[Category:UO:Rares Collection:Foods]]
|11233 = [[Category:UO:Rares Collection:Foods]][[Category:UO:Rares Collection:Solstice Stag]]
+
|2581
 +
|2582
 +
|2583
 +
|2584
 +
|2586
 +
|2587
 +
|2588
 +
|2589
 +
|2594
 +
|2595
 +
|2596
 +
|2597 = [[Category:UO:Rares Collection:Lanterns]]
 +
|3629
 +
|3630
 +
|3631
 +
|3632
 +
|7715
 +
|7716
 +
|7717 = [[Category:UO:Rares Collection:Globes]]
 +
|2425
 +
|2426
 +
|2427
 +
|2428
 +
|2430
 +
|2453
 +
|2454
 +
|2459
 +
|2463
 +
|2485
 +
|2486
 +
|2487
 +
|2488
 +
|2490
 +
|2491
 +
|2496
 +
|2503
 +
|2504
 +
|2512
 +
|2513
 +
|2514
 +
|2515
 +
|2537
 +
|2538
 +
|2539
 +
|2540
 +
|2544
 +
|2545
 +
|2546
 +
|3164
 +
|3165
 +
|3173
 +
|3174
 +
|3178
 +
|3181
 +
|3182
 +
|3184
 +
|3185
 +
|3187
 +
|3188
 +
|3191
 +
|3192
 +
|3195
 +
|3196
 +
|3199
 +
|3201
 +
|3352
 +
|3386
 +
|3625
 +
|3856
 +
|3857
 +
|3864
 +
|3964
 +
|3978
 +
|4086
 +
|4153
 +
|4155
 +
|4156
 +
|4157
 +
|4159
 +
|4160
 +
|4161
 +
|4162
 +
|4165
 +
|4190
 +
|4227
 +
|5625
 +
|5626
 +
|5627
 +
|5628
 +
|5629
 +
|5631
 +
|5632
 +
|5633
 +
|5634
 +
|5636
 +
|5638
 +
|5639
 +
|5640
 +
|5641
 +
|5642
 +
|5643
 +
|5919
 +
|5921
 +
|5922
 +
|5923
 +
|5924
 +
|5925
 +
|5926
 +
|5927
 +
|5928
 +
|5929
 +
|5930
 +
|5931
 +
|5932
 +
|5933
 +
|7121
 +
|7192
 +
|7869
 +
|8085
 +
|8087
 +
|8089
 +
|8091
 +
|8093
 +
|9451
 +
|10248
 +
|10302
 +
|10304
 +
|10315
 +
|10316
 +
|10317
 +
|10318
 +
|10319
 +
|10320
 +
|11233
 +
|11235
 +
|11599
 +
|11705
 +
|11706
 +
|12246
 +
|12247
 +
|12248
 +
|16954
 +
|18060
 +
|18061
 +
|18063
 +
|18064
 +
|18077
 +
|18078
 +
|19363
 +
|39460
 +
|39461
 +
|39952
 +
|40582 = [[Category:UO:Rares Collection:Foods]]
 
|#default =
 
|#default =
}}
+
}}{{#if: {{#pos:{{{crafter|}}}|Drunk}} |[[Category:UO:Rares Collection:Alcohol and Drinks]] }}{{#if: {{#pos:{{{name|}}}|Dragon}} |[[Category:UO:Rares Collection:Dragons]] }}{{#if: {{#pos:{{{crafter|}}}|Pirate}} |[[Category:UO:Rares Collection:Pirates]] }}{{#if: {{#pos:{{{name|}}}|Pirate}} |[[Category:UO:Rares Collection:Pirates]] }}{{#if: {{#pos:{{{crafter|}}}|Pirate}} |[[Category:UO:Rares Collection:Pirates]] }}{{#if: {{#pos:{{{name|}}}|Spider}} |[[Category:UO:Rares Collection:Spiders]] }}{{#if: {{#pos:{{{name|}}}|Rubble}} |[[Category:UO:Rares Collection:Rubble]] }}{{#if: {{#pos:{{{name|}}}|Kitten}} |[[Category:UO:Rares Collection:Cats]] }}{{#if: {{#pos:{{{name|}}}|Cats }} |[[Category:UO:Rares Collection:Cats]] }}{{#if: {{#pos:{{{name|}}}|Cat }} |[[Category:UO:Rares Collection:Cats]] }}{{#if: {{#pos:{{{name|}}}|Tiger }} |[[Category:UO:Rares Collection:Cats]] }}{{#if: {{#pos:{{{name|}}}|Kitty}} |[[Category:UO:Rares Collection:Cats]] }}{{#if: {{#pos:{{{name|}}}|Couger}} |[[Category:UO:Rares Collection:Cats]] }}{{#if: {{#pos:{{{name|}}}|Jaguar}} |[[Category:UO:Rares Collection:Cats]] }}{{#if: {{#pos:{{{name|}}}|Lion}} |[[Category:UO:Rares Collection:Cats]] }}{{#if: {{#pos:{{{name|}}}|Leopard}} |[[Category:UO:Rares Collection:Cats]] }}{{#if: {{#pos:{{{name|}}}|Lynx}} |[[Category:UO:Rares Collection:Cats]] }}{{#if: {{#pos:{{{name|}}}|Panther}} |[[Category:UO:Rares Collection:Cats]] }}{{#if: {{#pos:{{{name|}}}|Tabby}} |[[Category:UO:Rares Collection:Cats]] }}</includeonly><noinclude>
{{#if: {{#pos:{{{name|}}}|Dragon}} |[[Category:UO:Rares Collection:Dragons]] }}
 
{{#if: {{#pos:{{{name|}}}|Pirate}} |[[Category:UO:Rares Collection:Pirates]] }}
 
{{#if: {{#pos:{{{name|}}}|Spider}} |[[Category:UO:Rares Collection:Spiders]] }}
 
{{#if: {{#pos:{{{name|}}}|Rubble}} |[[Category:UO:Rares Collection:Rubble]] }}</includeonly><noinclude>
 
 
  <nowiki>{{InfoBox UORareItem
 
  <nowiki>{{InfoBox UORareItem
 
   |name = Some Item
 
   |name = Some Item

Latest revision as of 17:28, 10 August 2020

{{InfoBox UORareItem
  |name = Some Item
  |japanesename = 船
  |aka = Rift Pillar
  |engraving = To Catskills Love Mesanna
  |extraprop = It's full.
  |container = no
  |runebook = no
  |spellbook = no
  |crafted       = no
  |craftText = made
  |crafter = EM So and so
  |quantity = 15
  |noseason = true
  |season   = 1 
  |day = 1
  |month = June
  |year     = 1998
  |day_end = 27
  |month_end = 4
  |year_end = 1999
  |weight = 3
  |legal       = true 
  |sound         = None
  |doubleclick   = None
  |wearable      = true
  |wieldable     = true
  |walkover = true
  |eatable = true
  |animated = true
  |turnable  = true
  |Arirang     = true
  |Asuka       = true
  |Atlantic    = true
  |Baja        = true
  |Balhae      = true
  |Catskills   = true
  |Chesapeake  = true
  |Drachenfels = true
  |Europa      = true
  |Formosa     = true
  |GL          = true
  |Hokuto      = true
  |Izumo       = true
  |LA          = true
  |LS          = true
  |Legends     = true
  |Mizuho      = true
  |Mugen       = true
  |Napa        = true
  |Oceania     = true
  |Origin      = true
  |Pacific     = true
  |Sakura      = true
  |SP          = true
  |Sonoma      = true
  |Test = true
  |Wakoku      = true
  |Yamato      = true
  |type          = EM
  |spawning = no
  | Abyss = true
  | Baekdu = true
  | Farmageddon = true
  | Retribution = true
  | SantaSlay = true
  | ShardOfScreams  = true
  | ShardOfTheDead = true
  | ShardOfTheDead2 = true
  | Winterland = true
}}

To suppress the season where it's not applicable - for daily rares, for example - set the value of the noseason parameter to true.

Use:
 |forceBlack = true
or
 |forceWhite = true
to override the default image background color, if it will make the image show better.

If the item name contains a |, you must instead type {{!}} or things will break.