Difference between revisions of "Template:Infobox officeholder/Wikidata"
Jump to navigation
Jump to search
imported>Belamp |
imported>Belamp |
||
| Line 3: | Line 3: | ||
</noinclude>{{Infobox officeholder | </noinclude>{{Infobox officeholder | ||
| embed = {{{embed|}}} | | embed = {{{embed|}}} | ||
| − | {{#ifeq:{{{embed|}}}|yes|| | + | {{#ifeq:{{lc:{{{embed|}}}}}|yes|| |
| − | + | {{!}} image = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:Wikidata|getValue|P18|{{{image|FETCH_WIKIDATA}}}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}} | |
| − | + | {{!}} caption = {{{image caption|{{{caption|{{{image_caption|{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA}}}}}}}}}}} | |
| − | + | {{!}} birth_place = {{#invoke:WikidataIB |getValue |P19 |name=birth_place |fetchwikidata={{{fetchwikidata|}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |qid={{{qid|}}} | {{{birth_place|}}} }} | |
| − | + | {{!}} death_place = {{#invoke:WikidataIB |getValue |P20 |name=death_place |fetchwikidata={{{fetchwikidata|}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |qid={{{qid|}}} | {{{death_place|}}} }} | |
| − | + | {{!}} father = {{#invoke:WikidataIB |getValue |P22 |name=father |fetchwikidata={{{fetchwikidata|}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |qid={{{qid|}}} |{{{father|}}} }} | |
| − | + | {{!}} mother = {{#invoke:WikidataIB |getValue |P25 |name=mother |fetchwikidata={{{fetchwikidata|}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |qid={{{qid|}}} |{{{mother|}}} }} | |
| − | + | {{!}} children = {{#invoke:WikidataIB |getValue |P40 |name=children |fetchwikidata={{{fetchwikidata|}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |qid={{{qid|}}} |{{{children|}}} }} | |
| − | + | {{!}} siblings = {{#invoke:WikidataIB |getValue |P3373 |name=siblings |fetchwikidata={{{fetchwikidata|}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |qid={{{qid|}}} |{{{siblings|}}} }} | |
| − | + | {{!}} spouse = {{#invoke:WikidataIB |getValue |P26 |name=spouse |fetchwikidata={{{fetchwikidata|}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |qid={{{qid|}}} |{{{spouse|}}} }} | |
| − | + | {{!}} weapon = {{#invoke:WikidataIB |getValue |P520 |name=weapon |fetchwikidata={{{fetchwikidata|}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |qid={{{qid|}}} |{{{weapon|}}} }} | |
| − | + | {{!}} education = {{#invoke:WikidataIB |getValue |P69 |name=education |fetchwikidata={{{fetchwikidata|}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|}}} |noicon={{{noicon|}}} |qid={{{qid|}}} |{{{education|}}} }} | |
| − | + | {{!}} website = {{#invoke:WikidataIB |getValue |P856 |name=website |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=no |noicon={{{noicon|}}} |qid={{{qid|}}} |{{{website|}}} }} | |
}} | }} | ||
}}<noinclude>{{Documentation}}</noinclude> | }}<noinclude>{{Documentation}}</noinclude> | ||
Revision as of 14:41, 13 November 2019
| This template's documentation is missing, inadequate, or does not accurately describe its functionality and/or the parameters in its code. Please help to expand and improve it. (September 2017) |
| The above documentation is transcluded from Template:Infobox officeholder/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. |