Template:Citation Style documentation/language
< Template:Citation Style documentation
Jump to navigation
Jump to search
Revision as of 23:14, 14 January 2021 by imported>Matthiaspaul (CE)
- language: The language (or a comma-separated list of the languages) in which the source is written, as either the ISO 639 language code (preferred) or the full language name. Examples:
|{{SAFESUBST:#if:language|language=}}ru
;|{{SAFESUBST:#if:lang|lang=}}fr, pt-br
;|{{SAFESUBST:#if:lang|lang=}}Russian
;|{{SAFESUBST:#if:language|language=}}French, Portuguese
. See the list of supported codes and names. Do not use templates or wikilinks. Displays in parentheses with "in" before the language name or names. When the only source language is English, no language is displayed in the citation. The use of languages recognized by the citation module adds the page to the appropriate subcategory of {{#ifeq:{{#titleparts:Citation Style documentation/language|1}}|Stub types for deletion |Cat:CS1 foreign language sources | Category:CS1 foreign language sources{{#ifeq:{{safesubst:#switch: no
|no |n |f |false |off |0 = | = |¬ = |yes |y |t |true |on |1 = yes |#default = yes
}}|yes| {{#ifexpr:0>={{#expr:0+1}}|}}( 0 ){{#ifexpr:0>={{#expr:0+1}}|}}}}}}. Because cs1|2 templates are often copied from en.wiki to other wikis, the use of language codes is preferred so that language names render in the correct language and form: español at a French-language wiki instead of the English word "Spanish". Aliases: lang