Year of the Dragon: Through May 28th, claim free Expansion Pack (excluding Vecna Unleashed) or a Greater Elixir of Discovery! Speak to Xatheral in the Hall of Heroes.
Known Issue: Xatheral has been temporarily disabled while we investigate a bug with Year of the Dragon gift delivery.DDO Forums edit

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.