Difference between revisions of "Template:InfoBox UORareItem"

m
m
Line 5: Line 5:
 
</div>{{#vardefine: imagename|File:UO-Item-{{{graphic}}}-{{{hue}}}.png}}
 
</div>{{#vardefine: imagename|File:UO-Item-{{{graphic}}}-{{{hue}}}.png}}
 
{| class=infobox  
 
{| class=infobox  
| class=imagecell colspan="2"| {{#ifexist:{{#var: imagename}}|[[{{#var: imagename}}{{!}}Image of {{{name}}}]]|&nbsp;This image is not yet available.&nbsp;{{#if:{{{graphic|}}}|{{#if:{{{hue|}}}|<br/><br/>[http://services.servuo.com/uoapi/item/{{{graphic}}}/{{{hue}}} You can try this image.]<br/><br/>If it is the correct image, with the correct hue,<br/>you can save it, then [http://stratics.com/w/index.php?title=Special:Upload&wpDestFile={{#var: imagename}} upload it] to Stratics!
+
| class=imagecell colspan="2"| {{#ifexist:{{#var: imagename}}|<span style="background:green">[[{{#var: imagename}}{{!}}Image of {{{name}}}]]|</span>&nbsp;This image is not yet available.&nbsp;{{#if:{{{graphic|}}}|{{#if:{{{hue|}}}|<br/><br/>[http://services.servuo.com/uoapi/item/{{{graphic}}}/{{{hue}}} You can try this image.]<br/><br/>If it is the correct image, with the correct hue,<br/>you can save it, then [http://stratics.com/w/index.php?title=Special:Upload&wpDestFile={{#var: imagename}} upload it] to Stratics!
 
<small> (Image API is provided by ServUO,<br/>and is used with permission.)</small>}} |}} |}}
 
<small> (Image API is provided by ServUO,<br/>and is used with permission.)</small>}} |}} |}}
 
<!--  The ServUO API is used with the written permission of dmurphy at servuo.com. -->
 
<!--  The ServUO API is used with the written permission of dmurphy at servuo.com. -->

Revision as of 23:59, 9 June 2016

{{{name}}}

 This image is not yet available. 
Type unknown
Season unknown
Year
Shard(s)
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  /* if present, don't also define year. */
  |year     = 1998 /* Only for items without a season. */
  |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
  |s_Unknown     = true
  |type          = EM
  |crafted       = no
}}

Minimum knowledge case:

{{Template:ItemInfoBox
  |s_Unknown = true
}}