Template:IsInstance
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 |
The above documentation is transcluded from Template:IsInstance/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (edit) page. Please add categories to the /doc subpage. Subpages of this template. |