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. edit

Thank you for your patience while we continue to upgrade DDOwiki to the latest MediaWiki LTS version. If you find any errors on the site, please visit the Discord chat server and let us know.

Game mechanicsNewbie guideIn developmentDDO StoreSocial Media


ChallengesClassesCollectablesCraftingEnhancementsEpic DestiniesFavorFeats

GlossaryItemsMapsMonstersPlacesQuestsRacesReincarnationSkillsSpells


Please create an account or log in to remove ads, build a reputation, and unlock more editing privileges and then visit DDO wiki's IRC Chat/Discord if you need any help!

Template:PosInt

From DDO wiki
(Redirected from Template:IfPositiveInteger)
Jump to navigation Jump to search

Usage[edit]

{{IfPositiveInteger
  | 1 =
  | 2 =
  | 3 =
}} <!-- end if PosInt -->
  • 1 test value. Can be anything.
  • 2 text to be generated if value is a positive integer. If this parameter is not given and the test value is a positive integer or 0, the test value will be the result.
  • 3 text to be generated if value is not a positive integer. If this parameter is not given, nothing will be generated in case the test value is not a positive integer or 0.

Examples[edit]

CODE[edit]