Template:File license/doc: Difference between revisions
Created page with "'''{{tlx|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...." |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 91: | Line 91: | ||
"description": "The copyright year, when applicable.", | "description": "The copyright year, when applicable.", | ||
"example": "2025", | "example": "2025", | ||
"type": "number" | "type": "number" | ||
}, | }, | ||
"intent": { | "intent": { | ||
Line 159: | Line 158: | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"FoP", | "FoP", | ||
"fair dealing", | |||
"permission", | "permission", | ||
"CC BY 4.0", | "CC BY 4.0", | ||
Line 202: | Line 201: | ||
"description": "A second license that the file is available under. Further additional licenses can be added in this way indefinitely.", | "description": "A second license that the file is available under. Further additional licenses can be added in this way indefinitely.", | ||
"type": "line", | "type": "line", | ||
"suggestedvalues": [ | |||
"fair dealing", | |||
"permission", | "permission", | ||
"FoP", | "FoP", | ||
Line 236: | Line 235: | ||
"PD-USGov-NASA" | "PD-USGov-NASA" | ||
] | ] | ||
}, | |||
"category": { | |||
"label": "Category", | |||
"description": "A subcategory of [[Category:Files]] to place this file in. Defaults to \"Files\".", | |||
"example": "Zeeman Building images", | |||
"type": "line", | |||
"default": "Files", | |||
"suggested": true | |||
} | } | ||
}, | }, | ||
"description": "Used to provide copyright and licensing information on file pages.", | "description": "Used to provide copyright and licensing information on file pages.", | ||
"format": " | "format": "inline", | ||
"paramOrder": [ | "paramOrder": [ | ||
"license", | "license", | ||
Line 249: | Line 256: | ||
"intent", | "intent", | ||
"source", | "source", | ||
"subject", | |||
"subject license", | "subject license", | ||
"attribution", | "attribution", | ||
"attribution format", | "attribution format", | ||
Line 257: | Line 264: | ||
"tentative", | "tentative", | ||
"extra", | "extra", | ||
"license2" | "license2", | ||
"category" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
<includeonly>[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | <includeonly>[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 19:31, 10 August 2025
{{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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
license | license | The license (or other legal situation that the file is being used on the wiki under) that the file is available under.
| Line | required |
own work? | own work | Set this to any value if the file is your own work, e.g. something that you created yourself.
| Line | suggested |
copyright holder | copyright 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").
| Content | suggested |
copyright holder display text | copyright holder display | The display text to use for the link to the copyright holder when "copyright holder" is an internal | Line | optional |
copyright year | copyright year | The copyright year, when applicable.
| Number | optional |
type of file | type 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.
| Line | suggested |
intent of file | intent | The intent of uploading and using this file on this wiki. This is particuarly suggested for fair dealing files.
| Content | suggested |
source | source | The source of the file. | Content | suggested |
subject | subject | The subject of the file, particuarly images.
| Content | suggested |
subject license | subject 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.
| Line | suggested |
attribution | attribution | The person or entity that this file should be attributed to, if different from the copyright holder. | Line | optional |
attribution format | attribution format | The format that attribution must be given in, if applicable. | Content | optional |
trademark owner | trademark owner | The owner of any trademarks that appear in this file.
| Content | optional |
trademark usage details | trademark usage | Details about the usage of any trademarks that are included in this file.
| Content | optional |
tentative? | tentative | Set this to any value to use more tentative language in the license.
| Line | optional |
extra text | extra | Any extra text to include at the bottom of the license box. | Content | optional |
license 2 | license2 | A second license that the file is available under. Further additional licenses can be added in this way indefinitely.
| Line | optional |
Category | category | A subcategory of [[Category:Files]] to place this file in. Defaults to "Files".
| Line | suggested |