Difference between revisions of "Template:BoolInfoLine"

m
m
Line 1: Line 1:
{{#vardefine: yesDisplay|{{{displayText|{{{yesText|Yes}}} }}} }}{{#ifeq: {{#var: yesDisplay}}|Yes||{{#vardefine: yesDisplay|Yes, using [[{{#var: yesDisplay}}]]}} }}<nowiki>
+
{{#vardefine: yesDisplay|{{{displayText|{{{yesText|Yes}}} }}} }}{{#ifeq: {{#var: yesDisplay}}|Yes||{{#vardefine: yesDisplay|Yes, using [[{{#var: yesDisplay}}]]}} }}
</nowiki>|-
+
|-
 
| {{#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|}}}  | <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}}}]] }}

Revision as of 19:26, 29 April 2017

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