Template:Photo

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

Photograph

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

Multilingual tag that credits a photographer. It can be used in the source field of {{Artwork}}, or at any other relevant place.

Usage

{{photo |1= |date= }}

Example: with wikitext

{{Photo|{{U|John Doe}}}}
Photograph: John Doe

Example: with name, date

{{Photo|John Doe|date=2019-03-24}}
Photograph: John Doe, 24 March 2019

Example: without parameter

{{Photo}}
Photograph

Template parameters

ParameterDescriptionDefaultStatus
1photographer nameemptyoptional
datedate, i.e. 2019-04-30emptyoptional

Additional information

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

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

Example

{{photo|John Doe}}

renders as:

Photograph: John Doe

See also

Localization

This template is not intended to be localized.