Difference between revisions of "Template:InfoBox UOGraphic"

m
m
Line 1: Line 1:
<includeonly>{{#vardefine: graphic |{{#replace:{{PAGENAME}}|UO:Items using graphic |}} }}
+
<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
 +
| {{Rangecheck|{{#var:graphic}}|19726|19736}}
 +
| {{Rangecheck|{{#var:graphic}}|20296|20297}}
 +
| {{Rangecheck|{{#var:graphic}}|20304|20306}}
 +
| {{Rangecheck|{{#var:graphic}}|20312|20315}}
 +
| {{Rangecheck|{{#var:graphic}}|20412|20851}}
 +
| {{Rangecheck|{{#var:graphic}}|20868|20870}}
 +
| {{Rangecheck|{{#var:graphic}}|21149|21151}}
 +
| {{Rangecheck|{{#var:graphic}}|21168|21172}}
 +
| {{Rangecheck|{{#var:graphic}}|21187|21193}}
 +
| {{Rangecheck|{{#var:graphic}}|21206|21999}}
 +
| {{Rangecheck|{{#var:graphic}}|22151|22159}}
 +
| {{Rangecheck|{{#var:graphic}}|22161|22199}}
 +
| {{Rangecheck|{{#var:graphic}}|22261|22299}}
 +
| {{Rangecheck|{{#var:graphic}}|22353|22397}}
 +
| {{Rangecheck|{{#var:graphic}}|23514|23520}}
 +
| {{Rangecheck|{{#var:graphic}}|23568|23575}}
 +
| {{Rangecheck|{{#var:graphic}}|23622|23629}}
 +
| {{Rangecheck|{{#var:graphic}}|23676|23683}}
 +
| {{Rangecheck|{{#var:graphic}}|25050|25057}}
 +
| {{Rangecheck|{{#var:graphic}}|25104|25111}}
 +
| {{Rangecheck|{{#var:graphic}}|25158|25165}}
 +
| {{Rangecheck|{{#var:graphic}}|25212|25219}}
 +
| {{Rangecheck|{{#var:graphic}}|25526|25527}}
 +
| {{Rangecheck|{{#var:graphic}}|25546|25554}}
 +
| {{Rangecheck|{{#var:graphic}}|25594|25700}} = 0
 +
| #default = 1
 +
}} }}|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
 
|-
 
|-
|colspan="2" style="text-align:center;"| [[File:UO-Item-{{#var:graphic}}-0.png]]
+
|colspan="2" style="text-align:center;"| {{#var:image}}
 
|-
 
|-
 
|Graphic number (decimal)||{{#var:graphic}}
 
|Graphic number (decimal)||{{#var:graphic}}

Revision as of 12:05, 1 September 2016