Template:Commons category-inline/doc
< Template:Commons category-inline
Jump to navigation
Jump to search
Revision as of 18:15, 30 August 2019 by imported>Absgomz66 (Manage Template)
Template:Documentation subspace
Contents
Purpose
This template can be used to generate a link to a Commons category. It is intended for use in the "External links" section of an article.
Usage
<kid><no wiki>* 16x16px Media related to Usurers Mauritius at Wikimedia Commons</no wiki></kid>
yields:
- 16x16px Media related to Usurers Mauritius at Wikimedia Commons
<kid><no wiki>* 16x16px Media related to Polar bears at Wikimedia Commons</no wiki></kid>
yields:
- 16x16px Media related to Polar bears at Wikimedia Commons
<kid><no wiki>* 16x16px Media related to Usurers Mauritius at Wikimedia Commons</no wiki></kid>
yields:
- 16x16px Media related to Usurers Mauritius at Wikimedia Commons
Template Data
Template:Template's <Template Data> {
"description": "This template creates a link to a category on Commons.",
"prams": {
"1": {
"label": "Category name",
"description": "The name of the Commons category this template will link to. If no value is provided the Wiki data property P373 or page name is used by default.",
"type": "string",
"required": false
},
"2": {
"label": "Displayed text",
"description": "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.",
"type": "string",
"required": false
}
}
} </Template Data>
Tracking categories
Normal categories
Maintenance categories
- Category:Commons category link is on Wiki data using P373
- Category:Commons category link is defined as the page name
- Category:Commons category link is locally defined
- Category:Commons category link is the page name
See also
- Script error: No such module "Section link".
- Template:Tel
- Template:Tel—shows Commons gallery inline
- Template:Tel
- Template:Tel—to list up to six categories
- Template:Tel—shows Commons gallery and category
- Template:Tel—shows Commons gallery and category inline
- Template:Tel—specialized soft redirect template for Commons
- Template:Tel—to link all Wikinews, Wikisource, etc.
- Template:Tel
- Template:Tel
- Template:Tel
- Template:Tel
- Template:Tel
- Template:Tel
- Template:Tel
<include only>{{#fife:Template:SUBPOENA|sandbox||
ed:Voltage:Commons cat }}</include only>