Template:Object photo

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

This documentation is transcluded from Template:Object photo/doc.

Template that calls an object description and displays it along with an information template providing information about the photo itself.
Note: information about the object itself should be added directly in the category.


{{Object photo
 |object =
 |detail =
 |description =
 |source =
 |author =
 |permission =
 |date =

Template parameters

Parameter Description Default Status
object name of the category with the object description empty required
detail Write "yes" if you want a message "this is a detail" to be displayed before the description. You can also explain what is shown in the detail, it will both display the message and explain what detail it is in the "information" template filling {{detail}}. empty optional
detail position Position of the detail on the object. The parameter fills the "position" parameter of {{detail}} which for his part fills {{position parameter}}.
Unlike the "detail" parameter, this parameter has no influence on the "this is a detail" message.
empty optional
description any relevant additional information about the photograph empty optional
source source of the photograph (when you took the photo simply write {{own}}) empty required
author name of the photographer empty required
permission OTRS ticket or any other special permission granted to use the image. The license tag may also appear here. empty optional
date date of the photograph (if known) empty optional
other_versions links to files with very similar content or derived files; use thumbnails or Gallery tags <gallery> </gallery>.
{{F}} enables to show also small icons of these files.
empty optional
other_fields Additional table fields added on the bottom of the {{Information}} template. You have to use {{Information field}} or similar template ({{Credit line}}, ...) to populate this field. empty optional

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: At the top of the page

Relies on:
Calls {{Information}} and {{Section header}}; depending on the usage it may also call {{detail}} and {{position parameter}}. Interacts with {{Category definition: Object}}.


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)

Internationalization of {{Information}} and {{Section header}} is done by translatewiki.net and {{LangSwitch}}.