Template:Object photo

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
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

objectname of the category with the object descriptionemptyrequired
detailWrite "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}}. {{Different views of the same specimen}} might be useful here as well.emptyoptional
detail positionPosition 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.
descriptionany relevant additional information about the photographemptyoptional
sourcesource of the photograph (when you took the photo simply write {{Own}})emptyrequired
authorname of the photographeremptyrequired
permissionOTRS ticket or any other special permission granted to use the image. The license tag may also appear here.emptyoptional
datedate of the photograph (if known)emptyoptional
other_versionslinks 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.
other_fieldsAdditional 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.emptyoptional

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}}.