Template:Data

Documentation icon Template documentation[view · edit · history · purge ]

Retrieves data from Wikidata, and formats it using Module:Wikidata. Same parameters as those in the p.formatStatements property of the module.

Examples

edit
Code 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
  1. Giorgio Vasari, Le vite de piu eccellenti architetti, pittori, et scultori italiani, da Cimabue insino a' tempi nostri, and
  2. https://web.archive.org/web/20110508121954/http://www.ub.uni-heidelberg.de/Englisch/news/monalisa.html
  3. ChEBI (title not provided in Wikidata), European Bioinformatics Institute, Creative Commons Attribution 4.0 International
  4. Global Substance Registration System (title not provided in Wikidata)
  5. CAS Common Chemistry

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 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)  View with Reasonator View with SQID
{{Q''}} Douglas Adams (Q42)  View with Reasonator View with SQID
{{Q'''}} Douglas Adams (Q42)  View with Reasonator View with SQID View profile on Scholia
{{Q!}} human : any member of Homo sapiens, unique extant species of the genus HomoDouglas Adams (Q42)
{{Q*}} human : any member of Homo sapiens, unique extant species of the genus HomoDouglas Adams (Q42): English science fiction writer and humorist (1952–2001)
{{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)