Jump to content

Template:Person: Difference between revisions

From Wikibase
infobox: hide empty rows ({{#statement-row:}})
infobox doc: rows with no data are hidden
Line 22: Line 22:
|}
|}
<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. 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>
<noinclude>This template reads its data from the item sitelinked to the page (see [[Help:Contributing/semanticDynamicContent]]). Rows with no data are hidden (<code>{{#statement-row:}}</code>). 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>

Revision as of 14:24, 5 October 2026


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

Person






This template reads its data from the item sitelinked to the page (see Help:Contributing/semanticDynamicContent). Rows with no data are hidden (). 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.