Template:File license/doc

From Warwick Wiki

{{File license}} is a template for providing copyright and licensing information on file pages, as files are licensed separately from text on this wiki. Most of the time, you will be able to select on the pre-filled licenses when uploading a file. If you need to then alter that inserted license, you can edit the page after uploading and modify the template to meet your needs. A full list of parameters are provided as part of the TemplateData. Additional licenses (and other legal situations files can be used under) can be specified on Module:File license/data/licenses. The code for this template is on Module:File license.

TemplateData

Used to provide copyright and licensing information on file pages.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
licenselicense

The license (or other legal situation that the file is being used on the wiki under) that the file is available under.

Suggested values
fair dealing permission FoP CC BY 4.0 CC BY-SA 4.0 CC BY-NC-SA 4.0 CC BY-ND 4.0 CC BY-NC-ND 4.0 CC BY 3.0 CC BY-SA 3.0 CC BY-NC 3.0 CC BY-NC-SA 3.0 CC BY-ND 3.0 CC BY-NC-ND 3.0 CC BY 2.0 CC BY-SA 2.0 CC BY-NC-ND 2.0 CC0 1.0 FAL FAL 1.3 FAL 1.2 FAL 1.1 OGL 1 OGL 2 OGL 3 PD-self PD-ineligible PD-animal PD-expired PD-UKGov PD-USGov PD-USGov-NASA
Default
fair dealing
Example
CC BY-SA 4.0
Linerequired
own work?own work

Set this to any value if the file is your own work, e.g. something that you created yourself.

Suggested values
1
Linesuggested
copyright holdercopyright holder

The copyright holder of the file, given in freeform wikitetx (or simply as a page name when used in conjunction with "copyright holder display text").

Suggested values
the [[University of Warwick]] [[Warwick SU]]
Example
the [[University of Warwick]]
Contentsuggested
copyright holder display textcopyright holder display

The display text to use for the link to the copyright holder when "copyright holder" is an internal

Lineoptional
copyright yearcopyright year

The copyright year, when applicable.

Example
2025
Numberoptional
type of filetype of file

The type of file, be it an image (or, more specifically, a photo, drawing, 3D render, etc.), audio, a video or even a document or font.

Suggested values
image photo drawing icon logo audio recording video
Default
image
Example
photo
Linesuggested
intent of fileintent

The intent of uploading and using this file on this wiki. This is particuarly suggested for fair dealing files.

Default
to illustrate articles
Example
to illustrate the article [[Zeeman Building]]
Contentsuggested
sourcesource

The source of the file.

Contentsuggested
subjectsubject

The subject of the file, particuarly images.

Example
the [[Faculty of Arts Building]]
Contentsuggested
subject licensesubject license

The license that the file's subject is available under. "FoP" (Freedom of Panorama) will be a common choice here when the subject is a building.

Suggested values
FoP fair dealing permission CC BY 4.0 CC BY-SA 4.0 CC BY-NC-SA 4.0 CC BY-ND 4.0 CC BY-NC-ND 4.0 CC BY 3.0 CC BY-SA 3.0 CC BY-NC 3.0 CC BY-NC-SA 3.0 CC BY-ND 3.0 CC BY-NC-ND 3.0 CC BY 2.0 CC BY-SA 2.0 CC BY-NC-ND 2.0 CC0 1.0 FAL FAL 1.3 FAL 1.2 FAL 1.1 OGL 1 OGL 2 OGL 3 PD-self PD-ineligible PD-animal PD-expired PD-UKGov PD-USGov PD-USGov-NASA
Example
FoP
Linesuggested
attributionattribution

The person or entity that this file should be attributed to, if different from the copyright holder.

Lineoptional
attribution formatattribution format

The format that attribution must be given in, if applicable.

Contentoptional
trademark ownertrademark owner

The owner of any trademarks that appear in this file.

Suggested values
the [[University of Warwick]] [[Warwick SU]]
Example
the [[University of Warwick]]
Contentoptional
trademark usage detailstrademark usage

Details about the usage of any trademarks that are included in this file.

Default
Its use here is believed not to be [[wikipedia:trademark infringement|trademark infringement]].
Contentoptional
tentative?tentative

Set this to any value to use more tentative language in the license.

Suggested values
1
Lineoptional
extra textextra

Any extra text to include at the bottom of the license box.

Contentoptional
license 2license2

A second license that the file is available under. Further additional licenses can be added in this way indefinitely.

Suggested values
fair dealing permission FoP CC BY 4.0 CC BY-SA 4.0 CC BY-NC-SA 4.0 CC BY-ND 4.0 CC BY-NC-ND 4.0 CC BY 3.0 CC BY-SA 3.0 CC BY-NC 3.0 CC BY-NC-SA 3.0 CC BY-ND 3.0 CC BY-NC-ND 3.0 CC BY 2.0 CC BY-SA 2.0 CC BY-NC-ND 2.0 CC0 1.0 FAL FAL 1.3 FAL 1.2 FAL 1.1 OGL 1 OGL 2 OGL 3 PD-self PD-ineligible PD-animal PD-expired PD-UKGov PD-USGov PD-USGov-NASA
Lineoptional
Categorycategory

A subcategory of [[Category:Files]] to place this file in. Defaults to "Files".

Default
Files
Example
Zeeman Building images
Linesuggested