మూస:deftempboiler/doc
Appearance
Usage
[<small>మార్చు</small>]This template is designed to be used by other templates. Do not use this template directly inside the main namespace.
Standard usage:
{{deftempboiler|{{{1|}}}|{{{2|}}}|{{{3|}}}|tr={{{tr|}}}|sc={{{sc|}}}|lang={{{lang|}}}|cap={{{cap|}}}|dot={{{dot|NONE}}}|nocap={{{nocap|}}}|nodot={{{nodot|}}}|form=type of form (for categorization purposes)|def=text to be displayed}}
This will produce:
- The value given for def, or if no value is given for def, the value given for form followed by "of". The first letter will be capitalized unless nocap is given or cap is equal to the lowercase form of the first letter. This is followed by:
- The value of the first parameter, or the second parameter if it is given, linking to the page name given in the first parameter. The script that the word is displayed in is determined by what script code is given for the value of sc if it is given, otherwise defaulting to the script given by {{langscript}}. The language section it links to is determined by what language code is given in lang, defaulting to en.
- A transliteration or gloss can be given in tr or the third parameter, respectively.
- A period will be displayed at the end unless nodot is given. The period can be replaced using the dot parameter.
- The page is added to the category based on the values of lang and form. If form2 is given, an additional category will be added.
See also
[<small>మార్చు</small>]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)