Difference between revisions of "Template:Infobox sportsperson/Wikidata"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Zyxw (If death_date or death_place not defined, use Wikidata. Use templates for birth/death dates without age, to include microformat.) |
||
Line 34: | Line 34: | ||
| class7 = category | | class7 = category | ||
| label8 = Born | | label8 = Born | ||
− | | data8 = {{br separated entries|{{#if:{{{death_date|}}}|{{#invoke:Wikidata|getDateValue|P569|{{{birth_date|FETCH_WIKIDATA}}}|{{{dateformat|dmy}}}}}|{{Birth-date and age|{{#invoke:Wikidata|getDateValue|P569|{{{birth_date|FETCH_WIKIDATA}}}|{{{dateformat|dmy}}}}} }} }}| | + | | data8 = {{br separated entries |
− | {{#if:{{{birth_place|{{#property:P19}} }}}|<span class="birthplace">{{#invoke:Wikidata|getValue|P19|{{{birth_place|FETCH_WIKIDATA}}}}}</span>}}}} | + | |1= {{#if: {{{birth_date|{{#property:P569}}}}} |
+ | | {{#if: {{{death_date|{{#property:P570}}}}} | ||
+ | | {{Birth-date | {{#invoke:Wikidata|getDateValue|P569|{{{birth_date|FETCH_WIKIDATA}}}|{{{dateformat|dmy}}}}} }} | ||
+ | | {{Birth-date and age | {{#invoke:Wikidata|getDateValue|P569|{{{birth_date|FETCH_WIKIDATA}}}|{{{dateformat|dmy}}}}} }} | ||
+ | }} | ||
+ | }} | ||
+ | |2= {{#if: {{{birth_place|{{#property:P19}}}}} | ||
+ | | <span class="birthplace">{{#invoke:Wikidata|getValue|P19|{{{birth_place|FETCH_WIKIDATA}}}}}</span> | ||
+ | }} | ||
+ | }} | ||
| label9 = Died | | label9 = Died | ||
− | | data9 = {{br separated entries|{{{death_date|}}}|{{#if:{{{death_place|}}}|<span class="deathplace">{{{death_place|}}}</span>}}}} | + | | data9 = {{br separated entries |
+ | |1= {{#if: {{{death_date|{{#property:P570}}}}} | ||
+ | | {{#if: {{{birth_date|{{#property:P569}}}}} | ||
+ | | {{Death-date and age | {{#invoke:Wikidata|getDateValue|P570|{{{death_date|FETCH_WIKIDATA}}}|{{{dateformat|dmy}}}}} | {{#invoke:Wikidata|getDateValue|P569|{{{birth_date|FETCH_WIKIDATA}}}|{{{dateformat|dmy}}}}} }} | ||
+ | | {{Death-date | {{#invoke:Wikidata|getDateValue|P570|{{{death_date|FETCH_WIKIDATA}}}|{{{dateformat|dmy}}}}} }} | ||
+ | }} | ||
+ | }} | ||
+ | |2= {{#if:{{{death_place|{{#property:P20}}}}} | ||
+ | | <span class="deathplace">{{#invoke:Wikidata|getValue|P20|{{{death_place|FETCH_WIKIDATA}}}}}</span> | ||
+ | }} | ||
+ | }} | ||
| label10 = Resting place | | label10 = Resting place | ||
| data10 = {{br separated entries|{{{resting_place|{{{resting place|{{{restingplace|}}}}}}}}}|{{{resting_place_coordinates|{{{resting place coordinates|{{{restingplacecoordinates|}}}}}}}}}}} | | data10 = {{br separated entries|{{{resting_place|{{{resting place|{{{restingplace|}}}}}}}}}|{{{resting_place_coordinates|{{{resting place coordinates|{{{restingplacecoordinates|}}}}}}}}}}} |
Revision as of 16:32, 18 April 2019
Script error: No such module "Wikidata". Script error: No such module "Wikidata". | |
Personal information | |
---|---|
Nickname(s) | Script error: No such module "Wikidata". |
Ethnicity | Script error: No such module "Wikidata". |
Citizenship | Script error: No such module "Wikidata". |
Born | Not recognized as a date. Years must have 4 digits (use leading zeros for years < 1000). Script error: No such module "Wikidata". |
Died | Not recognized as a date. Years must have 4 digits (use leading zeros for years < 1000). (aged Error: Need valid year, month, day) Script error: No such module "Wikidata". |
Alma mater | Script error: No such module "Wikidata". |
Occupation | Script error: No such module "Wikidata". |
Employer | Script error: No such module "Wikidata". |
Agent | Script error: No such module "Wikidata". |
Spouse(s) | Script error: No such module "Wikidata". |
Life partner(s) | Script error: No such module "Wikidata". |
Website | Script error: No such module "Wikidata". |
Sport | |
Sport | Script error: No such module "Wikidata". |
Discipline | Script error: No such module "Wikidata". |
Club | Script error: No such module "Wikidata". |
Coached by | Script error: No such module "Wikidata". |
[[[d:Script error: No such module "Wikidata".|edit on Wikidata]]] |
Template:Person infobox header
![]() | This template uses Lua: |
Usage
This is a copy of Template:Infobox sportsperson that is wikidataified. Please use as:
{{Infobox sportsperson/Wikidata}}
It will hopefully be merged with Template:Infobox sportsperson at some point.
See also
The above documentation is transcluded from Template:Infobox sportsperson/Wikidata/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |