Difference between revisions of "Template:InfoBox UOGraphic"

m
m
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#vardefine: graphic |{{#replace:{{PAGENAME}}|UO:Items using graphic |}} }}
 
<includeonly>{{#vardefine: graphic |{{#replace:{{PAGENAME}}|UO:Items using graphic |}} }}
{| class=infobox
+
{| class=infobox style="margin-top: 5em;"
 
|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;"| {{#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>

Latest revision as of 22:21, 18 January 2020