Difference between revisions of "Template:InfoBox UOItem"

m
m
Line 4: Line 4:
 
{{#vardefine: color_poison  | green  }}
 
{{#vardefine: color_poison  | green  }}
 
{{#vardefine: color_energy  | red    }}
 
{{#vardefine: color_energy  | red    }}
{| class=infobox style="text-align: center"
+
{| class=infobox
 
|-
 
|-
| class=imagecell colspan="2" style="background:{{#ifeq:  {{Boolean|{{{forceBlack|}}} }} | 1 | black | {{#ifeq:  {{Boolean|{{{forceWhite|}}} }} | 1 | | {{#ifexist:{{#var: imagename}} |  {{checkContrast | hue={{{hue|}}} }} |}} }} }}" | {{#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" style="text-align: center; background:{{#ifeq:  {{Boolean|{{{forceBlack|}}} }} | 1 | black | {{#ifeq:  {{Boolean|{{{forceWhite|}}} }} | 1 | | {{#ifexist:{{#var: imagename}} |  {{checkContrast | hue={{{hue|}}} }} |}} }} }}" | {{#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!
 
<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. -->
 
|-
 
|-
| <nowiki>
+
|  style="text-align: center" | <nowiki>
 
</nowiki>{{#if: {{{crafter|}}}            | <br/>{{{crafterText|Crafted}}} By {{{crafter}}} }} <nowiki>
 
</nowiki>{{#if: {{{crafter|}}}            | <br/>{{{crafterText|Crafted}}} By {{{crafter}}} }} <nowiki>
 
</nowiki>{{#if: {{{exceptional|}}}        | <br/>exceptional }} <nowiki>
 
</nowiki>{{#if: {{{exceptional|}}}        | <br/>exceptional }} <nowiki>

Revision as of 17:50, 14 July 2016



 This image is not yet available. 
unknown weight