Jump to content

Template:Has objectClass

From Deep Politics Wiki
Revision as of 10:42, 31 August 2016 by WikiSpooks>Robin (category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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... }}