Template:Parameters/Ififnot

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

|- |if |style="text-align:left; "|optional | | This allows the same functionality as the {{#if:...}} function, but with an abbreviated syntax that can be both cleaner and more convenient when writing a template. If the end result is 0 or empty, the check will fail and the function will have no effect; otherwise, it will work as expected.

|- |ifnot |style="text-align:left; "|optional | | This works just like if, but will only run if the result of the check is 0 or empty. If you use if and ifnot together, both conditions must be satisfied in order for the function to work.