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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(use sandbox version of /core)
imported>Gonnym
 
Line 1: Line 1:
<includeonly>{{CS1 language sources/core/sandbox
+
<includeonly>{{#invoke:Lang/documentor tool/sandbox|non_english_language_cs1_sources_category}}</includeonly>
|1={{Str mid|{{Last word|{{PAGENAME}}}}|2|2}}
+
<noinclude>
|2={{Str sub new|{{PAGENAME}}|4|-23}}
+
{{Documentation}}
}}</includeonly><noinclude>{{Documentation}}</noinclude>
+
</noinclude>

Latest revision as of 09:57, 20 September 2020


Template documentation[view] [edit] [history] [purge]

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 ]]