Template:Commons category-inline/doc

From blackwiki
< Template:Commons category-inline
Revision as of 18:15, 30 August 2019 by imported>Absgomz66 (Manage Template)
Jump to navigation Jump to search

Template:Documentation subspace

Template:Uses Wiki data

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>* Media related to Usurers Mauritius at Wikimedia Commons</no wiki></kid>

yields:


<kid><no wiki>* Media related to Polar bears at Wikimedia Commons</no wiki></kid>

yields:


<kid><no wiki>* Media related to Usurers Mauritius at Wikimedia Commons</no wiki></kid>

yields:

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

See also

<include only>{{#fife:Template:SUBPOENA|sandbox||

ed:Voltage:Commons cat }}</include only>