There's now a new DDO Discord as the old one was hacked and deleted.

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:Nopic

From DDO wiki
Jump to: navigation, search

USAGE[edit]

If a given picture does not exists returns a picture placeholder together with a link to upload a file with the given pagename. In that case a variable named "tNopicNotFound" is defined and can be used in completeness checks. This variable is persistent within the calling page context.

{{ Nopic | file name | (icon) }}

Optional:

  • "icon" as second parameter returns an icon placeholder
  • named parameter "placeholder" supplies an alternate file name for the placeholder file

EXAMPLES[edit]

  • [[File:{{Nopic|ABC123.jpg}}]]
    No pic.jpg
  • [[File:{{Nopic|ABC123.jpg|placeholder=NPCmissingOrb.png}}]]
    NPCmissingOrb.png
  • [[File:{{Nopic|ABC123.jpg|icon}}]]
    Question icon.png

CATEGORIZATION[edit]

  • None

CODE[edit]

No pic.jpg