模板:Headtempdocboiler
This documentation explains the whole set of boilerplates used to generate headword templates and their documentations.
Usage
编辑These templates may be added to any supported headword template and its respective documentation.
Boilerplates
编辑Template | Documentation |
---|---|
{{headtempboiler:letter}}
|
{{headtempdocboiler:letter}}
|
{{headtempboiler:number}}
|
{{headtempdocboiler:number}}
|
{{headtempboiler:suffix}}
|
{{headtempdocboiler:suffix}}
|
Codes and examples
编辑These are the boilerplates and their respective codes. The text "LANGCODE" should be substituted by the respective language code, such as en for English or ja for Japanese.
Letter template
编辑- Boilerplate:
{{headtempboiler:letter}}
- Code:
{{headtempboiler:letter|LANGCODE|sc={{{sc|}}}|upper={{{upper|}}}|upper2={{{upper2|}}}|lower={{{lower|}}}|lower2={{{lower2|}}}|mixed={{{mixed|}}}|mixed2={{{mixed2|}}}}}
Letter documentation
编辑- Boilerplate:
{{headtempdocboiler:letter}}
- Code:
{{headtempdocboiler:letter|LANGCODE}}
- Examples:
{{en-letter/documentation}}
and{{pt-letter/documentation}}
Number template
编辑- Boilerplate:
{{headtempboiler:number}}
- Code:
{{headtempboiler:number|LANGCODE|sc={{{sc|}}}|upper={{{upper|}}}|upper2={{{upper2|}}}|lower={{{lower|}}}|lower2={{{lower2|}}}|mixed={{{mixed|}}}|mixed2={{{mixed2|}}}}}
- Examples:
{{en-number}}
Number documentation
编辑- Boilerplate:
{{headtempdocboiler:number}}
- Code:
{{headtempdocboiler:letter|LANGCODE}}
- Examples:
{{en-number/documentation}}
Suffix template
编辑- Boilerplate:
{{headtempboiler:suffix}}
- Code:
{{headtempboiler:suffix|LANGCODE|{{{1|}}}|{{{2|}}}|{{{3|}}}}}
- Examples:
{{en-suffix}}
Suffix documentation
编辑- Boilerplate:
{{headtempdocboiler:suffix}}
- Code:
{{headtempdocboiler:suffix|LANGCODE}}
- Examples:
{{en-suffix/documentation}}
Suffix template (with two genders and numbers)
编辑- Boilerplate:
{{headtempboiler:suffix}}
- Code:
{{headtempboiler:suffix|LANGCODE|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|f={{{f|}}}|pl={{{pl|}}}|fpl={{{fpl|}}}|pos2={{{pos2|}}}|option=masculine_feminine_singular_plural}}
Suffix documentation (with two genders and numbers)
编辑- Boilerplate:
{{headtempdocboiler:suffix}}
- Code:
{{headtempdocboiler:suffix|LANGCODE|option=masculine_feminine_singular_plural}}
- Examples:
{{pt-suffix/documentation}}