Template:Person: Difference between revisions

From Wikibase
Jump to navigation Jump to search
Add the portrait infobox cell (upload-ux batch — SpecialAddPerson passes |portrait=) (via update-page on MediaWiki MCP Server)
portrait cell falls back to the item's image statement ({{#item-image:}}) (via update-page on MediaWiki MCP Server)
Line 8: Line 8:
! colspan="2" style="background:#f8f9fa;text-align:center;" | {{PAGENAME}}
! colspan="2" style="background:#f8f9fa;text-align:center;" | {{PAGENAME}}
|-
|-
| colspan="2" style="text-align:center;" | {{{portrait|}}}
| colspan="2" style="text-align:center;" | {{{portrait|{{#item-image:}}}}}
|-
|-
| Instance of || {{#statements:instance of}}
| Instance of || {{#statements:instance of}}
Line 27: Line 27:
|}
|}
<includeonly>[[Category:People]]</includeonly>
<includeonly>[[Category:People]]</includeonly>
<noinclude>This template reads its data from the item sitelinked to the page (see [[Help:Contributing/semanticDynamicContent]]). Empty statements render empty rows — not an error. Birth/death rows stay empty while the person is alive. The optional <code>portrait</code> parameter (a full <code>[[File:…]]</code> link) is set by the page skeleton when Special:AddPerson uploaded or reused a portrait; without it the row stays empty.</noinclude>
<noinclude>This template reads its data from the item sitelinked to the page (see [[Help:Contributing/semanticDynamicContent]]). Empty statements render empty rows — not an error. Birth/death rows stay empty while the person is alive. The image cell shows the item's <code>image</code> statement via <code>{{#item-image:}}</code>; the optional <code>portrait</code> parameter (a full <code>[[File:…]]</code> link) overrides it when set by hand.</noinclude>

Revision as of 14:16, 28 August 2026

Person — part of the people collection. Created via Special:AddPerson.

Person
Instance of
Date of birth
Place of birth
Date of death
Place of death
ORCID
VIAF ID
ISNI

This template reads its data from the item sitelinked to the page (see Help:Contributing/semanticDynamicContent). Empty statements render empty rows — not an error. Birth/death rows stay empty while the person is alive. The image cell shows the item's image statement via ; the optional portrait parameter (a full File:… link) overrides it when set by hand.