Template:LinkedLabel
Jump to navigation
Jump to search
This template displays a link to an entity (item or property) aliased to the label in the current language. It is effectively equivalent to {{Q}}
or {{P}}
, omitting the item or property ID in parenthesis.
It allows manual change of a language of the item, using second parameter.
Usage
[edit]{{LinkedLabel | entity id }}
{{LinkedLabel | entity id | language code }}
The language code parameter is optional, if not provided it will default to selected user language.
Examples
[edit]- Universe (Q1)
{{LinkedLabel | Q1 }}
→ Universe{{LinkedLabel | Q1 | en }}
→ Universe{{LinkedLabel | Q1 | es }}
→ Universo{{LinkedLabel | Q1 | ru }}
→ Вселенная{{LinkedLabel | Q1 | ja }}
→ 宇宙
- instance of (P31)
{{LinkedLabel | P31 }}
→ instance of{{LinkedLabel | P31 | en }}
→ instance of{{LinkedLabel | P31 | es }}
→ instancia de{{LinkedLabel | P31 | ru }}
→ это частный случай понятия{{LinkedLabel | P31 | ja }}
→ 分類
- subclass of (P279)
{{LinkedLabel | Property:P279 }}
→ subclass of{{LinkedLabel | Property:P279 | en }}
→ subclass of{{LinkedLabel | Property:P279 | es }}
→ subclase de{{LinkedLabel | Property:P279 | ru }}
→ подкласс от{{LinkedLabel | Property:P279 | ja }}
→ 上位クラス
See also
[edit]Template | Shorthand | Example |
---|---|---|
{{Autodescription}} |
{{A}} |
totality consisting of space, time, matter and energy |
{{Data}} |
||
{{EntitySchema}} |
{{E}} |
|
{{Label}} |
Douglas Adams | |
{{LinkedLabel}} |
Douglas Adams | |
{{Label and description}} |
{{LD}} |
Q42 (English author and humourist (1952–2001)) |
{{Q}} |
Douglas Adams (Q42) | |
{{Q+}} |
Douglas Adams (Q42): English author and humourist (1952–2001) | |
{{Q'}} |
Douglas Adams (Q42) | |
{{Q''}} |
Douglas Adams (Q42) | |
{{Q'''}} |
Douglas Adams (Q42) | |
{{Q!}} |
||
{{Q*}} |
||
{{QP}} |
instance of (P31) of Douglas Adams (Q42) | |
{{QT}} |
Douglas Adams (Q42) | |
{{Property}} |
{{P}} |
|
{{P'}} |
||
{{PT'}} |
||
{{P+}} |
||
{{Lexeme}} |
{{L}} |
|
{{Claim}} |
{{C}} |
|
{{Statement}} |
{{St}} |
|
{{Statement+}} |
||
{{EzStatement+}} |
||
(Label in English) | {{Qen}} |
Q42(42) |
(Label in French) | {{Qfr}} |
Q42(42) |
(Label in Italian) | {{Qit}} |
Douglas Adams(42) |
(Label in German) | {{Qde}} |
Q42(42) |
(Label in Polish) | {{Qpl}} |
Q42(42) |
(Label in Russian) | {{Qru}} |
Дуглас Адамс(42) |
(Label in Ukrainian) | {{Quk}} |
Дуглас Адамс(42) |
(Label in Spanish) | {{Qes}} |
Q42(42) |
(Label in Chinese) | {{Qzh}} |
道格拉斯·亞當斯(42) |
(Label in Shahmukhi) | {{Qpnb}} |
ڈگلس ایڈمس(42) |
(Label in Gurmukhi) | {{Qpa}} |
ਡਗਲਸ ਐਡਮਸ(42) |
(Label in Saraiki) | {{Qskr}} |
ڈگلس ایڈمس(42) |
(Label in Swedish) | {{Qsv}} |
Q42(42) |
The above documentation is transcluded from Template:LinkedLabel/doc (edit | history). Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) page. Please add categories to the /doc subpage. Subpages of this template. |