Difference between revisions of "Template:BoolInfoLine"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | {{#vardefine: yesDisplay|{{{displayText|{{{yesText|Yes}}} } | + | {{#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|}}} | <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:28, 29 April 2017
|- | {{{field}}} || No