Template:Commons/doc
This is a documentation subpage for Template:Commons (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
This template is part of Wikipedia's sister projects.
This template links an article to a page on Wikimedia Commons, containing a gallery of related images. Use this template in the style {{Commons|PAGENAME}}, where PAGENAME is the name of a page on the commons.
- An optional third parameter gives the displayed link text.
- To link to a Category, use the template {{Commonscat}}.
So, to link to a category on the commons, use {{Commons|Category:CATNAME|CATNAME}} or {{Commonscat|CATNAME}}, where CATNAME is the name of the category.