Template:Commons and category-inline

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Media related to Commons and category-inline (category) at Wikimedia Commons

Documentation icon Template documentation[view] [edit] [history] [purge]

Purpose[edit]

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

Usage[edit]

This template takes one or two parameters; the Commons gallery and the category (if the category name differs from PAGENAME). 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 |extratext=.

Format[edit]

{{Commons and category-inline|CommonsArticleName|CommonsCategoryName}}

Example[edit]

  • {{Commons and category-inline|Ursus maritimus|Ursus maritimus}}

yields:

See also[edit]