Difference between revisions of "Template:Q"
From TransforMap Base
(Created page with "<includeonly>{{#ifeq: {{str left|{{{1|}}}|1}} | Q | [[{{{1|}}}|{{label|{{{1|}}}}} <small>{{int:parentheses|{{{1|}}}}}</small>]] | Q{{{1|}}}|{{label|Q{{{1|}}}}} <small>{{...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq: {{str left|{{{1|}}}|1}} | Q | <includeonly>{{#ifeq: {{str left|{{{1|}}}|1}} | Q | ||
| [[{{{1|}}}|{{label|{{{1|}}}}} <small>{{int:parentheses|{{{1|}}}}}</small>]] | | [[{{{1|}}}|{{label|{{{1|}}}}} <small>{{int:parentheses|{{{1|}}}}}</small>]] | ||
− | | [[Q{{{1|}}}|{{label|Q{{{1|}}}}} <small>{{int:parentheses|Q{{{1|}}}}}</small>]] | + | | [[Item:Q{{{1|}}}|{{label|Q{{{1|}}}}} <small>{{int:parentheses|Q{{{1|}}}}}</small>]] |
}}</includeonly><noinclude>{{documentation}} | }}</includeonly><noinclude>{{documentation}} | ||
<templatedata> | <templatedata> |
Latest revision as of 12:21, 10 December 2016
Usage
This is used to get an automatically localized link to an item. For example:
{{Q|1}} or {{Q|Q1}}
produces:
See also
- Template:Property (aliased
{{P}}
) - Template:Claim (aliased
{{C}}
) - Template:Label
- Template:Statement (aliased
{{St}}
) - Template:Q' variant which deals with non items parameters (as strings)
- Template:Q+ includes description
The above documentation is transcluded from Template:Q/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
Displays an item label in user language and a link to its wikipage
Parameter | Description | Type | Status | |
---|---|---|---|---|
item | 1 | the item to show
| Page | required |