Difference between revisions of "Template:InfoBox UORareItem"

m
Line 87: Line 87:
 
{{#ifeq: {{Boolean|{{{crafted}}} }} | true |{{!}}-
 
{{#ifeq: {{Boolean|{{{crafted}}} }} | true |{{!}}-
 
{{!}} Crafter Name {{!!}} {{{crafter}}}|}}
 
{{!}} Crafter Name {{!!}} {{{crafter}}}|}}
{{#ifexpr: {{#if: {{{year|}}} | 1 | 0 }} and {{#if: {{{year|}}} | {{#expr: {{{year|}}} > 2001 }} | 0}} |{{!}}-
+
{{#vardefine: yearExists | {{#if: {{{year|}}} | 1 | 0 }} }}{{#vardefine: yearHasSeason | {{#expr: {{{year|2002}}} > 2001 }} }}{{#ifexpr: {{#expr: {{#var: yearExists}} and {{#var: yearHasSeason }} }} or {{#expr: {{#var: yearExists}} = 0}} |{{!}}-
 
| Season  || {{#if:{{{season|}}}| [[Category:UO:Season {{{season}}} Rares]][[:Category:UO:Season {{{season}}} Rares|{{{season}}}]]|unknown[[Category:UO:Rares with unknown season]]}} |}}  
 
| Season  || {{#if:{{{season|}}}| [[Category:UO:Season {{{season}}} Rares]][[:Category:UO:Season {{{season}}} Rares|{{{season}}}]]|unknown[[Category:UO:Rares with unknown season]]}} |}}  
 
|-
 
|-

Revision as of 11:30, 10 June 2016

{{{name}}}

 This image is not yet available. 
Type unknown
Date unknown
Shard(s)

unknown

Quantity unknown

Graphic unknown
Hue unknown
Weight unknown
Blessed (originally) unknown

Dyable unknown
Eatable unknown
Turnable unknown
Wearable unknown
Wieldable unknown

Animated unknown
Double-click Effect unknown
Ethereal unknown
Sound unknown
Transparent unknown
Walk-over Effect unknown

Legal to Own unknown
{{Template:ItemInfoBox
  |graphic  = 1234
  |hue      = 1050
  |quantity = 15
  |season   = 1 
  |day = 1
  |month = June
  |year     = 1998
  |weight = 3
  |legal       = true 
  |sound         = None
  |doubleclick   = None
  |wearable      = true
  |wieldable     = true
  |walkover = true
  |eatable = true
  |animated = true
  |turnable  = 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
  |type          = EM
  |crafted       = no
}}

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

Minimum knowledge case:

{{Template:ItemInfoBox
  |s_Unknown = true
}}