Difference between revisions of "Template:InfoBox UOGraphic"

m
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#vardefine: graphic |{{#replace:{{PAGENAME}}|UO:Items using graphic |}} }}{{#vardefine:image|{{#ifeq: {{UOUnusedGraphicTest | {{#var: graphic}} }} | 1 | There currently is no graphic at this position in the client files. | [[File:UO-Item-{{#var:graphic}}-0.png]] }} }}
+
<includeonly>{{#vardefine: graphic |{{#replace:{{PAGENAME}}|UO:Items using graphic |}} }}
 
{| class=infobox style="margin-top: 5em;"
 
{| class=infobox style="margin-top: 5em;"
 
|class=titlecell colspan="2"| Graphic
 
|class=titlecell colspan="2"| Graphic
 
|-
 
|-
|colspan="2" style="text-align:center;"| {{#var:image}}
+
|colspan="2" style="text-align:center;"| {{#ifeq: {{UOUnusedGraphicTest | {{#var: graphic}} }} | 1 | There currently is no graphic at this position in the client files.[[Category:UO Unused Graphics]]|[[File:UO-Item-{{#var:graphic}}-0.png]] }}
 
|-
 
|-
 
|Graphic number (decimal)||{{#var:graphic}}
 
|Graphic number (decimal)||{{#var:graphic}}

Latest revision as of 22:21, 18 January 2020