Jump to content

Module:ja/documentation

Wiktionary වෙතින්

The module does various things related to Japanese.

Module:ja/testcases

  1. hira_to_kata:
    {{#invoke:ja|hira_to_kata|おはようございます}} → オハヨウゴザイマス
  2. kata_to_hira:
    {{#invoke:ja|kata_to_hira|アメリカンアパレル}} → あめりかんあぱれる
  3. romaji_to_kata:
    {{#invoke:ja|romaji_to_kata|bakkurasshu}} → バックラッシュ
  4. script:
    {{#invoke:ja|script|どうも有難う御座います}} → Hira+Hani
    {{#invoke:ja|script|どうぞよろしく}} → Hira
    {{#invoke:ja|script|アメリカ合衆国}} → Kana+Hani

It is used by

  1. {{ja-verbconj}} and its subtemplates
  2. {{ja-noun}}, {{ja-verb}}, {{ja-adj}}, {{ja-pos}}, and {{ja-verb-suru}} which detect the script, generate romanizations, generate sort keys
  3. Module:category tree/poscatboiler/data/lang-specific/jpx to generate romanizations, sort keys, count morae, perform checks for various Japanese categories
  4. {{ja-readings}} (Module:ja-kanji-readings) to generate romanizations and to convert from hiragana to katakana for on readings in Module:ja/data/jouyou-yomi

It was formerly used by {{ja-new}} (which uses it substitutively); the relevant code is now at Module:ja-new.


"https://si.wiktionary.org/w/index.php?title=Module:ja/documentation&oldid=170540" වෙතින් සම්ප්‍රවේශනය කෙරිණි