Template:QS

From Wikispore
Jump to navigation Jump to search

||{{{1}}}|{{{2}}}|{{{3}}}

Documentation icon Template documentation[view] [edit] [history]

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
Wikidata-logo-en.svg

  QQ4115189

that it Template:P
Wikidata-logo-en.svg

  QQ27318

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

Result = |%20}} add this statement to wikidata

See also

{{#invoke:TranslateThis|main}}

{| cellspacing="0" cellpadding=0 class="{{{class|}}} multicol" style="background:{{{bgColor|transparent}}}; width:{{{width|100%}}};"

The Template col-begin designates the start of a wikitable (by the MediaWiki coding above), when used in a multi-column table (with columns denoted by "{{col-break}}"). The wikitable is ended by using template "{{col-end}}" at the end of the final column of entries. Using multiple "col-break" lines will designate the multiple columns in the table.

This is compatible with the English Wikipedia template (also named "{{col-begin}}").

See also

Template:Column templates