Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Photo: Difference between revisions

Template page
Content deleted Content added
template created
 
m add map zoom parameter
Line 12: Line 12:
|service = leaflet
|service = leaflet
|static = no <!--yes or no-->
|static = no <!--yes or no-->
|zoom = 15
|zoom = {{{zoom}}}
|fullscreen = yes <!--yes or no-->
|fullscreen = yes <!--yes or no-->
|scrollwheel = no <!--yes or no-->
|scrollwheel = no <!--yes or no-->

Revision as of 11:06, 10 March 2023

[[File:{{{image}}}|center|{{{image-size}}}px|{{{image-alt}}}]]
{{{image-caption}}}
{{{drop-cap}}}
{{{text}}}
Loading map...
The coordinates below are specific to the camera's location – not the location of the subject.
Author {{{Author}}}
Date taken {{{date-taken}}}
Camera {{{camera}}}
Place name {{{place-name}}}
Decimal degrees {{{latitude}}} / {{{longitude}}}
OS grid reference {{{os-grid}}}
what3words {{{w3w}}}
Elevation {{{elevation}}}
View direction {{{view-direction}}}
File size {{{file-size}}}
Dimensions {{{dimensions}}}
Licence {{{licence}}}
{{{licence-addendum-1}}}
{{{licence-addendum-2}}}
{{{licence-addendum-3}}}
Template documentation

Usage

This template is intended for use as a way to show a single photo and provide a basic set of details, including the author, date taken, coordinates and licence etc. It also provides a space to write about the photo in greater detail. It is designed to be a showcase for photos that best portray a particular subject.

Its function is similar to that of a file page but without the additional information such as file history, file usage and metadata, which can make a page look clunky.

Copy and paste the syntax below into your page and fill out the parameters as necessary.

{{Photo
 |image             = <!-- file name without [[File: ]] -->
 |title             = 
 |sub title         =
 |description       = <!-- a brief description of the image -->
 |author            =
 |date taken        =
 |camera            =
 |view direction    = <!-- compass point templates {{N}} {{SE}} etc -->
 |latitude          = <!-- decimal degrees for both -->
 |longitude         =
 |zoom              = <!-- map zoom level - about 15 is good -->
 |os grid           = <!-- Ordnance Survey National Grid reference -->
 |w3w               = <!-- the what3words address -->
 |file size         = <!-- file size details from uploaded image page -->
 |licence           = <!-- must be included as a link -->
}}

View direction uses a predefined set of compass arrows to give an approximate direction of view. Use this table of compass direction points to get the template syntax for each of the 16 compass points.

The included licence parameter is mandatory and should be included as a link, not a transcluded licence template.

This template would benefit from including the following addendum templates – these are currently for CC-BY-SA-4.0:

They provide a visual aid via icons and text as to what is included with the chosen licence for the photo.

The above documentation is transcluded from Template:Photo/doc.


Contents
Cookies help us deliver our services. By using our services, you agree to our use of cookies.