Template:Citation Style documentation/language: Difference between revisions

From Lojban
Jump to navigation Jump to search
m (1 revision)
m (1 revision imported)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
* '''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|}}}| or [[List of ISO 639-1 codes|ISO 639-1]] code; use of ISO 639-1 also adds appropriate language categorization}}; do not use icons or templates.
* {{#invoke:cs1 documentation support|canonical_name_get|Language|id=csdoc_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: {{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: {{#language:es|fr}} at a French-language wiki instead of the English word "Spanish". Aliases: {{#invoke:cs1 documentation support|alias_names_get|Language}}

Latest revision as of 16:14, 4 August 2021

  • Script error: No such module "cs1 documentation support".: 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: español at a French-language wiki instead of the English word "Spanish". Aliases: Script error: No such module "cs1 documentation support".