Vörlaag:deftempboiler
Utsehn
- De volgende dokumentatsie steet op Vörlaag:deftempboiler/Doku. [bewark]
Usage
[ännern]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 the default script of the language. 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
[ännern]Supplementary templates [ännern]
Contents, text, tables:
- caps (returns a particular letter, either in upper or lower cases)
- theordinal (returns "first" from 1, "second" from 2, etc.)
- navbox (generates a collapsible box)
- !! (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:
Categories:
- categorize (adds a category, with language-specific sorting)
- catlangcode (adds a topical category, with language-specific sorting)
- catlangname (adds a lexical or other category similarly named, with language-specific sorting)
Other:
- deftempboiler (generates a definition template)
- ännern (generates an "edit" button)