Template:Commons and category

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]

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|CommonsArticleName|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}}

See also