Difference between revisions of "Template:InfoBox UOGraphic"

m
m
Line 1: Line 1:
<includeonly>{{#vardefine: graphic |{{#replace:{{PAGENAME}}|UO:Items using graphic |}} }}{{#vardefine:image|{{#if:{{#arraydefine:unused|18660,18801,18845,18883,20288,20889,21130,22805,23477,23839,23849,25267,25277,25321,25331,25375,25385,25429,25439}}{{#ifeq:{{#arraysearch:unused|{{#var:graphic}}|0|yes|no}}|yes|0|{{#switch: 1
+
<includeonly>{{#vardefine: graphic |{{#replace:{{PAGENAME}}|UO:Items using graphic |}} }}{{#vardefine:image|{{#ifeq:{{#arraydefine:unused|18660,18801,18845,18883,20288,20889,21130,22805,23477,23839,23849,25267,25277,25321,25331,25375,25385,25429,25439}}{{#ifeq:{{#arraysearch:unused|{{#var:graphic}}|0|yes|no}}|yes|0|{{#switch: 1
 
| {{Rangecheck|{{#var:graphic}}|19726|19736}}
 
| {{Rangecheck|{{#var:graphic}}|19726|19736}}
 
| {{Rangecheck|{{#var:graphic}}|20296|20297}}
 
| {{Rangecheck|{{#var:graphic}}|20296|20297}}
Line 26: Line 26:
 
| {{Rangecheck|{{#var:graphic}}|25594|25700}} = 0
 
| {{Rangecheck|{{#var:graphic}}|25594|25700}} = 0
 
| #default = 1
 
| #default = 1
}} }}|There currently is no graphic at this position in the client files.|[[File:UO-Item-{{#var:graphic}}-0.png]]}} }}
+
}} }}|0|There currently is no graphic at this position in the client files.|[[File:UO-Item-{{#var:graphic}}-0.png]]}} }}
 
{| class=infobox
 
{| class=infobox
 
|class=titlecell colspan="2"| Graphic
 
|class=titlecell colspan="2"| Graphic

Revision as of 13:06, 1 September 2016