Difference between revisions of "Template:InfoBox UORareItem"

m
m
Line 45: Line 45:
 
  | dec = December
 
  | dec = December
 
  | #default = {{{month|}}}
 
  | #default = {{{month|}}}
}}{{#if: {{{day|}}} | {{{day}}}, |}} {{#if:{{{season|}}}|{{#vardefine: year |20{{padleft:{{#expr: 2+{{{season}}} }}|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}}}]]|[[Category:UO:Rares with unknown season]][[UO:Rares with unknown year|unknown]]}} }} {{#if: {{{year_end|}}} | – {{#switch: {{lc:{{padleft:|3|{{{month_end|}}} }} }}
+
}}{{#if: {{{day|}}} | {{{day}}}, |}} {{#if:{{{season|}}}|{{#vardefine: year |20{{padleft:{{#expr: 2+{{{season}}} }}|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}}}]]|[[Category:UO:Rares with unknown year]][[UO:Rares with unknown year|unknown]]}} }} {{#if: {{{year_end|}}} | – {{#switch: {{lc:{{padleft:|3|{{{month_end|}}} }} }}
 
  | 111 = January
 
  | 111 = January
 
  | jan = January
 
  | jan = January

Revision as of 01:04, 18 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
  |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
}}

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.