Difference between revisions of "Template:BoolInfoLine"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | {{#vardefine: yesDisplay|{{{displayText|{{{yesText|Yes}}} }}} }}{{#ifeq: {{#var: yesDisplay}}|Yes||{{#vardefine: yesDisplay|Yes, using [[{{#var: yesDisplay}}]]}} }} | + | {{#vardefine: yesDisplay|{{{displayText|{{{yesText|Yes}}} }}} }}{{#ifeq: {{#var: yesDisplay}}|Yes||{{#vardefine: yesDisplay|Yes, using [[{{#var: yesDisplay}}]]}} }} |
− | + | |- | |
| {{#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