模板: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}}