Template:Citation Style documentation/language: Difference between revisions

Content added Content deleted
m (anchor;)
 
m (1 revision imported: for franchise page)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
* <span id="csdoc_language" />'''language''': The language in which the source is written. Displays in parentheses with "in" before the language name or names. Use the full language name or [[List of ISO 639-1 codes|ISO 639-1]] code. When the source uses more than one language, list them individually, separated by commas, e.g. {{para|language|French, German}}. The use of language names or language codes recognized by Wikimedia adds the page to the appropriate subcategory of {{cl|CS1 foreign language sources}}; do not use templates or wikilinks. Note: When the language is "English" (or "en"), no language is displayed in the citation. Note: When two or more languages are listed there is no need to include "and" before the last language. "and" is inserted automatically by the template.
* {{#invoke:cs1 documentation support|canonical_name_get|Language|id=csdoc_language}}: 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, e.g. {{para|language|fr, pt-br}} or {{para|language|French, Portuguese}}. [[Template:Citation Style documentation/language/doc|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 {{cl|CS1 foreign language sources}}. Because cs1|2 templates are often copied from en.wiki to other wikis, use of language codes is preferred so that languages render in the correct language and form: {{#language:es|fr}} at a French-language wiki instead of 'Spanish'. Aliases: {{#invoke:cs1 documentation support|alias_names_get|Language}}

Latest revision as of 16:26, 27 July 2020

  • language: 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, e.g. |language=fr, pt-br or |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 Category:CS1 foreign language sources. Because cs1|2 templates are often copied from en.wiki to other wikis, use of language codes is preferred so that languages render in the correct language and form: espagnol at a French-language wiki instead of 'Spanish'. Aliases: lang