模板:Headtempdocboiler/doc
此页面是Template: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}}