Template:Display image

From Wikispooks
Revision as of 02:38, 14 July 2015 by Robin (talk | contribs) (Still needs work)
Jump to navigation Jump to search

This is a semantic utility template to allocate Property:Display image.
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}}