Difference between revisions of "Template:Q"

From TransforMap Base
Jump to: navigation, search
(Created page with "<includeonly>{{#ifeq: {{str left|{{{1|}}}|1}} | Q | [[{{{1|}}}|{{label|{{{1|}}}}} <small>{{int:parentheses|{{{1|}}}}}</small>]] | Q{{{1|}}}|{{label|Q{{{1|}}}}} <small>{{...")
 
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>

Revision as of 12:17, 10 December 2016

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

Usage

This is used to get an automatically localized link to an item. For example:

{{Q|1}} or {{Q|Q1}}

produces:

(Q1) or (Q1)

See also

Displays an item label in user language and a link to its wikipage

Template parameters

ParameterDescriptionTypeStatus
item1

the item to show

Default
empty
Example
empty
Auto value
empty
Pagerequired