Template:Person: Difference between revisions
Appearance
Unlinkwikibase |
Simplify |
||
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" | ||
{{#unlinkedwikibase: id={{{qid}}} }} | |||
|- class="hintergrundfarbe6" | |- class="hintergrundfarbe6" | ||
!colspan="2" | !colspan="2"| {{#invoke:WDfetch|getvalue|pid=P735}} {{#invoke:WDfetch|getvalue|pid=P734}} | ||
|- | |- | ||
{{!}} Birthplace {{!}}{{!}} {{#invoke:WDfetch|getvalue|pid=P19}} | |||
|- | |||
{{!}} Birthday {{!}}{{!}} {{#invoke:WDfetch|getvalue|pid=P569}} | |||
|- | |||
{{!}} Death {{!}}{{!}} {{#invoke:WDfetch|getvalue|pid=P570}} | |||
|- | |||
{{!}} Occupation {{!}}{{!}} {{#invoke:WDfetch|getvalue|pid=P106}} | |||
}} | |||
|}</onlyinclude> | |}</onlyinclude> | ||
<noinclude> | <noinclude> | ||
Line 29: | Line 16: | ||
{ | { | ||
"params": { | "params": { | ||
"qid": { | "qid": { | ||
"type": "string", | "type": "string", | ||
"label": "Wikidata QID", | "label": "Wikidata QID", | ||
"description": "Wikidata QID to fetch all parameters dynamically from Wikidata." | "description": "Mandatory Wikidata QID to fetch all parameters dynamically from Wikidata.", | ||
"required": true | |||
} | } | ||
}, | }, | ||
"description": "Infobox for a person. | "description": "Infobox for a person. Fetches all parameters dynamically from Wikidata based on the mandatory QID.", | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 23:57, 22 January 2025
UnlinkedWikibase error: ID '{{{qid}}}' is not in the required format of an integer prefixed with 'Q'.
UnlinkedWikibase error: ⧼unlinkedwikibase-error-statements-entity-not-set⧽ UnlinkedWikibase error: ⧼unlinkedwikibase-error-statements-entity-not-set⧽ | |
---|---|
Birthplace | UnlinkedWikibase error: ⧼unlinkedwikibase-error-statements-entity-not-set⧽ |
Birthday | UnlinkedWikibase error: ⧼unlinkedwikibase-error-statements-entity-not-set⧽ |
Death | UnlinkedWikibase error: ⧼unlinkedwikibase-error-statements-entity-not-set⧽ |
Occupation | UnlinkedWikibase error: ⧼unlinkedwikibase-error-statements-entity-not-set⧽ |
Infobox for a person. Fetches all parameters dynamically from Wikidata based on the mandatory QID.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Wikidata QID | qid | Mandatory Wikidata QID to fetch all parameters dynamically from Wikidata. | String | required |