Template:Q
Revision as of 17:05, 6 July 2020 by wd>Matěj Suchánek (Fulfilling edit request by Tacsipacsi)
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 |