Commons:Templates
Templates are used to add recurring messages to pages in a consistent way, to create navigational boxes, and to provide cross-language portability of texts. The content of a template can be added to a page by typing {{templatename}}. The “Template:” prefix doesn't need to be included. The first character (only) is not case-sensitive, so {{delete}} and {{Delete}} are the same.
In the gallery namespace (also referred to as mainspace, the main namespace, or the article namespace in Wikipedia), templates exist only to help readers. These can include navigation aids and warnings that content is sub-standard. Templates that provide information only of service to editors belong on a gallery’s talk page.
If you wish to experiment with templates, you may do so in the Sandbox.
- Related pages for specific types of templates
- Commons:Templates for galleries – language codes, meant to visually improve the gallery (article) pages.
- Commons:Image copyright tags and Commons:Image copyright tags visual.
- Commons:Babel – language levels for user pages.
- Commons:Message templates – messages for other users’ talk pages.
- Commons:Link templates – link-creating templates.
- Commons:Created with … templates – for marking files indicating the software used.
- For renaming or moving templates see Commons:Rename a template.
Category pages[edit]
Tag | Text that will be shown (and usage notes) | |||||
---|---|---|---|---|---|---|
{{CatAZ}} |
| |||||
{{ImageTOC}} |
|
|||||
{{CategoryTOC}} |
|
|||||
{{Category for discussion|ABC}} | ||||||
{{Move|ABC|…}} |
{{{2}}} | |||||
{{Categorise}} |
|
|||||
{{CatDiffuse}} |
|
|||||
{{Category redirect|ABC}} |
| |||||
{{CatDevelop}} |
|
|||||
{{CatDispute}} |
Deletion[edit]
Tag | Text that will be shown (and usage notes) | ||||
---|---|---|---|---|---|
{{Speedydelete|Reason}} |
| ||||
{{Delete|Reason}} |
| ||||
The text below is generated by a template which has been proposed for deletion. Please see its entry on Commons:Deletion requests/ for comments and reasoning.
| |||||
{{No source since}} |
| ||||
{{No license since}} |
| ||||
|
File description pages[edit]

Information[edit]
Tag | Text that will be shown (and usage notes) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Information}} |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Artwork}} |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Book}} |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Creator}} |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Institution}} |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Permissions and restrictions[edit]
Tag | Text that will be shown (and usage notes) | ||
---|---|---|---|
{{PermissionOTRS}} |
|
||
{{Consent}} |
| ||
| |||
{{FOP}} |
|
Assessments[edit]
Tag | Text that will be shown (and usage notes) | ||
---|---|---|---|
{{Quality image}} |
| ||
{{Valued image}} |
| ||
{{Picture of the day}} |
to get:
|
Related files[edit]
Tag | Text that will be shown (and usage notes) | ||||
---|---|---|---|---|---|
{{Superseded|Å.svg}} |
| ||||
{{NowSVG|Example}}
|
When superior it can be told with the quality parameter, and mentioned with reason (like above)
When inferior this can be specified with quality=inferior and the reason, e.g.
|
Miscellaneous[edit]
Tag | Text that will be shown (and usage notes) | |||
---|---|---|---|---|
{{Scriptuse}} |
|
|||
| Category:Translation possible |
Maintenance[edit]
Digital editing required[edit]
Tag | Text that will be shown (and usage notes) | Category to find tagged pages | ||||||
---|---|---|---|---|---|---|---|---|
{{Cleanup image|Explanation}} |
|
Category:Images for cleanup | ||||||
{{Convert to SVG}} |
|
Category:Images that should use vector graphics | ||||||
{{Convert to PNG}} |
|
Category:Images which should be in PNG format | ||||||
{{BadSVG}} | Category:SVG images with embedded raster graphics | |||||||
{{BadGIF}} | Category:Images with inappropriate GIF format | |||||||
{{BadJPEG}} | Category:Images with inappropriate JPEG compression | |||||||
{{BadPDF}} | Category:Files with inappropriate PDF format | |||||||
{{Artifacts}} | Category:Images in lossless format with lossy compression artefacts | |||||||
{{Remove border}} | Category:Images with borders | |||||||
{{Watermark}} | |
Category:Images with watermarks | ||||||
{{Trimming}} | Category:Images requiring trimming | |||||||
{{Extract image}} | Category:Images requiring extraction | |||||||
{{Opaque}} | Category:Images with opaque backgrounds | |||||||
{{Redeye}} | Category:Images with red-eye | |||||||
{{Rotate}} | Category:Images requiring rotation | |||||||
|
Category:Images requiring internationalisation | |||||||
{{Thumbnail}} | Category:Images uploaded at reduced resolution | |||||||
{{Low quality}} | Category:Images of low quality | |||||||
{{CleanFFT}} | Category:Images containing regular noise | |||||||
{{Colour blind}} | Category:Images with problems for colour blind people | |||||||
{{Disputed diagram}} | Category:Disputed diagrams | |||||||
{{Restoration}} |
|
Category:Files needing restoration | ||||||
{{Update}} | Category:Images requiring an update |
Page cleanup required[edit]
Tag | Text that will be shown (and usage notes) | Category to find tagged pages | ||||
---|---|---|---|---|---|---|
Category:Media lacking a description | ||||||
{{Uncategorized}} |
|
Category:Media needing categories | ||||
{{Fact disputed}} | Category:Accuracy disputes | |||||
Category:Media data without source | ||||||
|
Category:Images lacking source file | |||||
{{Notation please}} |
|
Category:Musical notation images lacking source file |
Renaming and merging[edit]
Tag | Text that will be shown (and usage notes) | Category to find tagged pages |
---|---|---|
{{Rename|Example.png|…}} |
|
Category:Media requiring renaming |
{{Merge|Example.png|…}} |
|
Category:Requested merges |
{{Merge from|Example.png|…}} |
|
Category:Requested merges |