ଛାଞ୍ଚ:langprefix
|aav-pro|afa-pro|alg-pro|ath-pro|aus-cww-pro|aus-pam-pro|azc-pro|azc-nah-pro|bat-pro|ber-pro|bnt-pro|cau-nec-pro|ccs-pro|cel-pro|cel-bry-pro|cmc-pro|dra-pro|dru-pro|esx-pro|esx-esk-pro|esx-inu-pro|euq-pro|fiu-pro|fiu-fin-pro|fiu-fpr-pro|fiu-ugr-pro|gem-pro|grk-pro|hyx-pro|iir-pro|inc-pro|ine-pro|ine-ana-pro|ine-bsl-pro|ine-toc-pro|ira-pro|itc-pro|jpx-pro|map-ata-pro|map-pro|mkh-pro|mkh-vie-pro|phi-pro|poz-pro|poz-mly-pro|poz-oce-pro|poz-pol-pro|poz-swa-pro|pqe-pro|pqe-pol-pro|qfa-cka-pro|qfa-kor-pro|qfa-yen-pro|sem-pro|sit-pro|sla-pro|sqj-pro|syd-pro|tai-pro|tai-swe-pro|trk-pro|urj-pro|xgn-pro=proto:|art-elo|art-lap|art-man|art-mun|art-nav|art-neo|art-top|art-una|ldn|lfn|qya|sjn|tlh=conl:|#default=
- The following documentation is located at Template:langprefix/doc. [edit]
This template returns the prefix to the language template. That is, it returns whatever string needs to be prefixed to the language code, so that when prepended to the language code, it gives the name of the language template for that code. This is used to differentiate regular languages from proto-languages and conlangs.
Usage
[ସମ୍ପାଦନା]{{langprefix|en}}
returns nothing (empty string).{{langprefix|tlh}}
returns conl:{{langprefix|ine}}
returns proto:
Adding a language
[ସମ୍ପାଦନା]To add a language, create a subpage of this template, with the code as its name. Then write proto: or conl: in the subpage. See for example: {{langprefix/gem-pro}}
.
See also
[ସମ୍ପାଦନା]- 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)