Template:Infobox person/Wikidata and Template:Infobox person/Wikidata/sandbox: Difference between pages
(Difference between pages)
m (1 revision imported) |
m (1 revision imported) |
||
| Line 3: | Line 3: | ||
| above = {{Br separated entries | | above = {{Br separated entries | ||
| 1 = {{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span>}} | |||
| 2 = <span class="fn">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</span> | |||
| 3 = {{#if:{{{honorific suffix|{{{honorific_suffix | | 3 = {{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}} | ||
}} | }} | ||
| abovestyle = | | abovestyle = {{{abovestyle|}}} | ||
| image = {{#invoke:InfoboxImage |InfoboxImage |image={{#invoke:WikidataIB | getValue | rank=best |P18 |name=image |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced=no |noicon=yes | maxvals=1 |{{{image|}}}}} |size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}} |sizedefault=frameless |upright={{{image_upright|1}}} |alt={{{alt|}}} |suppressplaceholder=yes}} | | image = {{#invoke:InfoboxImage |InfoboxImage |image={{#invoke:WikidataIB | getValue | rank=best |P18 |name=image |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced=no |noicon=yes | maxvals=1 |{{{image|}}}}} |size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}} |sizedefault=frameless |upright={{{image_upright|1}}} |alt={{{alt|}}} |suppressplaceholder=yes}} | ||
| Line 24: | Line 24: | ||
| data10 = {{br separated entries | | data10 = {{br separated entries | ||
|1={{#invoke:WikidataIB | getValue | rank=best |P1477 |name=birth_name |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |noicon={{{noicon|}}}|{{{birth_name|}}}}} | |1={{#invoke:WikidataIB | getValue | rank=best |P1477 |name=birth_name |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |noicon={{{noicon|}}}|{{{birth_name|}}}}} | ||
|2={{#if:{{{birth_date|}}}|{{{birth_date|}}}|{{#invoke:WikidataIB | getValue | rank=best |P569 |name=birth_date |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |noicon={{{noicon|}}}|{{{birth_date|}}} |df={{{dateformat|dmy}}} }} {{#if:{{{birth_date|}}}||{{#if:{{#invoke:WikidataIB | getValue | rank=best |P570 |name=death_date |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |noicon={{{noicon|}}} |{{{death_date|}}} | df={{{dateformat|dmy}}} }}|| {{#if:{{#invoke:WikidataIB | getValue | rank=best |P569 |name=death_date |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |noicon={{{noicon|}}} |{{{death_date|}}} | df={{{dateformat|dmy}}} }}|{{#ifexpr:{{#invoke:WikidataIB|getDatePrecision|P569| | |2={{#if:{{{birth_date|}}}|{{{birth_date|}}}|{{#invoke:WikidataIB | getValue | rank=best |P569 |name=birth_date |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |noicon={{{noicon|}}}|{{{birth_date|}}} |df={{{dateformat|dmy}}} }} {{#if:{{{birth_date|}}}||{{#if:{{#invoke:WikidataIB | getValue | rank=best |P570 |name=death_date |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |noicon={{{noicon|}}} |{{{death_date|}}} | df={{{dateformat|dmy}}} }}|| {{#if:{{#invoke:WikidataIB | getValue | rank=best |P569 |name=death_date |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |noicon={{{noicon|}}} |{{{death_date|}}} | df={{{dateformat|dmy}}} }}|{{#ifexpr:{{#invoke:WikidataIB|getDatePrecision|P569|{{{qid|}}}}}>8|(age {{#expr: trunc ({{#time: Y.md}}-{{#time: Y.md|{{#titleparts:{{wikidata|property|raw|{{{qid|}}}|P569}}|1}}}})}})}}}}}}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P569}} }} }} }} | ||
|3={{if then show |1={{#invoke:WikidataIB | getValue | rank=best |P19 |qual=P17 |name=birth_place |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |noicon={{{noicon|}}} | {{{birth_place|}}} }} |2=|3=<span class="birthplace"> |4=</span>}} | |3={{if then show |1={{#invoke:WikidataIB | getValue | rank=best |P19 |qual=P17 |name=birth_place |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |noicon={{{noicon|}}} | {{{birth_place|}}} }} |2=|3=<span class="birthplace"> |4=</span>}} | ||
}} | }} | ||
| Line 54: | Line 54: | ||
| data18 = {{#invoke:WikidataIB | getValue | rank=best |P0 |name=monuments |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |{{{monuments|}}} }} | | data18 = {{#invoke:WikidataIB | getValue | rank=best |P0 |name=monuments |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |{{{monuments|}}} }} | ||
| label19 = Residence | |||
| data19 = {{#invoke:WikidataIB | getValue | rank=best |P0 |name=residence |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |{{{residence|}}} }} | |||
| class19 = {{#if:{{{death_date|}}}{{{death_place|}}}||label}} | |||
| label20 = Nationality | | label20 = Nationality | ||
| Line 60: | Line 63: | ||
| label21 = Other names | | label21 = Other names | ||
| data21 = {{#invoke:WikidataIB | getValue | rank=best | | | data21 = {{#invoke:WikidataIB | getValue | rank=best |P0 |name=othername |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |{{{other names|{{{other_names|{{{othername|{{{alias|}}}}}}}}}}}} }} | ||
| class21 = nickname | | class21 = nickname | ||
| Line 168: | Line 171: | ||
| label57 = Partner(s) | | label57 = Partner(s) | ||
| data57 = {{#invoke:WikidataIB | getValue | rank=best | | | data57 = {{#invoke:WikidataIB | getValue | rank=best |P0 |name=partner |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |{{{partner|{{{domesticpartner|{{{domestic_partner|}}}}}}}}} }} | ||
| label58 = Children | | label58 = Children | ||
| Line 198: | Line 201: | ||
| label77 = Position held | | label77 = Position held | ||
| data77 = {{#invoke:WikidataIB | getValue | rank=best |P39 |name=position |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |qual=P642,P580,P582 |{{{position_held|}}} }} | | data77 = {{#invoke:WikidataIB | getValue | rank=best |P39 |name=position held |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |qual=P642,P580,P582 |{{{position_held|}}} }} | ||
| class77 = category | | class77 = category | ||
| Line 218: | Line 221: | ||
| header73 = {{#if:{{#invoke:WikidataIB | getValue | rank=best |P109 |name=signature |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced=no |noicon=yes|{{{signature|}}}}}|Signature}} | | header73 = {{#if:{{#invoke:WikidataIB | getValue | rank=best |P109 |name=signature |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced=no |noicon=yes|{{{signature|}}}}}|Signature}} | ||
| data74 = {{#invoke:InfoboxImage |InfoboxImage |image={{#invoke:WikidataIB | getValue | rank=best |P109 |name=signature |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced=no |noicon=yes |{{{signature|}}}}} |size={{{signature_size|}}} |sizedefault=150px |alt={{{signature alt|{{{signature_alt|}}}}}}}} | | data74 = {{#invoke:InfoboxImage |InfoboxImage |image={{#invoke:WikidataIB | getValue | rank=best |P109 |name=signature |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|no}}} |noicon=yes |{{{signature|}}}}} |size={{{signature_size|}}} |sizedefault=150px |alt={{{signature alt|{{{signature_alt|}}}}}}}} | ||
| header75 = {{#if:{{{footnotes|}}}|Notes}} | | header75 = {{#if:{{{footnotes|}}}|Notes}} | ||
| Line 224: | Line 227: | ||
{{{footnotes}}}</div>}} | {{{footnotes}}}</div>}} | ||
| below = {{ | | below = {{EditOnWikidata|noicon={{{noicon|false}}}}} | ||
}}<!-- | }}<!-- | ||
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox person with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview = Page using [[Template:Infobox person]] with unknown parameter "_VALUE_"|ignoreblank=y | -->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox person with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview = Page using [[Template:Infobox person]] with unknown parameter "_VALUE_"|ignoreblank=y | ||
|qid |suppressfields |fetchwikidata |onlysourced |noicon | abovestyle | agent | alias | alma mater | alma_mater | alt | awards | baptised | birth_date | birth_name | birth_place | birthname | boards | body discovered | body_discovered | burial_coordinates | burial_place | callsign | caption | child | children | citizenship | credits | criminal charge | criminal penalty | criminal status | criminal_charge | criminal_penalty | criminal_status | dateformat | death cause | death_cause | death_date | death_place | denomination | disappeared_date | disappeared_place | disappeared_status | domestic_partner | domesticpartner | education | employer | era | ethnicity | family | father | footnotes | height | height_cm | height_ft | height_in | height_m | home town | home_town | homepage | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | honors | honours | image | image caption | image size | image_caption | image_size | image_upright | imagesize | judicial status | judicial_status | known | known for | known_for | list | misc | misc2 | misc3 | misc4 | misc5 | misc6 | module | module2 | module3 | module4 | module5 | module6 | monuments | mother | movement | name | nationality | native_name | native_name_lang | net worth | net_worth | networth | notable works | notable_works | occupation | opponents | organisation | organization | organizations | other names | other_names | othername | parents | partner | party | position_held | predecessor | pronunciation | refs | relations | relatives | religion | | |qid |suppressfields |fetchwikidata |onlysourced |noicon | abovestyle | agent | alias | alma mater | alma_mater | alt | awards | baptised | birth_date | birth_name | birth_place | birthname | boards | body discovered | body_discovered | burial_coordinates | burial_place | callsign | caption | child | children | citizenship | credits | criminal charge | criminal penalty | criminal status | criminal_charge | criminal_penalty | criminal_status | dateformat | death cause | death_cause | death_date | death_place | denomination | disappeared_date | disappeared_place | disappeared_status | domestic_partner | domesticpartner | education | employer | era | ethnicity | family | father | footnotes | height | height_cm | height_ft | height_in | height_m | home town | home_town | homepage | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | honors | honours | image | image caption | image size | image_caption | image_size | image_upright | imagesize | judicial status | judicial_status | known | known for | known_for | list | misc | misc2 | misc3 | misc4 | misc5 | misc6 | module | module2 | module3 | module4 | module5 | module6 | monuments | mother | movement | name | nationality | native_name | native_name_lang | net worth | net_worth | networth | notable works | notable_works | occupation | opponents | organisation | organization | organizations | other names | other_names | othername | parents | partner | party | position_held | predecessor | pronunciation | refs | relations | relatives | religion | residence | resting place | resting place coordinates | resting_place | resting_place_coordinates | restingplace | restingplacecoordinates | salary | signature | signature alt | signature_alt | signature_size | spouse | status | style | successor | television | term | title | URL | website | weight | weight_kg | weight_lb | weight_st | works | years active | years_active | yearsactive | noble_title | military_rank | military_branch }}<!-- | ||
-->{{Main other| | -->{{Main other| | ||
{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}|[[Category:Infobox person using numbered parameter]]}}<!-- | {{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}|[[Category:Infobox person using numbered parameter]]}}<!-- | ||