Jump to content

Template:Display image

From Deep Politics Wiki
Revision as of 22:34, 24 September 2026 by WikiBot (talk | contribs) (Plain formatting, no semantic markup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a semantic utility template to allocate Property:Display image.
It may call the other templates Template:Display image/image and Template:Display class icon.
The logic is as follows:

  • If the page Has logo2, and that file exists, then use that.
  • Elseif the page Has image2, and that file exists, then use that.
  • Else use an icon derived from the page's Has objectClass2.

Usage:

{{Display image|Pagename}}