Difference between revisions of "Template:InfoBox UORareItem"

m
m
Line 17: Line 17:
 
|-
 
|-
 
| 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
+
  | 111 = {{#ifeq: {{{month|}}}|1|January}}{{#ifeq: {{{month|}}}|11|November}}
 
  | jan = January
 
  | jan = January
  | 222 = February
+
  | 222  
 
  | feb = February
 
  | feb = February
  | 333 = March
+
  | 333  
 
  | mar = March
 
  | mar = March
  | 444 = April
+
  | 444  
 
  | apr = April
 
  | apr = April
  | 555 = May
+
  | 555  
 
  | may = May
 
  | may = May
  | 666 = June
+
  | 666  
 
  | jun = June
 
  | jun = June
  | 777 = July
+
  | 777  
 
  | jul = July
 
  | jul = July
  | 888 = August
+
  | 888  
 
  | aug = August
 
  | aug = August
  | 999 = September
+
  | 999  
  | sep = September
+
  | sep  
 
  | sept = September
 
  | sept = September
  | 101 = October
+
  | 101  
 
  | oct = October
 
  | oct = October
| 111 = November
 
 
  | nov = November
 
  | nov = November
  | 121 = December
+
  | 121  
 
  | dec = December
 
  | dec = December
 
  | #default = {{{month|}}}
 
  | #default = {{{month|}}}

Revision as of 14:53, 23 August 2016

{{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.