Difference between revisions of "Template:InfoBox UORareItem"

m
 
(362 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]]}}{{#if: {{{season|}}} | {{#if: {{{year|}}} |  | [[Category:Pages with season but not year]] }} | }}
 +
{{#loop: i
 +
  | 0
 +
  | {{#arraysize: graphicLists}}
 +
  | {{#vardefine: list | {{#arrayindex:graphicLists | {{#var:i}} }} }}
 +
{{#arraydefine:graphic_is_{{#var:list}}|{{UOGraphicList_{{#var:list}}}}}}
 +
{{#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=imagecell colspan="2"| {{#ifexist:Image:Item-{{{graphic}}}-{{{hue}}}.png|[[File:Item-{{{graphic}}}-{{{hue}}}.png{{!}}Image of {{{name}}}]]|http://services.servuo.com/uoapi/item/{{{graphic}}}/{{{hue}}} This image is not yet available at Stratics.  This image is provided by ServUO.  If it is correct, save it, then [[File:Item-{{{graphic}}}-{{{hue}}}.png{{!}}upload it to Stratics]]!}}
+
|class=titlecell colspan="2"| Rare Item
<!--  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|}}}|<noinclude>
 +
    </noinclude>{{#ifeq:{{{type|}}}|unknown|<noinclude>
 +
        </noinclude>[[Category:UO:Items of unknown origin]][[:Category:UO:Items of unknown origin|unknown]]|<noinclude>
 +
        </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|}}}
 +
|}}
 
|-
 
|-
| Season  || {{#if:{{{season|}}}|{{{season}}}|unknown[[Category:Rares with unknown year]]}}
+
| Date{{#if: {{{year_end|}}} |s}} || {{#vardefine: month|{{#switch: {{lc:{{padleft:|3|{{{month|}}}~ }} }}
 +
| 1~1
 +
| jan = January
 +
| 2~2
 +
| feb = February
 +
| 3~3
 +
| mar = March
 +
| 4~4
 +
| apr = April
 +
| 5~5
 +
| may = May
 +
| 6~6
 +
| jun = June
 +
| 7~7
 +
| jul = July
 +
| 8~8
 +
| aug = August
 +
| 9~9
 +
| sep
 +
| sept = September
 +
| 10~
 +
| oct = October
 +
| 11~
 +
| nov = November
 +
| 12~
 +
| dec = December
 +
| #default =
 +
}}}}{{#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|}}}~ }} }}
 +
| 1~1
 +
| jan = January
 +
| 2~2
 +
| feb = February
 +
| 3~3
 +
| mar = March
 +
| 4~4
 +
| apr = April
 +
| 5~5
 +
| may = May
 +
| 6~6
 +
| jun = June
 +
| 7~7
 +
| jul = July
 +
| 8~8
 +
| aug = August
 +
| 9~9
 +
| sep
 +
| sept = September
 +
| 10~
 +
| oct = October
 +
| 11~
 +
| nov = November
 +
| 12~
 +
| dec = December
 +
| #default =
 +
}}{{#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]]}} }} }} }}
 
|-
 
|-
| Year    || {{#if:{{{season|}}}|20{{padleft:{{#expr: 2+{{{season}}}}}|2}}|}}{{#if:{{{year|}}}|{{{year}}}|}}
+
| Shard{{#vardefine: shardcount | 0}}{{
 +
  #loop: i
 +
  | 0
 +
  | 27
 +
  | {{#if: {{{ {{#arrayindex: shards | {{#var:i}} }} | }}} | {{#vardefine: shardcount | {{#expr: {{#var: shardcount}} + 1}} }} }}
 +
}}{{#ifexpr: {{#var: shardcount}} > 1 | s }} || {{#vardefine:n|0}}
 +
{{
 +
  #loop: i
 +
  | 0
 +
  | {{#arraysize: shards}}
 +
  | {{#vardefine: shard | {{#arrayindex: shards | {{#var:i}} }} }} {{#vardefine: shardname|{{#switch: {{#var:shard}}
 +
| GL = Great Lakes
 +
| LA = Lake Austin
 +
| LS = Lake Superior
 +
| Napa = Napa Valley
 +
| SP = Siege Perilous
 +
| Test = Test Center
 +
|SantaSlay = Santa's Slay
 +
|ShardOfScreams = Shard Of Screams
 +
|ShardOfTheDead = Shard Of The Dead
 +
|ShardOfTheDead2 = Shard Of The Dead II
 +
| #default = {{#var:shard}}
 +
}} }} {{#ifeq: {{Boolean|{{{ {{#var:shard}}|}}} }} | 1 | {{#vardefine:n|{{#expr:{{#var:n}}+1}}}}[[Category:UO:{{#var:shardname}} Rares]][[UO:{{#var:shardname}} Rares|{{#var:shardname}}]]<br/> |}} }}{{#ifeq:{{#var:n}}|0|[[Category:UO:Rares from unknown shards]][[UO:Rares from unknown shards|unknown]]|}}
 
|-
 
|-
| 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]]|}}
+
| Quantity || {{#if:{{{quantity|}}}|{{#replace: {{{quantity}}}|*|&lowast;}}|unknown[[Category:UO:Rares of unknown quantity]]}}
 +
{{BoolInfoLine
 +
| field = Currently Spawning
 +
| category = Spawning Rares
 +
| param = {{{spawning|{{#var: notspawning}}}}}
 +
| unknownCat = Rares with unknown spawning status
 +
}}
 
|-
 
|-
| Quantity || {{#if:{{{quantity|}}}|{{{quantity}}}|unknown[[Category:Rares of unknown quantity]]}}
+
| Japanese localized name || {{#if:{{{japanesename|}}}|{{{japanesename}}}|unknown[[Category:UO:Rares with unknown Japanese localization]]}}
 
|-
 
|-
|colspan="2"|
+
| &nbsp;
-----
 
 
|-
 
|-
| Graphic  || {{#if:{{{graphic|}}}|0x{{{graphic}}}|unknown[[Category:Rares with unknown graphic]]}}
+
|class=titlecell colspan="2" | Extended Information
 
|-
 
|-
| Hue      || {{#if:{{{hue|}}}|{{{hue}}}[[Category:Items with hue {{{hue}}}]]|unknown[[Category:Rares with unknown hue]]}}
+
| 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]]}}
 
|-
 
|-
| Sound    || {{#if:{{{sound|}}}|{{{sound}}}{{#ifeq:{{{sound|}}}|none||[[Category:Rares with Sound Effects]]}}|unknown[[Category:Rares with unknown sounds]]}}
+
| 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]]}}
 
|-
 
|-
| Double-Click Effect    || {{#if:{{{doubleclick|}}}|{{{doubleclick}}}{{#ifeq:{{{doubleclick|}}}|none||[[Category:Rares with {{{doubleclick}}} Effects]]}}|unknown[[Category:Rares with unknown effects]]}}
+
| 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
 +
| field = Dyable
 +
| category = Dyable Rares
 +
| param = {{{dyable|}}}
 +
| unknownCat = Rares with unknown dye capability
 +
}}
 +
{{BoolInfoLine
 +
| field = Edible
 +
| category = Edible Rares
 +
| param = {{{eatable|}}}
 +
| unknownCat = Rares with unknown edibleness
 +
}}
 +
{{BoolInfoLine
 +
| field = Stackable
 +
| category = Stackable Rares
 +
| param = {{#var: stackable}}
 +
| unknownCat = Rares with unknown stacking capability
 +
}}
 +
{{BoolInfoLine
 +
| field = Turnable
 +
| category = Turnable Rares
 +
| param = {{{turnable|}}}
 +
| unknownCat = Rares with unknown turning capability
 +
}}
 +
{{BoolInfoLine
 +
| field = Wearable
 +
| category = Wearable Rares
 +
| param = {{#var: wearable}}
 +
| displayText = [[{{ucfirst: {{#arraydefine: gearInfo | {{#arrayindex: graphic_is_wearable | {{#arraysearch: graphic_is_wearable |/{{{graphic}}};\w/|0}} }} |;}}{{#arrayindex: gearInfo | 1 }} }} slot]]
 +
| unknownCat = Rares with unknown wearable capability
 +
}}
 +
{{BoolInfoLine
 +
| field = Wieldable
 +
| category = Wieldable Rares
 +
| param = {{#var: wieldable}}
 +
| displayText = [[{{ucfirst: {{#arraydefine: gearInfo | {{#arrayindex: graphic_is_wieldable | {{#arraysearch: graphic_is_wieldable |/{{{graphic}}};\w/|0}} }} |;}}{{#arrayindex: gearInfo | 1 }} }}-handed weapon]]
 +
| unknownCat = Rares with unknown wieldable capability
 +
}}
 +
{{BoolInfoLine
 +
| field = Works as a container
 +
| category = Rares That Work As Containers
 +
| param = {{#var: container}}
 +
| unknownCat = Rares with unknown container capability
 +
}}
 +
{{BoolInfoLine
 +
| field = Works as a runebook
 +
| category = Rares That Work As Runebooks
 +
| param = {{#var: runebook}}
 +
| unknownCat = Rares with unknown container capability
 +
}}
 +
{{BoolInfoLine
 +
| field = Works as a spellbook
 +
| category = Rares That Work As Spellbooks
 +
| param = {{#var: spellbook}}
 +
| unknownCat = Rares with unknown container capability
 +
}}
 
|-
 
|-
|colspan="2"|
+
| &nbsp;
-----
 
 
|-
 
|-
| Legal to Own           || {{#if:{{{illegal|}}}|No[[Category:Illegal Items]]|Yes}}
+
|class=titlecell colspan="2" | Effects
|}
+
{{BoolInfoLine
{{#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}}
+
| field = Animated
<noinclude>
+
| category = Animated Rares
  <nowiki>{{Template:ItemInfoBox
+
| param = {{#var: animated}}
   |graphic  = 0x1234
+
| unknownCat = Rares with unknown animation info
   |hue      = 1050
+
}}
 +
{{BoolInfoLine
 +
| field = Double-click Effect
 +
| category = Rares With Double-Click Effects
 +
| param = {{{doubleclick|}}}
 +
| unknownCat = Rares with unknown double-click info
 +
}}
 +
|-
 +
|Ethereal || {{#if:{{{hue|}}}|{{#ifeq:{{{hue}}} | 16385 | Yes | No}}|unknown}}
 +
{{SoundInfoLine
 +
| field = Sound
 +
| category = Rares With Sound Effects
 +
| param = {{{sound|}}}
 +
| soundId = {{{soundId|}}}
 +
| unknownCat = Rares with unknown sound info
 +
}}
 +
{{BoolInfoLine
 +
| field = Translucent
 +
| category = Translucent Rares
 +
| param = {{#var: translucent}}
 +
| unknownCat = Rares with unknown translucency
 +
}}
 +
{{BoolInfoLine
 +
| field = Walk-over Effect
 +
| category = Rares With Walk-Over Effects
 +
| param = {{{walkover|}}}
 +
| unknownCat = Rares with unknown walk-over info
 +
}}
 +
|-
 +
| &nbsp;
 +
|-
 +
|class=titlecell colspan="2" | Special Item Flags
 +
{{BoolInfoLine
 +
| field = Newbiefied
 +
| category = Newbiefied Items
 +
| param = {{#if: {{{newbie|}}} | {{{newbie}}} | {{#ifeq: {{#arraysearch:types|EM|0|yes|no}} | yes | no }} }}
 +
| unknownCat = Rares with unknown newbie status
 +
}}
 +
{{BoolInfoLine
 +
| field = Legal to Own
 +
| param = {{{legal|}}}
 +
| unknownCat = Rares of unknown legality
 +
}}
 +
|}{{#switch: {{{graphic|}}}
 +
|5441
 +
|5442
 +
|18091
 +
|18090
 +
|18101
 +
|18100 = {{#if: {{#pos:{{{name|}}}|Greeting}} |[[Category:UO:Rares Collection:EM Greetings Sashes]] }}
 +
|6479 = [[Category:UO:Rares Collection:Easter Baskets]]
 +
|8406 = [[Category:UO:Rares Collection:Dragons]]
 +
|3191
 +
|3192 = [[Category:UO:Rares Collection:Carrots]][[Category:UO:Rares Collection:Foods]]
 +
|2485
 +
|5928
 +
|19719
 +
|19720
 +
|19721 = [[Category:UO:Rares Collection:Eggs]][[Category:UO:Rares Collection:Foods]]
 +
|4161
 +
|4162
 +
|19458
 +
|19459
 +
|19460
 +
|19461
 +
|19468
 +
|19469 = [[Category:UO:Rares Collection:Pies]][[Category:UO:Rares Collection:Foods]]
 +
|3094
 +
|3643
 +
|3834
 +
|4029
 +
|4030
 +
|4031
 +
|4032
 +
|4079
 +
|4080
 +
|4081
 +
|4082
 +
|4083
 +
|4084
 +
|7187
 +
|7712
 +
|7713
 +
|7714
 +
|7715
 +
|7716
 +
|7717
 +
|8786
 +
|8787
 +
|8788
 +
|8793
 +
|8794
 +
|8795
 +
|8901
 +
|9100
 +
|9120
 +
|11595
 +
|11596
 +
|11597
 +
|11598
 +
|11600
 +
|11677
 +
|11741
 +
|11742
 +
|17079
 +
|17080
 +
|17087
 +
|22398
 +
|22399
 +
|39297
 +
|39298
 +
|39573
 +
|39591 = [[Category:UO:Rares Collection:Books]]
 +
|203
 +
|2445
 +
|2446
 +
|2459
 +
|2460
 +
|2461
 +
|2462
 +
|2463
 +
|2464
 +
|2465
 +
|2466
 +
|2471
 +
|2471
 +
|2477
 +
|2500
 +
|2501
 +
|2502
 +
|2504
 +
|2518
 +
|4086
 +
|4087
 +
|4088
 +
|4089
 +
|4091
 +
|4092
 +
|4093
 +
|4094
 +
|4095
 +
|4096
 +
|4097
 +
|4098
 +
|6465
 +
|6466
 +
|6467
 +
|6468
 +
|8061
 +
|8062
 +
|8063
 +
|8064
 +
|8065
 +
|8066
 +
|8067
 +
|8068
 +
|8069
 +
|8070
 +
|8071
 +
|8072
 +
|8073
 +
|8074
 +
|8075
 +
|8076
 +
|8077
 +
|8078
 +
|8079
 +
|8080
 +
|8081
 +
|8082
 +
|8083
 +
|8084
 +
|8085
 +
|8086
 +
|8087
 +
|8088
 +
|8089
 +
|8090
 +
|8091
 +
|8092
 +
|8093
 +
|8094
 +
|17076
 +
|18782
 +
|18783 = [[Category:UO:Rares Collection:Alcohol and Drinks]][[Category:UO:Rares Collection:Foods]]
 +
|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 =
 +
}}{{#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>
 +
  <nowiki>{{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
 
   |quantity = 15
   |season  = 1 /* if present, don't also define year. */
+
  |noseason = true
   |year    = 1998 /* Only for items without a season. */
+
   |season  = 1  
   |illegal       = true /* Defaults to false. */
+
  |day = 1
 +
  |month = June
 +
   |year    = 1998
 +
   |day_end = 27
 +
  |month_end = 4
 +
  |year_end = 1999
 +
  |weight = 3
 +
  |legal       = true  
 
   |sound        = None
 
   |sound        = None
 
   |doubleclick  = None
 
   |doubleclick  = None
 
   |wearable      = true
 
   |wearable      = true
 
   |wieldable    = true
 
   |wieldable    = true
   |s_Arirang     = true
+
   |walkover = true
   |s_Asuka       = true
+
  |eatable = true
   |s_Atlantic   = true
+
  |animated = true
   |s_Baja       = true
+
  |turnable  = true
   |s_Balhae     = true
+
  |Arirang     = true
   |s_Catskills   = true
+
   |Asuka       = true
   |s_Chesapeake = true
+
   |Atlantic   = true
   |s_Drachenfels = true
+
   |Baja       = true
   |s_Europa     = true
+
   |Balhae     = true
   |s_Formosa     = true
+
   |Catskills   = true
   |s_GL         = true
+
   |Chesapeake = true
   |s_Hokuto     = true
+
   |Drachenfels = true
   |s_Izumo       = true
+
   |Europa     = true
   |s_LA         = true
+
   |Formosa     = true
   |s_LS         = true
+
   |GL         = true
   |s_Legends     = true
+
   |Hokuto     = true
   |s_Mizuho     = true
+
   |Izumo       = true
   |s_Mugen       = true
+
   |LA         = true
   |s_Napa       = true
+
   |LS         = true
   |s_Oceania     = true
+
   |Legends     = true
   |s_Origin     = true
+
   |Mizuho     = true
   |s_Pacific     = true
+
   |Mugen       = true
   |s_Sakura     = true
+
   |Napa       = true
   |s_SP         = true
+
   |Oceania     = true
   |s_Sonoma     = true
+
   |Origin     = true
   |s_Wakoku      = true
+
   |Pacific     = true
   |s_Yamato     = true
+
   |Sakura     = true
   |s_Unknown    = true
+
   |SP         = true
 +
   |Sonoma     = true
 +
   |Test = true
 +
   |Wakoku     = true
 +
   |Yamato      = true
 
   |type          = EM
 
   |type          = EM
   |crafted      = no
+
   |spawning = no
 +
  | Abyss = true
 +
  | Baekdu = true
 +
  | Farmageddon = true
 +
  | Retribution = true
 +
  | SantaSlay = true
 +
  | ShardOfScreams  = true
 +
  | ShardOfTheDead = true
 +
  | ShardOfTheDead2 = true
 +
  | Winterland = true
 
}}
 
}}
  
Minimum knowledge case:
+
To suppress the season where it's not applicable - for daily rares, for example - set the value of the noseason parameter to true.
  
{{Template:ItemInfoBox
+
Use:
  |s_Unknown = true
+
|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.
  
 
</nowiki></noinclude>
 
</nowiki></noinclude>

Latest revision as of 18: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.