Difference between revisions of "Template:Infobox sportsperson/Wikidata"
Jump to navigation
Jump to search
imported>Mike Peel (code upgrade) |
imported>WOSlinker (remove params no longer in Infobox sportsperson) |
||
Line 10: | Line 10: | ||
| caption = {{#if:{{{image|}}}|{{{caption|}}}|{{#invoke:Wikidata|getImageLegend|{{{caption|FETCH_WIKIDATA}}}}}}} | | caption = {{#if:{{{image|}}}|{{{caption|}}}|{{#invoke:Wikidata|getImageLegend|{{{caption|FETCH_WIKIDATA}}}}}}} | ||
− | | header1 = {{#ifeq:{{{child|{{{embed|}}}}}}|yes||{{#if:{{{native_name|}}}{{{native_name_lang|}}}{{{birth_name|}}}{{{birthname|}}}{{{full_name|}}}{{{fullname|}}}{{{nickname|}}}{{{national_team|}}}{{{nationality | + | | header1 = {{#ifeq:{{{child|{{{embed|}}}}}}|yes||{{#if:{{{native_name|}}}{{{native_name_lang|}}}{{{birth_name|}}}{{{birthname|}}}{{{full_name|}}}{{{fullname|}}}{{{nickname|}}}{{{national_team|}}}{{{nationality|}}}{{{citizenship|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{resting_place|}}}{{{resting place|}}}{{{restingplace|}}}{{{resting_place_coordinates|}}}{{{resting place coordinates|}}}{{{restingplacecoordinates|}}}{{{monuments|}}}{{{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 27: | Line 27: | ||
| data5 = {{#if:{{{national_team|}}}|{{{national_team}}}|{{{nationality|}}}}} | | data5 = {{#if:{{{national_team|}}}|{{{national_team}}}|{{{nationality|}}}}} | ||
| class5 = category | | class5 = category | ||
− | |||
− | |||
− | |||
| label7 = Citizenship | | label7 = Citizenship | ||
| data7 = {{#invoke:WikidataIB | getValue | rank=best |P27 |name=citizenship |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |noicon={{{noicon|}}} |{{{citizenship|}}} }} | | data7 = {{#invoke:WikidataIB | getValue | rank=best |P27 |name=citizenship |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |noicon={{{noicon|}}} |{{{citizenship|}}} }} | ||
Line 49: | Line 46: | ||
| label11 = Monuments | | label11 = Monuments | ||
| data11 = {{{monuments|}}} | | data11 = {{{monuments|}}} | ||
− | |||
− | |||
| label13 = Education | | label13 = Education | ||
| data13 = {{{education|}}} | | data13 = {{{education|}}} | ||
Line 171: | Line 166: | ||
| 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 | full_name | fullname | nickname | national_team | nationality | + | | 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 | citizenship | birth_date | birth_place | death_date | death_place | resting_place | resting place | restingplace | resting_place_coordinates | resting place coordinates | restingplacecoordinates | monuments | 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 | fetchwikidata |
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!--PLEASE PUT CATEGORIES IN [[Template:Infobox Sportsperson/doc]].--> | <!--PLEASE PUT CATEGORIES IN [[Template:Infobox Sportsperson/doc]].--> | ||
</noinclude> | </noinclude> |
Latest revision as of 15:17, 25 October 2020
Personal information | |
---|---|
Website | Script error: No such module "If empty". |
Sport |
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. |