ଛାଞ୍ଚ:languageshift/doc
ଦେଖଣା
This template is used to help automatic categorization at language categories and subcategories. It should never be called directly
Usage
[ସମ୍ପାଦନା]This template should be added to the code of other templates. It returns a language name followed by "language", if desired.
Parameters
[ସମ୍ପାଦନା]This template uses only one unnamed parameter to call the language name.
- {{{1}}} : Language code. See Category:Language code templates.
- {{{nolangname}}} : Should be blank or omitted. Otherwise, the template does not return the language name.
Examples
[ସମ୍ପାଦନା]{{languageshift|en}}
returnsEnglish language
.{{languageshift|ko}}
returnsଛାଞ୍ଚ:ko language
.{{languageshift|grc}}
returnsଛାଞ୍ଚ:grc language
.{{languageshift|ase}}
returnsଛାଞ୍ଚ:ase
(and notଛାଞ୍ଚ:ase language
).{{languageshift|dse}}
returnsଛାଞ୍ଚ:dse
(and notଛାଞ୍ଚ:dse language
).
Additionally:
{{languageshift|en|nolangname=1}}
returnslanguage
.{{languageshift|ko|nolangname=1}}
returnslanguage
.{{languageshift|ase|nolangname=1}}
returns(nothing).
See also
[ସମ୍ପାଦନା]Supplementary templates [edit]
Contents, text, tables:
- caps (returns a particular letter, either in upper or lower cases)
- str len (returns the number of characters of a string)
- theordinal (returns "first" from 1, "second" from 2, etc.)
- theplural (returns "suffixes" from suffix, "verbs" from verb, etc.)
- navbox (generates a collapsible box)
- ! (returns a vertical pipe: |)
- !! (returns two vertical pipes: ଛାଞ୍ଚ:!!)
- (! (returns a left brace followed by a vertical pipe: {|)
- !) (returns a vertical pipe followed by a right brace: |})
- !- (returns a vertical pipe followed by a dash: |-)
Languages, families and scripts:
- langname (same as above, but also returns a language name from the same language name)
- languagex (returns the language name from any language code)
- langnamex (same as above, but also returns a language name from the same language name)
- langrev (returns the language code of a given language name)
- languageshift (differentiates between "American Sign Language" and "American Sign Language language", among other related languages)
- langfamily (returns the language family from a language code)
- family (returns the family from a subfamily)
- script (returns a script name from a script code)
- scriptrev (returns a script code from a script name)
Pages:
- langprefix (returns the prefix, like conl:, of a language template)
- catlangcode (returns the name of a topical category, notably by never displaying the code en:)
- catlangname (returns the name of a lexical or other category similarly named)
- deftempboiler (generates a definition template)
- edit (generates an "edit" button)