Jump to content

Template:Display class icon

From Deep Politics Wiki
Revision as of 02:25, 16 July 2015 by WikiSpooks>Robin (t)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a semantic utility template to return the plaintext name of an icon for the page.
The logic is:

  • If the page has a Has objectClass property, then use that.
  • Else look at the namespace, and use that.