Template:Person: Difference between revisions
Appearance
add to template |
Simplify |
||
(2 intermediate revisions by the same user not shown) | |||
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" | ||
|- class="hintergrundfarbe6 | {{#unlinkedwikibase: id={{{qid}}} }} | ||
!colspan="2"| {{# | |- class="hintergrundfarbe6" | ||
!colspan="2"| {{#invoke:WDfetch|getvalue|pid=P735}} {{#invoke:WDfetch|getvalue|pid=P734}} | |||
{{# | |- | ||
{{!}} Birthplace {{!}}{{!}} | {{!}} Birthplace {{!}}{{!}} {{#invoke:WDfetch|getvalue|pid=P19}} | ||
|- | |||
{{!}} Birthday {{!}}{{!}} {{#invoke:WDfetch|getvalue|pid=P569}} | |||
{{# | |- | ||
{{!}} Birthday {{!}}{{!}} | {{!}} Death {{!}}{{!}} {{#invoke:WDfetch|getvalue|pid=P570}} | ||
|- | |||
{{!}} Occupation {{!}}{{!}} {{#invoke:WDfetch|getvalue|pid=P106}} | |||
{{# | |||
{{!}} Death {{!}}{{!}} | |||
{{# | |||
{{!}} Occupation {{!}}{{!}} {{ | |||
}} | |||
|}</onlyinclude> | |}</onlyinclude> | ||
<noinclude> | <noinclude> | ||
Line 24: | Line 16: | ||
{ | { | ||
"params": { | "params": { | ||
" | "qid": { | ||
"type": "string", | |||
"type": "string" | "label": "Wikidata QID", | ||
"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 |