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)
Place rows render human-readable labels via {{#osm-place:}} (Sep-2026 UX batch) (via update-page on MediaWiki MCP Server)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:


<div style="border:1px solid #c8ccd1;background:#f8f9fa;padding:0.5em 1em;margin-bottom:1em;">
<div style="border:1px solid #c8ccd1;background:#f8f9fa;padding:0.5em 1em;margin-bottom:1em;">
Line 8: Line 9:
! 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 14: Line 15:
| Date of birth || {{#statements:date of birth}}
| Date of birth || {{#statements:date of birth}}
|-
|-
| Place of birth || {{#statements:place of birth}}
| Place of birth || {{#osm-place:birth}}
|-
|-
| Date of death || {{#statements:date of death}}
| Date of death || {{#statements:date of death}}
|-
|-
| Place of death || {{#statements:place of death}}
| Place of death || {{#osm-place:death}}
|-
| Official website || {{#statements:official website}}
|-
|-
| ORCID || {{#statements:ORCID}}
| ORCID || {{#statements:ORCID}}
Line 27: Line 30:
|}
|}
<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. Place rows are rendered by <code>{{#osm-place:birth}}</code> / <code>{{#osm-place:death}}</code>: the OpenStreetMap place fact (picked from the Nominatim search combobox on [[Special:AddPerson]]) shows as its human-readable display label linked to openstreetmap.org — the label is stored next to the OSM id at creation/update ([[Special:AddPerson]] / [[Special:UpdatePerson]]), with the raw id as the fallback text. 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>

Latest revision as of 09:16, 9 September 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
Official website
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. Place rows are rendered by / : the OpenStreetMap place fact (picked from the Nominatim search combobox on Special:AddPerson) shows as its human-readable display label linked to openstreetmap.org — the label is stored next to the OSM id at creation/update (Special:AddPerson / Special:UpdatePerson), with the raw id as the fallback text. The image cell shows the item's image statement via ; the optional portrait parameter (a full File:… link) overrides it when set by hand.