Template:Label and description
Jump to navigation
Jump to search
This template gets the description of an item or property, using Module:Wikidata.
Usage
[edit]{{Label and description | entity id }}
{{Label and description | entity id | language code }}
If entity id is an item, then it must begin with "Q", eg. {{LD|Q1}}
, not {{LD|1}}
The language code parameter is optional, if not provided it will default to selected user language.
Shortcut
[edit]{{LD}}
Examples
[edit]- Universe (Q1)
{{Label and description | Q1 }}
→ Universe (totality consisting of space, time, matter and energy){{Label and description | Q1 | en }}
→ Universe (totality consisting of space, time, matter and energy){{Label and description | Q1 | es }}
→ Universo (la totalidad formada por el espacio, el tiempo, la materia y la energía){{Label and description | Q1 | ru }}
→ Вселенная (фундаментальное понятие в астрономии и философии, обозначающее совокупность всего, что существует){{Label and description | Q1 | ja }}
→ 宇宙 (時間と空間、物質およびエネルギーの総体){{LD|Q1|ca}}
→ Univers (totalitat de la matèria, l'energia, l'espai i el temps)
- instance of (P31)
{{Label and description | P31 }}
→ instance of (that class of which this subject is a particular example and member; different from P279 (subclass of); for example: K2 is an instance of mountain; volcano is a subclass of mountain (and an instance of volcanic landform)){{Label and description | P31 | en }}
→ instance of (that class of which this subject is a particular example and member; different from P279 (subclass of); for example: K2 is an instance of mountain; volcano is a subclass of mountain (and an instance of volcanic landform)){{Label and description | P31 | es }}
→ instancia de (este elemento es un ejemplar del otro elemento){{Label and description | P31 | ru }}
→ это частный случай понятия (данный элемент представляет собой конкретный объект (экземпляр / частный случай) класса, категории. Не путать с Property:P279 ("подкласс от").){{Label and description | P31 | ja }}
→ 分類 (この項目をインスタンス(実例・実体)とする種類や概念。この項目がクラス(種類・概念)の場合は、代わりに上位クラス(P279)を使用。(例:山のインスタンスの1つが富士山、火山の上位クラスは山)){{LD|P31|ca}}
→ instància de (aquest element és un objecte concret (instància) d'aquesta classe, categoria o grup d'objectes)
Comparisons
[edit]{{Label and description | Q1 }}
→ Universe (totality consisting of space, time, matter and energy){{Q+ | Q1 }}
→ Universe (Q1): totality consisting of space, time, matter and energy
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:Label and description/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |