Template:Commons and category-inline/doc
< Template:Commons and category-inline
Jump to navigation
Jump to search
Revision as of 18:42, 4 June 2013 by imported>Edokter (→Usage: update)
| 40px | This is a documentation subpage for Template:Commons and category-inline. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Purpose
Sometimes articles have both Commons articles 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 Common gallery and the optional category (if the category name differs from the gallery name). There is also an optional parameter for |extratext=.
Format
{{commons and category-inline|CommonsArticleName|CommonsCategoryName}}
Example
{{commons and category-inline|Ursus maritimus}}
yields:
- 16x16px Media related to Lua error in Module:Commons_link at line 35: attempt to index field 'wikibase' (a nil value). 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