Template:IsInstance/doc
Jump to navigation
Jump to search
![]() | This is a documentation subpage for Template:IsInstance. It contains usage information, categories, and other content that is not part of the original template page. |
Usage
[edit]Is Douglas Adams (Q42)
a human (Q5)
{{IsInstance|Q42|Q5}}
true
Is the Universe (Q1)
a human (Q5)
{{IsInstance|Q1|Q5}}
See also
[edit]
check if an item is an instance of a class. Shows 'true' if this is the case, or '' (the empty string) if not
Parameter | Description | Type | Status | |
---|---|---|---|---|
candidate instance | 1 item | the candidate instance item (by default the item if we are on its talkpage)
| Page name | suggested |
class | 2 class | the class that we need to check if the item is an instance of
| Page name | required |