Difference between revisions of "Template:InfoBox UOSound"

m
m
Line 3: Line 3:
 
|class=titlecell colspan="2"| Sound
 
|class=titlecell colspan="2"| Sound
 
|-
 
|-
|colspan="2" style="text-align:center;"| [[File:UO-Sound-{{#var:sound}}-1.mp3|File:UO-Sound-{{#var:sound}}-1.mp3]]
+
|colspan="2" style="text-align:center;"|{{#ifeq:{{#arrayindex:sound{{#var:sound}}|0}}|unused|This sound number is not used by the client.|[[File:UO-Sound-{{#var:sound}}-1.mp3|File:UO-Sound-{{#var:sound}}-1.mp3]]
|-
+
{{!}}-
| 
+
{{!}} 
|-
+
{{!}}-
|Internal Name||{{#arrayindex:sound{{#var:sound}}|0}}
+
{{!}}Internal Name{{!!}}{{#arrayindex:sound{{#var:sound}}|0}}
|-
+
{{!}}-
|Length||{{#arrayindex:sound{{#var:sound}}|1}} seconds
+
{{!}}Length{{!!}}{{#arrayindex:sound{{#var:sound}}|1}} seconds
|-
+
{{!}}-
|Number (decimal)||{{#var:sound}}
+
{{!}}Number (decimal){{!!}}{{#var:sound}}
|-
+
{{!}}-
|Number (hex)||{{#ifeq: {{#var:sound}}|1|0x01|{{Dec2hex|{{#var:sound}}}}}}
+
{{!}}Number (hex){{!!}}{{#ifeq: {{#var:sound}}|1|0x01|{{Dec2hex|{{#var:sound}}}}}}
|}[[Category:UO Items Using Specific Sounds]]</includeonly>
+
{{!}}}[[Category:UO Items Using Specific Sounds]]}}</includeonly>

Revision as of 03:50, 3 February 2020