Template:IsInstance

Documentation icon Template documentation[view · edit · history · purge ]

Usage edit

Is Douglas Adams (Q42)  View with Reasonator View with SQID a human (Q5)  View with Reasonator View with SQID

true Is the Universe (Q1)  View with Reasonator View with SQID a human (Q5)  View with Reasonator View with SQID


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

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
candidate instance1 item

the candidate instance item (by default the item if we are on its talkpage)

Default
{{PAGENAME}}
Example
Q42
Page namesuggested
class2 class

the class that we need to check if the item is an instance of

Example
Q5
Page namerequired