Template:Commons/doc
This is a documentation subpage for Template:Commons. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on a very large number of pages. To avoid large-scale disruption and unnecessary server load, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. Please consider discussing any changes on the talk page before implementing them. |
The "Template:Commons" links to a page on Wikimedia Commons. If that page name is misspelled or missing, the link will still appear "blue" even though the link will fail, so please be careful.
Usage
{{Commons}} — puts link-box with current page's name as the category. {{Commons|catnam}} — puts link-box which replaces the page's name with the text in catnam. {{Commons|catnam|shownam}} — puts link-box showing the title shownam.
Where to place this template in an article
Do not place this template in a section all by itself.
Do not place this template in a section with columns in it.
In articles, this template should normally be placed at the top of the ==Other websites== section, if one exists. If no other websites section exists, please place it at the top of the last section of the article, or start an other websites section and use {{commons-inline}} instead. On disambiguation pages, this template is placed at the top of the page.