Difference between revisions of "Template:SoundInfoLine"

m
m
Line 1: Line 1:
{{#vardefine: soundFileInfo|{{#if: {{{soundId|}}}| id: {{{soundId|}}}| {{#if: {{{soundFile|}}}| sound file |}} }} }}|-
+
|-
| <span class="translatable">{{#if: {{{tip|}}} | {{#tip-text:{{{field|}}}|{{{tip|}}} }} | {{{field}}} }}</span> || <span class="translatable">{{#if: {{#var: soundExist}}| {{#ifeq: {{#var: soundExist}}| 1| {{{displayText|{{{yesText|Yes}}} }}}
+
| <span class="translatable {{#if: {{{tip|}}}|tipped}}">{{#if: {{{tip|}}} | {{#info:{{{tip|}}}|note }}{{{field|}}} | {{{field}}} }}</span> || <span class="translatable">{{#if: {{{param}}} | {{#ifeq: {{Boolean|{{{param}}} }} | 1 | {{{displayText|Yes (id: [[:Category:UO:Items makes sound {{{soundId}}}|{{{soundId}}}]])[[Category:UO:Items makes sound {{{soundId}}}]] }}}{{#if: {{{category|}}}|[[Category:UO:{{{category}}}]]}} | No}} | unknown[[Category:UO:{{{unknownCat}}}]] }}</span>
[[:Category:UO:Items that make sound {{{soundId}}}|({{{soundId}}})]]
 
{{#if: {{{category|}}}|[[Category:UO:{{{category}}}]]|}}{{#if: {{{soundId|}}} |[[Category:UO:Items makes sound {{{soundId}}}]]|}} }} | No }} | unknown[[Category:UO:{{{unknownCat}}}]] }}</span>
 

Revision as of 06:34, 27 January 2020

|- | {{{field}}} || No