Vorlage:MELi: Unterschied zwischen den Versionen
Aus chessmail Wiki
K |
K |
||
Zeile 3: | Zeile 3: | ||
{{#if: {{{tooltip|}}} | {{#if: {{{tooltip|}}} | ||
| Parameter tooltip is defined and non-null/non-empty. | | Parameter tooltip is defined and non-null/non-empty. | ||
− | | Parameter tooltip is not defined, or is defined but null. It contains only empty string(s) or breaking space(s) etc. {{#if: {{#len: {{{tooltip}}} < 0}} | NONE |doelse | + | | Parameter tooltip is not defined, or is defined but null. It contains only empty string(s) or breaking space(s) etc. |
+ | {{#if: {{#len: {{{tooltip}}} < 0}} | NONE |doelse }} | ||
}} | }} | ||
---- | ---- | ||
{{#len: {{{tooltip}}}}} | {{#len: {{{tooltip}}}}} |
Version vom 9. Mai 2013, 07:38 Uhr
{{{3}}}--{{{tooltip}}}-{{#len: {{{tooltip}}}}}{{#vardefine:text|{{{text}}}}}{{#ifexpr: {{#len:{{{tooltip}}}}} < 1 | {{#vardefine:tooltip|{{{link}}}}} | {{#vardefine:tooltip|{{{tooltip}}}}} }}[{{{link}}} {{{text}}}]
{{#if: | Parameter tooltip is defined and non-null/non-empty. | Parameter tooltip is not defined, or is defined but null. It contains only empty string(s) or breaking space(s) etc. {{#if: {{#len: {{{tooltip}}} < 0}} | NONE |doelse }} }}
{{#len: {{{tooltip}}}}}