Difference between revisions of "Template:InfoBox UOSound"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine: sound |{{#replace:{{PAGENAME}}|UO:Items that make sound |}} }} | + | <includeonly>{{UOSoundData}}{{#vardefine: sound |{{#replace:{{PAGENAME}}|UO:Items that make sound |}} }} |
{| class=infobox style="margin-top: 5em;" | {| class=infobox style="margin-top: 5em;" | ||
|class=titlecell colspan="2"| Sound | |class=titlecell colspan="2"| Sound | ||
Line 5: | Line 5: | ||
|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;"| [[File:UO-Sound-{{#var:sound}}-1.mp3|File:UO-Sound-{{#var:sound}}-1.mp3]] | ||
|- | |- | ||
− | | | + | |Internal Name||{{#arrayindex:sound{{#var:sound}}|0}} |
|- | |- | ||
− | | | + | |Length (in seconds)||{{#arrayindex:sound{{#var:sound}}|1}} |
+ | |- | ||
+ | |Number (decimal)||{{#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> |