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 mechanicsNewbie guideIn developmentDDO StoreSocial Media


ChallengesClassesCollectablesCraftingEnhancementsEpic DestiniesFavorFeats

GlossaryItemsMapsMonstersPlacesQuestsRacesReincarnationSkillsSpells


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

From DDO wiki
Jump to navigation Jump to search

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.