Template:Has objectClass

From Wikispooks
Revision as of 10:42, 31 August 2016 by Robin (talk | contribs) (category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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... }}