Template:Has objectClass

From Wikispooks
Jump to navigation Jump to search

Category:Semantic Utility TemplatesThis is a simple check of Property:Has objectClass.
It takes one parameter, the objectClass to check.
Currently, only a single object class is supported.

Usage:

{{#if: {{Has objectClass|Year}}| ...Code for pages of type 'year'... | ...code otherwise... }}