Template:HasOccupation/doc
This is a documentation subpage for Template:HasOccupation. It contains usage information, categories, and other content that is not part of the original template page. |
{{HasOccupation}}
is a template which relates on Module:PropertyPathTest which returns true if an item has a given occupation (based on occupation (P106)) and false otherwise.
Usage
edit{{HasOccupation|Q263367|Q2526255}}
tests if Alice Guy-Blaché (Q263367) has occupation (occupation (P106)) film director (Q2526255). It returns true.
{{HasOccupation|Q131117|Q2526255}}
tests if Maria Montessori (Q131117) has occupation film director (Q2526255). It returns .
See also
edit{{IsInstance}}