Template:ja-verb Aug 27th 2013, 06:52, by Haplology | | Line 14: | Line 14: | | -->{{#if:{{{hira|}}}|''hiragana'' {{Jpan|lang=ja|{{wlink|{{{hira}}}}}}}, <nowiki/>}}<!-- | | -->{{#if:{{{hira|}}}|''hiragana'' {{Jpan|lang=ja|{{wlink|{{{hira}}}}}}}, <nowiki/>}}<!-- | | -->{{#if:{{{kata|}}}|''katakana'' {{Jpan|lang=ja|{{wlink|{{{kata}}}}}}}, <nowiki/>}}<!-- | | -->{{#if:{{{kata|}}}|''katakana'' {{Jpan|lang=ja|{{wlink|{{{kata}}}}}}}, <nowiki/>}}<!-- | − | -->''romaji'' {{#if:{{{rom|}}}|'''{{Latn|lang=ja|{{wlink|{{{rom}}}}}}}'''|<!-- | + | -->''romaji'' <!-- | − | -->'''{{Latn|lang=ja|{{wlink|{{#invoke:ja|kana_to_romaji|{{{hira|{{{kata|{{PAGENAME}}}}}}}}}}}}}}'''}}<!-- | + | -->'''{{wlink|{{{rom|{{#invoke:ja|kana_to_romaji|{{{hira|{{{kata|{{PAGENAME}}}}}}}}}}}}}}}'''<!-- | | -->{{#if:{{{hhira|}}}|, ''historical hiragana'' {{Jpan|lang=ja|{{wlink|{{{hhira}}}}}}}}}<!-- | | -->{{#if:{{{hhira|}}}|, ''historical hiragana'' {{Jpan|lang=ja|{{wlink|{{{hhira}}}}}}}}}<!-- | | -->){{#ifeq:{{NAMESPACE}}||<!-- | | -->){{#ifeq:{{NAMESPACE}}||<!-- |
Latest revision as of 06:52, 27 August 2013
- The following documentation is located at Template:ja-verb/documentation. [edit]
Usage {{ja-verb|(form)|tr=|type=|hira=|kata=|rom=|kanji=|kyu=|shin=|hhira=}} First parameter, which can usually be omitted, is the form of the headword (pagename): - k kanji (optional)
- kk kanji with kana following (optional)
- h hiragana (optional)
- ka katakana (optional)
- r romaji
- s shinjitai (simplified kanji)
- ky kyūjitai (traditional kanji)
Use the last two only when it is important to show both forms, e.g. on individual characters, or when the word is archaic, and should say it is kyūjitai; most entries should be k. - type= 1, 2, or 3 (godan, ichidan, irregular)
- tr= trans or intrans or both for transitive or intransitive verbs
Other parameters specify other forms, you do not need to wikilink them, the template will do it: - hira= hiragana
- kata= katakana
- rom= romaji (optional, automatic)
- When the entry contains kanji, at least hira or kata is required.
- kyu= kyūjitai (use only if entry is s)
- shin= shinjitai (use only if entry is ky)
- hhira= historical hiragana
Examples 掛ける: {{ja-verb|type=2|hira=かける}} あやまる: {{ja-verb|type=1}} Related templates See also |