Template:QS/doc

From Wikispore
Jump to navigation Jump to search

Usage

{{Quickstatements link}} and {{QS}} are a more user-readable way to write links to deposit information into wikidata using the QuickStatements method.

Quickstatements link

The {{Quickstatements link}} template is used for the general wrapper

{{Quickstatements link
 | 1 = statements to add using {{QS|item|property|value}}
 | 2 = text to display
}}

QS

The {{QS}} template is used for each statement to add to wikidata (multiple statements can be strung together).

{{QS
 | 1 = item to add the statement to (to remove a statement from an item, include "-" in front of the QID)
 | 2 = property to add as the statements
 | 3 = value for that property
 | 4 = parameters 4-9 allow you to add optional qualifiers and sources
 | ...
}}

Example

The example below adds the statement to


QQ4115189

that it Lua error in Module:Property at line 17: attempt to index field 'labels' (a nil value).


QQ27318

with a link stating "add this statement to wikidata":
{{Quickstatements link
 |{{QS|Q4115189|P31|Q27318}}
 |add this statement to wikidata
}}

Result = add this statement to wikidata

See also