Difference between revisions of "Template:Commons and category/doc"

From blackwiki
Jump to navigation Jump to search
imported>Godsy
imported>Funandtrvl
(→‎See also: update template name)
Line 21: Line 21:
 
* [[Template:Commons category multi]] - to list up to 6 categories
 
* [[Template:Commons category multi]] - to list up to 6 categories
 
* [[Template:Commons and category-inline]] - shows Commons gallery and category inline
 
* [[Template:Commons and category-inline]] - shows Commons gallery and category inline
−
* [[Template:Commons redirect]] - specialized soft redirect template for Commons
 
 
* [[Template:Sister project links]] - to link all Wikinews, Wikisource, etc.
 
* [[Template:Sister project links]] - to link all Wikinews, Wikisource, etc.
−
 
+
* [[Template:Wikimedia Commons redirect]] - specialized soft redirect template for Commons
  
 
<includeonly>
 
<includeonly>

Revision as of 20:22, 11 September 2019

Usage

Sometimes articles have both Commons articles (galleries) and categories about them. This template can be used to generate a right-aligned (default) message box link to a Commons gallery and a Commons category. It is intended for use in the "External links" section of an article.

Format

{{Commons and category|CommonsGalleryName|CommonsCategoryName}}

Please note that if the Commons gallery (1st parameter) or the Commons category (2nd parameter) is not the same as PAGENAME, then it must be specified and not left blank. There is also an optional parameter for |position=.

Example

{{Commons and category|Automobile|Automobiles}}

Template:Sister project

See also