Template:Q
Jump to navigation
Jump to search
50px Template:Documentation/getText[[[Template:Q/doc|Template:Documentation/getText]] · [[Special:EditPage/Template:Q/doc|Template:Documentation/getText]] · [[Special:PageHistory/Template:Q/doc|Template:Documentation/getText]] · ]
Usage
{{Q}}
is used to get an automatically localized link to an item; {{QT}}
links to the item's talk page; {{QB}}
links to both. A variety of alternative templates is also available; see list below.
For example:
Q
- {{Q|42}} → Media URL (Q42)
- {{Q|Q42}} → Media URL (Q42)
- {{Q|Q42|capitalization=uc}} → Media URL (Q42)
- {{Q|Q42|capitalization=lc}} → Media URL (Q42)
- {{Q|Q42|capitalization=lcfirst}} → Media URL (Q42)
QT
- {{QT|42}} → Template:QT
- {{QT|Q42}} → Template:QT
- {{QT|Q42|capitalization=uc}} → Template:QT
- {{QT|Q42|capitalization=lc}} → Template:QT
- {{QT|Q42|capitalization=lcfirst}} → Template:QT
QB
- {{QB|42}} → Template:QB
- {{QB|Q42}} → Template:QB
- {{QB|Q42|capitalization=uc}} → Template:QB
- {{QB|Q42|capitalization=lc}} → Template:QB
- {{QB|Q42|capitalization=lcfirst}} → Template:QB
TemplateData
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 |
capitalization | capitalization | no description | Line | optional |
See also
{{Autodescription}}
{{A}}
{{Data}}
{{EntitySchema}}
{{E}}
{{Label}}
- Media URL
{{LinkedLabel}}
{{Label and description}}
{{LD}}
- Template:LD
{{Q}}
{{Q+}}
{{Q'}}
{{Q''}}
{{Q'''}}
Page Module:Message box/styles.css must have content model "Sanitized CSS" for TemplateStyles (current model is "CSS").
Template:Documentation/getText Template:Documentation/getText Template:Documentation/getText Template:Documentation/getText |