Difference between revisions of "Template:CS1 language sources/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(create)
 
imported>Zyxw
(add category)
 
Line 18: Line 18:
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
 
<!-- Categories below this line; interwikis at Wikidata -->
 
<!-- Categories below this line; interwikis at Wikidata -->
 
+
[[Category:Template documentation]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 14:35, 2 July 2017

This template generates documentation for subcategories of Category:CS1 foreign language sources. It extracts a language code and language name from the category name and passes them to Template:CS1 language sources/core which displays the documentation.

Usage

{{CS1 language sources}}

Example

When used on such as Category:CS1 Scottish Gaelic-language sources (gd), the language code is gd, the language name is Scottish Gaelic, and the documentation displayed is:

Template:Tracking category

This is a tracking category for CS1 citations that use the parameter |language=Template:Str mid to identify a source in [[Template:Str sub new language|Template:Str sub new]]. Pages in this category should only be added by CS1 templates and Module:Citation/CS1.


[[Category:CS1 foreign language sources|Template:Str mid ]]