Ta̱mpi̱let:Commons category-inline
Media related to Commons category-inline at Wikimedia Commons
This template is used on approximately 134,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
Purpose
jhyukThis template can be used to generate a link to a Sa Commons. It is intended for use in the "A̱ka̱fwuop nta" section of an article.
Usage
jhyuk* {{Commons category-inline|Ursus maritimus}}
yields:
- Media related to Ursus maritimus at Wikimedia Commons
* {{Commons category-inline|Ursus maritimus|Polar bears}}
yields:
- Media related to Polar bears at Wikimedia Commons
* {{Commons category-inline|Ursus maritimus|''Ursus maritimus''}}
yields:
- Media related to Ursus maritimus at Wikimedia Commons
TemplateData
jhyukTemplateData for Commons category-inline
This template creates a link to a category on Commons.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Category name | 1 | The name of the Commons category this template will link to. If no value is provided the Wikidata sitelinks are used by default. | String | optional |
Displayed text | 2 | The text that the link will display to the user. If no value is provided it will default to category name or page name, in that order. | String | optional |
nowrap | nowrap | Stops the text of the commons category from wrapping | String | optional |
lcfirst | lcfirst | Displays the first letter as lower-case | String | optional |
Tracking categories
jhyukNormal categories
jhyuk- Category:Commons category link from Wikidata (26)
- Category:Commons category link is on Wikidata (95)
Maintenance categories
jhyuk- Category:Commons category link is defined as the pagename (3)
- Category:Commons category link is locally defined (6)
- Category:Commons category link is the pagename (0)
- Category:Inconsistent wikidata for Commons category (0)