Template:Display class icon

From Wikispooks
Jump to: navigation, search

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.