Template:IsSubclass
Usage
editIs Douglas Adams (Q42) a subclass of human (Q5)
{{IsSubclass|Q42|Q5}}
Is the Universe (Q1) a subclass of human (Q5)
{{IsSubclass|Q1|Q5}}
Is a low fermentation beer (Q12008405) a drink (Q40050)
{{IsSubclass|Q12008405|Q40050}}
true
See also
edit{{ReachableFrom}}
{{IsInstance}}
- PropertyPathTest
check if an item is an subclass of a class. Shows 'true' if this is the case, or '' (the empty string) if not
Parameter | Description | Type | Status | |
---|---|---|---|---|
candidate subclass | 1 item | the candidate subclass item
| Page name | required |
class | 2 class | the class that we need to check if the item is an subclass of
| Page name | required |
The above documentation is transcluded from Template:IsSubclass/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |