Template:Headtempdocboiler/doc

維基詞典,自由的多語言詞典

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[编辑]

{{headtempboiler:letter|LANGCODE|sc={{{sc|}}}|upper={{{upper|}}}|upper2={{{upper2|}}}|lower={{{lower|}}}|lower2={{{lower2|}}}|mixed={{{mixed|}}}|mixed2={{{mixed2|}}}}}

Letter documentation[编辑]

{{headtempdocboiler:letter|LANGCODE}}

Number template[编辑]

{{headtempboiler:number|LANGCODE|sc={{{sc|}}}|upper={{{upper|}}}|upper2={{{upper2|}}}|lower={{{lower|}}}|lower2={{{lower2|}}}|mixed={{{mixed|}}}|mixed2={{{mixed2|}}}}}

Number documentation[编辑]

{{headtempdocboiler:letter|LANGCODE}}

Suffix template[编辑]

{{headtempboiler:suffix|LANGCODE|{{{1|}}}|{{{2|}}}|{{{3|}}}}}

Suffix documentation[编辑]

{{headtempdocboiler:suffix|LANGCODE}}

Suffix template (with two genders and numbers)[编辑]

{{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)[编辑]

{{headtempdocboiler:suffix|LANGCODE|option=masculine_feminine_singular_plural}}