Template:Person in image

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

depicted person: ?

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Person in image/doc.

The template is to be used in ImageAnnotator boxes or in the image descriptions, and provides basic information about the depicted person: name of the person + link to the person's gallery, age, sex.

WARNING: the information can be personally identifiable information, so do not add it to depictions of ordinary alive or recently deceased people for whom it is not public (consider, e.g. if the Wikipedia articles about the person contain the information permanently).

Usage

{{Person in image
 |name =
 |gallery =
 |age =
 |sex =
}}

Template parameters

ParameterDescriptionDefaultStatus
namePerson's name?required
galleryLink to a gallery related to this personemptyoptional
agePerson's age at the time the media file was createdemptyoptional
sexPerson's sexemptyoptional

Additional information

The template is intended to be used in the following namespaces: the File namespace

The template is intended to be used by the following user groups: all users

Placement:

image annotations

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)

Examples

  • {{Person in image|name={{langS|sr|Bojan Krkić}}|gallery=|age={{#expr:({{Age in days|1990|08|28|2008|3|7}}/365.2425) round 3}}|sex=}}depicted person: Bojan Krkić (age: 17.525)
  • {{Person in image|name=|gallery=|age={{#expr:({{Age in days|19|||20||}}/365.2425) round 3}}|sex=}}