Difference between revisions of "Template:BoolInfoLine"

m
m
Line 1: Line 1:
{{#vardefine: yesDisplay|{{{displayText|{{{yesText|Yes}}} }}} }}
 
 
|-
 
|-
| {{#if: {{{tip|}}}  | <span class="translatable">{{#tip-text:{{{field|}}}|{{{tip|}}} }}</span> | {{{field}}} }} || {{#if: {{{param}}} | {{#ifeq:  {{Boolean|{{{param}}} }} | 1 | <span class="translatable">{{#var: yesDisplay}}</span>{{#if: {{{category|}}}|[[Category:UO:{{{category}}}]]}} | <span class="translatable">No</span>}} | <span class="translatable">unknown</span>[[Category:UO:{{{unknownCat}}}]] }}
+
| {{#if: {{{tip|}}}  | {{#tip-text:{{{field|}}}|{{{tip|}}} }} | {{{field}}} }} || {{#if: {{{param}}} | {{#ifeq:  {{Boolean|{{{param}}} }} | 1 | {{{displayText|{{{yesText|Yes}}} }}}{{#if: {{{category|}}}|[[Category:UO:{{{category}}}]]}} | No}} | unknown[[Category:UO:{{{unknownCat}}}]] }}

Revision as of 19:36, 29 April 2017

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