Template:QS
||{{{1}}}|{{{2}}}|{{{3}}}
[переглянути] [редагувати] [історія] [оновити]
Документація
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 Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (Q4115189) that it [[d:Special:EntityPage/P31|Template:Wikidata (P31)]] Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (Q27318) 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