Difference between revisions of "Template:InfoBox UOGraphic"

m
m
 
(6 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}}
 
|-
 
|-
 
|Graphic number (hex)||{{#ifeq: {{#var:graphic}}|1|0x01|{{Dec2hex|{{#var:graphic}}}}}}
 
|Graphic number (hex)||{{#ifeq: {{#var:graphic}}|1|0x01|{{Dec2hex|{{#var:graphic}}}}}}
|}</includeonly>
+
|}[[Category:UO Items Using Specific Graphics]]</includeonly>
 
 
{{#var: graphic}}
 
 
 
{{UOUnusedGraphicTest | {{#var: graphic}} }}
 

Latest revision as of 22:21, 18 January 2020