Template:Data
![]() | Uses Lua: |
Retrieves data from Wikidata, and formats it using Module:Wikidata. Same parameters as those in the p.formatStatements property of the module.
Examples
editCode | render | comment |
---|---|---|
{{Data|item=Q42|property=p31}} | human | Douglas Adams (Q42) instance of (P31) |
{{Data|item=Q42|property=p31|lang=ja}} | ヒト | |
{{Data|item=Q42|property=p569}} | Douglas Adams (Q42) date of birth (P569) | |
{{Data|item=Q42|property=p569|lang=ja}} | ||
{{Data|item=Q42|property=p569|displayformat=raw}} | +1952-03-11T00:00:00Z | |
{{Data|item=Q12418|property=p186}} | oil paint and poplar panel | Mona Lisa (Q12418) made from material (P186) |
{{Data|item=Q12418|property=p186|lang=ja}} | 油絵具およびポプラ板 | |
{{Data|item=Q12418|property=p186|rank=valid}} | oil paint, poplar panel and wood | rank = "valid" accepts both "preferred" and "normal" values |
{{Data|item=Q12418|property=p186|numval=1}} | oil paint | |
{{Data|item=Q12418|property=p186|qualifier=p518}} | poplar panel | Mona Lisa (Q12418) made from material (P186) applies to part (P518) should only display values that have a p518 qualifier |
{{Data|item=Q12418|property=p186|showqualifiers=p518}} | oil paint and poplar panel (painting support) | shows the value of the p518 qualifier (if any) in addition to the main value |
{{Data|item=Q12418|property=P276|sourceproperty=P854}} | Salle des États, Louvre | Mona Lisa (Q12418) location (P276) reference URL (P854) |
{{Data|item=Q11879536|property=P460|source=Q1645493}} | Lisa del Giocondo | person depicted in Mona Lisa (Q11879536) said to be the same as (P460) Lives of the Most Excellent Painters, Sculptors, and Architects (Q1645493) |
{{Data|item=Q11879536|property=P460|source=Q1645493|showsource=true}} | Lisa del Giocondo[1][2] | |
{{Data|item=Q153|property=P231|showsource=true}} | 64-17-5[3][4][5] | ethanol (Q153) CAS Registry Number (P231) |
{{Data|item=Q205309|property=P793|sorttype=inverted}} | closure, demolition, renovation, renovation, first match and construction | Arsenal Stadium (Q205309) significant event (P793) |
{{Data|item=Q205309|property=P793|sorttype=chronological|conjtype=<br />|withdate=true}} | construction first match renovation renovation demolition closure |
|
{{Data|item=Q205309|property=P793|targetvalue=331483|withdate=true}} | demolition | |
{{Data|item=Q76|property=P856}} | https://barackobama.com | Barack Obama (Q76) official website (P856) |
{{Data|item=Q76|property=P856|displayformat=weblink}} | https://barackobama.com |
References
edit- ↑ Giorgio Vasari, Le vite de piu eccellenti architetti, pittori, et scultori italiani, da Cimabue insino a' tempi nostri, and
- ↑ https://web.archive.org/web/20110508121954/http://www.ub.uni-heidelberg.de/Englisch/news/monalisa.html
- ↑ ChEBI (title not provided in Wikidata), European Bioinformatics Institute, Creative Commons Attribution 4.0 International
- ↑ Global Substance Registration System (title not provided in Wikidata)
- ↑ CAS Common Chemistry
See also
editTemplate | 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 science fiction writer and humorist (1952–2001)) |
{{Q}} |
Douglas Adams (Q42) | |
{{Q+}} |
Douglas Adams (Q42): English science fiction writer and humorist (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 Venetian) | {{Qvec}} |
Q42(42) |
(Label in Taraškievica) | {{Qbe-tarask}} |
Дуглас Адамз(42) |
(Label in English) | {{Qen}} |
Q42(42) |
(Label in French) | {{Qfr}} |
Q42(42) |
(Label in Italian) | {{Qit}} |
Q42(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:Data/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. |