Template:Citation Style documentation/language: Difference between revisions

From All Skies Encyclopaedia
imported>Jonesey95
(Removing "icons or", since I don't think there is a way to use an icon. I wonder if it once said "icon templates", which would make more sense.)
imported>W.andrea
(Clarify and tag foreign text.)
 
(24 intermediate revisions by 14 users not shown)
Line 1: Line 1:
* <span id="csdoc_language">{{#invoke:cs1 documentation support|canonical_name_get|Language|id=csdoc_language}}</span>: 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: {{para|language|ru}}; {{para|lang|fr, pt-br}}; {{Para|lang|Russian}}; {{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, the use of language codes is preferred so that language names render in the correct language and form, e.g. {{lang|fr|{{#language:es|fr}}}} at a French-language wiki instead of the English word "Spanish". Aliases: {{#invoke:cs1 documentation support|alias_names_get|Language}}
* '''language''': The language the source is written in, if not English. Displays in parentheses with "in" before the language name. Use the full language name{{#if:{{{lua|}}}|&#32;or [[List of ISO 639-1 codes|ISO 639-1]] code; 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.

Latest revision as of 20:04, 7 September 2024

  • Lua error: bad argument #1 to "get" (not a valid title).: 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: |language=ru; |lang=fr, pt-br; |lang=Russian; |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, the use of language codes is preferred so that language names render in the correct language and form, e.g. español at a French-language wiki instead of the English word "Spanish". Aliases: Lua error: bad argument #1 to "get" (not a valid title).