Year of the Dragon: Through April 23rd, claim the adventure pack Slice of Life for free! Speak to Xatheral in the Hall of Heroes.
Game mechanics • Newbie guide • In development • DDO Store • Social Media
Challenges • Classes • Collectables • Crafting • Enhancements • Epic Destinies • Favor • Feats
Glossary • Items • Maps • Monsters • Places • Quests • Races • Reincarnation • Skills • Spells
Please create an account or log in to build a reputation and unlock more editing privileges, and then visit DDO wiki's IRC Chat/Discord if you need any help!
Template:IO-TF/sandbox
Usage
{{ IO-TF/sandbox | param }}
{{#if: {{IO-TF|{{{param|}}}}} |something if true |something else if false }}
Returns an empty value if param evaluates to false, param otherwise. See also: {{IO}}
Examples[edit]
Code | Output |
---|---|
{{IO-TF| TRUE }} |
TRUE |
{{IO-TF| FALSE }} |
|
{{#if:{{IO-TF| }} |YES |no }} |
no |
{{#if:{{IO-TF| 1 }} |YES |no }} |
YES |
{{#if:{{IO-TF| 0 }} |YES |no }} |
no |
{{#if:{{IO-TF| off }} |YES |no }} |
no |
{{#if:{{IO-TF| None }} |YES |no }} |
no |
{{IO-TF| marshmellow }} |
marshmellow |
Coding[edit]
The code in this section is "includeonly" transcluded onto the page.