Template:If: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
m (add category)
 
Line 7: Line 7:
:→ {{#if:test string|value if test string is not empty|value if test string is empty (or only white space)}}
:→ {{#if:test string|value if test string is not empty|value if test string is empty (or only white space)}}


[[category:templates]]</noinclude>
[[category:Text templates]]</noinclude>

Latest revision as of 22:26, 8 December 2023


See this page for usage.

In many cases you may be able to use the basic #if parser function instead:

{{#if:test string|value if test string is not empty|value if test string is empty (or only white space)}}
→ value if test string is not empty