Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Humanipedia
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Wikidata/doc
(section)
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Claim class === The claim class commands can be combined, meaning that multiple commands of different types from this class can be given at one time ([[#Usage|see above for usage]]). Combine multiple commands into one call to this {{lcfirst:{{NAMESPACE}}}}, instead of making multiple calls to this {{lcfirst:{{NAMESPACE}}}} with one command each, to be sure that all the returned pieces of information belong to each other ([[#Examples|see also the examples below]]). {| class="wikitable" |- ! Type ! Command ! Returns ! Basic usage ! Description |- | rowspan="2" style="text-align:right;" | I ! style="text-align:left;" | <code>property</code> | {{smaller|first match{{efn|Returns only a single value instead of multiple (if multiple claims or statements match). The returned value is '''the first match found from the best-ranked''' claims.}}}} | {{nowrap|{{tnull|{{{prename|}}}{{lcfirst:{{ROOTPAGENAME}}}}|property|P1|{{{extraparams|}}}}}}} | rowspan="2" | Returns the requested property β or list of properties β from the current item-entity or from a given entity. This command can be given only once in one call. |- ! style="text-align:left;" | <code>properties</code> | {{smaller|all matches}} | {{nowrap|{{tnull|{{{prename|}}}{{lcfirst:{{ROOTPAGENAME}}}}|properties|P1|{{{extraparams|}}}}}}} |- | colspan="5" | |- | rowspan="2" style="text-align:right;" | II ! style="text-align:left;" | <code>qualifier</code> | {{smaller|first match{{efn|Returns only a single value instead of multiple for each matching claim. To get at most one value in total in case the <code>property</code> command is not also used, additionally use the [[#Configuration flags|<code>single</code> configuration flag]].|name=fm}}}} | {{nowrap|{{tnull|{{{prename|}}}{{lcfirst:{{ROOTPAGENAME}}}}|qualifier|P1|P2|{{{extraparams|}}}}}}} | rowspan="2" | Returns the requested qualifier β or list of qualifiers β from the given property of the current item-entity or of a given entity. Unlike the other claim class commands, this command can be given multiple times to retrieve different qualifiers in one call. |- ! style="text-align:left;" | <code>qualifiers</code> | {{smaller|all matches}} | {{nowrap|{{tnull|{{{prename|}}}{{lcfirst:{{ROOTPAGENAME}}}}|qualifiers|P1|P2|{{{extraparams|}}}}}}} |- | colspan="5" | |- | rowspan="2" style="text-align:right;" | III ! style="text-align:left;" | <code>reference</code> | {{smaller|first match{{efn|name=fm}}}} | {{nowrap|{{tnull|{{{prename|}}}{{lcfirst:{{ROOTPAGENAME}}}}|reference|P1|{{{extraparams|}}}}}}} | rowspan="2" | Returns a reference β or list of references β from the given property of the current item-entity or of a given entity.{{efn|See [[#References|the section on references]] for details.}} This command can be given only once in one call. |- ! style="text-align:left;" | <code>references</code> | {{smaller|all matches}} | {{nowrap|{{tnull|{{{prename|}}}{{lcfirst:{{ROOTPAGENAME}}}}|references|P1|{{{extraparams|}}}}}}} |- | colspan="5" | |- | colspan="5" style="text-align:left;" | {{notelist}} |}
Summary:
Please note that all contributions to Humanipedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Humanipedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)