మూస:Commons and category-inline/doc
Appearance
This is a documentation subpage for మూస:Commons and category-inline. It may contain usage information, categories and other content that is not part of the original మూస page. |
Purpose
[మార్చు]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
[మార్చు]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
[మార్చు]{{commons and category-inline|CommonsArticleName|CommonsCategoryName}}
Example
[మార్చు]{{commons and category-inline|Ursus maritimus|Ursus maritimus}}
yields:
- Media related to Ursus maritimus (category) at Wikimedia Commons
See also
[మార్చు]- Template:Commons
- Template:Commons-inline - shows Commons gallery inline
- Template:Commons category
- Template:Commons category-inline - shows Commons category inline
- Template:Commons category multi - to list up to 6 categories.
- Template:Commons and category - shows Commons gallery and category
- Template:Sister project links - to link all Wikinews, Wikisource, etc.
- {{Wikibooks-inline}}
- {{Wikinews-inline}}
- {{Wikiquote-inline}}
- {{Wikisource-inline}}
- {{Wikispecies-inline}}
- {{Wikiversity-inline}}
- {{Wiktionary-inline}}
- Wikipedia:Manual of Style/Layout#External links