Difference between revisions of "Template:Infobox sportsperson/Wikidata"
Jump to navigation
Jump to search
imported>Frietjes (better to place the commons link in the external links) |
imported>Zyxw m (allow "full_name" as alternative for "fullname", similar to "birth_name" and "native_name") |
||
Line 10: | Line 10: | ||
| caption = {{{caption|{{#invoke:Wikidata|claim|P18|qualifier=P2096|FETCH_WIKIDATA}}}}} | | caption = {{{caption|{{#invoke:Wikidata|claim|P18|qualifier=P2096|FETCH_WIKIDATA}}}}} | ||
− | | header1 = {{#ifeq:{{{child|{{{embed|}}}}}}|yes||{{#if:{{{native_name|}}}{{{native_name_lang|}}}{{{birth_name|}}}{{{birthname|}}}{{{fullname|}}}{{{nickname|}}}{{{national_team|}}}{{{nationality|}}}{{{ethnicity|}}}{{{citizenship|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{resting_place|}}}{{{resting place|}}}{{{restingplace|}}}{{{resting_place_coordinates|}}}{{{resting place coordinates|}}}{{{restingplacecoordinates|}}}{{{monuments|}}}{{{residence|}}}{{{education|}}}{{{alma_mater|}}}{{{alma mater|}}}{{{occupation|}}}{{{years_active|}}}{{{years active|}}}{{{yearsactive|}}}{{{employer|}}}{{{agent|}}}{{{height_cm|}}}{{{height_ft|}}}{{{height_in|}}}{{{height|}}}{{{weight_kg|}}}{{{weight_lb|}}}{{{weight_st|}}}{{{weight|}}}{{{spouse|}}}{{{life_partner|}}}{{{other_interests|}}}{{{other-interests|}}}{{{website|}}}{{#Property:P1449}}{{#Property:P19}}{{#Property:P569}}{{#Property:P2048}}{{#Property:P2067}}|{{Infobox|child=yes|decat=yes | + | | header1 = {{#ifeq:{{{child|{{{embed|}}}}}}|yes||{{#if:{{{native_name|}}}{{{native_name_lang|}}}{{{birth_name|}}}{{{birthname|}}}{{{full_name|}}}{{{fullname|}}}{{{nickname|}}}{{{national_team|}}}{{{nationality|}}}{{{ethnicity|}}}{{{citizenship|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{resting_place|}}}{{{resting place|}}}{{{restingplace|}}}{{{resting_place_coordinates|}}}{{{resting place coordinates|}}}{{{restingplacecoordinates|}}}{{{monuments|}}}{{{residence|}}}{{{education|}}}{{{alma_mater|}}}{{{alma mater|}}}{{{occupation|}}}{{{years_active|}}}{{{years active|}}}{{{yearsactive|}}}{{{employer|}}}{{{agent|}}}{{{height_cm|}}}{{{height_ft|}}}{{{height_in|}}}{{{height|}}}{{{weight_kg|}}}{{{weight_lb|}}}{{{weight_st|}}}{{{weight|}}}{{{spouse|}}}{{{life_partner|}}}{{{other_interests|}}}{{{other-interests|}}}{{{website|}}}{{#Property:P1449}}{{#Property:P19}}{{#Property:P569}}{{#Property:P2048}}{{#Property:P2067}}|{{Infobox|child=yes|decat=yes |
| title = Personal information | | title = Personal information | ||
Line 19: | Line 19: | ||
| class2 = nickname | | class2 = nickname | ||
| label3 = Full name | | label3 = Full name | ||
− | | data3 = {{{fullname|}}} | + | | data3 = {{{full_name|{{{fullname|}}}}}} |
| class3 = nickname | | class3 = nickname | ||
| label4 = Nickname(s) | | label4 = Nickname(s) | ||
Line 163: | Line 163: | ||
| unknown = {{main other|[[Category:Pages using Infobox sportsperson with unknown parameters|_VALUE_{{PAGENAME}}]]}} | | unknown = {{main other|[[Category:Pages using Infobox sportsperson with unknown parameters|_VALUE_{{PAGENAME}}]]}} | ||
| preview = Page using [[Template:Infobox sportsperson]] with unknown parameter "_VALUE_" | | preview = Page using [[Template:Infobox sportsperson]] with unknown parameter "_VALUE_" | ||
− | | child | embed | headercolor | textcolor | honorific_prefix | honorific prefix | name | honorific_suffix | honorific suffix | image | image_size | imagesize | alt | caption | native_name | native_name_lang | birth_name | birthname | fullname | nickname | national_team | nationality | ethnicity | citizenship | birth_date | birth_place | death_date | death_place | resting_place | resting place | restingplace | resting_place_coordinates | resting place coordinates | restingplacecoordinates | monuments | residence | education | alma_mater | alma mater | occupation | years_active | years active | yearsactive | employer | agent | height_cm | height_ft | height_in | height | weight_kg | weight_lb | weight_st | weight | spouse | life_partner | other_interests | other-interests | website | module | misc | country | sport | position | shoots | catches | disability | disability_class | weight_class | rank | event | universityteam | collegeteam | league | club | team | turnedpro | partner | former_partner | formerpartner | coach | retired | coaching | weight_class_type | event_type | league_type | turnedpro_type | module2 | misc2 | worlds | regionals | nationals | olympics | paralympics | commonwealth | highestranking | pb | medaltemplates-title | medaltemplates | show-medals | module3 | misc3 | updated | + | | child | embed | headercolor | textcolor | honorific_prefix | honorific prefix | name | honorific_suffix | honorific suffix | image | image_size | imagesize | alt | caption | native_name | native_name_lang | birth_name | birthname | full_name | fullname | nickname | national_team | nationality | ethnicity | citizenship | birth_date | birth_place | death_date | death_place | resting_place | resting place | restingplace | resting_place_coordinates | resting place coordinates | restingplacecoordinates | monuments | residence | education | alma_mater | alma mater | occupation | years_active | years active | yearsactive | employer | agent | height_cm | height_ft | height_in | height | weight_kg | weight_lb | weight_st | weight | spouse | life_partner | other_interests | other-interests | website | module | misc | country | sport | position | shoots | catches | disability | disability_class | weight_class | rank | event | universityteam | collegeteam | league | club | team | turnedpro | partner | former_partner | formerpartner | coach | retired | coaching | weight_class_type | event_type | league_type | turnedpro_type | module2 | misc2 | worlds | regionals | nationals | olympics | paralympics | commonwealth | highestranking | pb | medaltemplates-title | medaltemplates | show-medals | module3 | misc3 | updated |
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!--PLEASE PUT CATEGORIES IN [[Template:Infobox Sportsperson/doc]].--> | <!--PLEASE PUT CATEGORIES IN [[Template:Infobox Sportsperson/doc]].--> | ||
</noinclude> | </noinclude> |
Revision as of 07:53, 2 December 2016
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). (age 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. |