Template:EntityID type/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:EntityID type. It contains usage information, categories, and other content that is not part of the original template page. |
this template prints Item if the parameter is a valid Qid number, ie. a string beginning by a Q followed only by 0-9 digits, or 'Property' if the parameter is a valid Property id.
Otherwise it is substituted with the emptystring, hence it is false in a #if:
template statement.
Usage
[edit]{{EntityID type|Q1}}
Item
{{EntityID type|P1}}
Property
{{EntityID type|Q1}}
Item
{{EntityID type|1}}
{{EntityID type|bla}}
See also
[edit]