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