Template:Person: Difference between revisions
infobox doc: rows with no data are hidden |
Add wb-infobox class to the infobox table (media credits / open-link exclusion) (via update-page on MediaWiki MCP Server) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 5: | Line 5: | ||
'''Person''' — part of the [[Person:Main|people collection]]. Created via [[Special:AddPerson]]. | '''Person''' — part of the [[Person:Main|people collection]]. Created via [[Special:AddPerson]]. | ||
</blockquote> | </blockquote> | ||
{| class="wikitable" style="float:right;clear:right;width:300px;margin:0 0 1em 1em;" | {| class="wikitable wb-infobox" style="float:right;clear:right;width:300px;margin:0 0 1em 1em;" | ||
|- | |- | ||
! 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|{{#item-image:}}}}} | | colspan="2" style="text-align:center;" | {{{portrait|{{#item-image:}}}}} | ||
{{#statement-row:Date of birth|date of birth}} | {{#statement-row:Date of birth|date of birth}} | ||
{{#statement-row:Place of birth|osm-birth}} | {{#statement-row:Place of birth|osm-birth}} | ||
Latest revision as of 10:55, 21 November 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.