Template:Person: Difference between revisions
Appearance
Add wd |
Unlinkwikibase |
||
Line 1: | Line 1: | ||
<onlyinclude>{| class="float-right wikitable infobox" style="Tabellen-Attribute" id="template-infobox-person" summary="Infobox Person" | <onlyinclude>{| class="float-right wikitable infobox" style="Tabellen-Attribute" id="template-infobox-person" summary="Infobox Person" | ||
{{#if: {{{qid|}}} | {{#unlinkedwikibase: id={{{qid}}} }} }} | |||
|- class="hintergrundfarbe6" | |- class="hintergrundfarbe6" | ||
!colspan="2"| {{#if: {{{Name|}}} | {{{Name}}} | {{#if: {{{qid|}}} | {{#invoke:WDfetch|getvalue|pid=P735}} {{#invoke:WDfetch|getvalue|pid=P734}} | {{PAGENAME}} }} }} | !colspan="2"| {{#if: {{{Name|}}} | {{{Name}}} | {{#if: {{{qid|}}} | {{#invoke:WDfetch|getvalue|pid=P735}} {{#invoke:WDfetch|getvalue|pid=P734}} | {{PAGENAME}} }} }} |
Revision as of 23:46, 22 January 2025
Person |
---|
Infobox for a person. Accepts local values or fetches from Wikidata if a QID is provided.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name of the person | Name | Override the name, otherwise fetches from Wikidata or uses the page title. | String | optional |
Birthplace of the person | Birthplace | Override the birthplace, otherwise fetches from Wikidata. | String | optional |
Birthday of the person | Birthday | Override the birthday, otherwise fetches from Wikidata. | Date | optional |
Occupation of the person | Occupation | Override the occupation, otherwise fetches from Wikidata. | String | optional |
Death date of the person | Death | Override the death date, otherwise fetches from Wikidata. | String | optional |
Wikidata QID | qid | Wikidata QID to fetch all parameters dynamically from Wikidata. | String | optional |