Template:ja-new/documentation

Japanese autocreation template, using the lua function in Module:ja-new (formerly Module:ja) to do its job.

It used to be written with Wiki syntax and called, and this pagetitle was used for a variant of that template. Now both templates have been merged. Some past discussions can be found at Template talk:ja new.

Use to add new readings to an existing Japanese entry.

Must be substituted.

Basic structure
reading reading The second format is used if the PoS is,   (noun + suru verb),  ,   (adjective + noun), or   (adverb + suru).

Core parameters

 * reading
 * Kana or spelling of the word. Used when pagename contains kanji. Some tricks can be used here:
 * : Separates readings of different kanji. e.g. :.
 * : Indicates phonological changes in the kanji reading (such as sokuon, rendaku). Format is . e.g. :.
 * : Used when the title is not pure kanji. The pair of angled brackets enclose the kanji reading. e.g. :.
 * PoS
 * Part of speech. Acronyms are accepted and preferred. Default is 'n' if empty. See lua in Module:ja-new#lua for a list of acronyms.
 * def
 * Definition.

Other parameters
- Definition
 * |eg=, |eg2=, etc.
 * More definitions under the first def. Append  or   like you normally would to add examples or quotes.

- Additional forms
 * |cnt=counter
 * |kyu=kyujitai
 * |sin=shinjitai
 * |ak=additional_kana, |ak2=additional_kana
 * |hh=historical_hiragana
 * |hk=historical_katakana
 * |rom=forced_romaji

- Wikipedia
 * |wp=y
 * Wikipedia link.
 * |wp=wikipedia_page_name
 * Wikipedia link to a page named differently from the headword.
 * |wp2=wikipedia_page_name, |wp3=wikipedia_page_name, |wp4=wikipedia_page_name, |wp5=wikipedia_page_name, |wp6=wikipedia_page_name
 * Additional Wikipedia links.
 * |swp=y, |swp2=wikipedia_page_name, |swp3=wikipedia_page_name, |swp4=wikipedia_page_name, |swp5=wikipedia_page_name, |swp6=wikipedia_page_name
 * Wikipedia link; uses instead.
 * |wpd=y, |wpd2=wikipedia_page_name, |wpd3=wikipedia_page_name, |wpd4=wikipedia_page_name, |wpd5=wikipedia_page_name, |wpd6=wikipedia_page_name
 * Wikipedia link; uses instead; puts  below.

- Yomi reading type
 * |yomi=
 * Reading type of Kanji. Default is 'o' (on'yomi). See.

- Etymology: The ones below generate the ===Etymology=== header.
 * |en=
 * Specifies the etymology number. By default the result begins with ==Japanese== and L3 POS headers. Using this parameter will cause the template to generate ===Etymology n=== and L4 POS headers.
 * |e=
 * Self-written text under that header. e.g..
 * |d=, |dl=
 * If derived from another language. Uses . |d=source_word, |dl=code_of_source_language (empty: 'en'), |tr=transcription (optional), t=gloss (optional), lit=literal_gloss (optional), pos=part_of_speech (optional), g=gender (optional). e.g..
 * |b=, |bl=
 * If borrowed from another language. Uses . |b=source_word, |bl=code_of_source_language (empty: 'en'), |tr=transcription (optional), t=gloss (optional), lit=literal_gloss (optional), pos=part_of_speech (optional), g=gender (optional). e.g..
 * |lb=, |lbl=
 * If learnedly borrowed from another language. Uses . |b=source_word, |bl=code_of_source_language (empty: 'grc'), |tr=transcription (optional), t=gloss (optional), lit=literal_gloss (optional), pos=part_of_speech (optional), g=gender (optional).
 * |co1=, |co2=, etc.
 * If the word is a compound. |co1=first_element, |co2=second_element. |tr1=, |tr2=, etc., |t1=, |t2=, etc., |pos1=, |pos2=, etc., |g1=, |g2=, etc. are added accordingly, similarly to . Only |co1= and |co2= are mandatory.
 * |pr1=, |pr2=
 * Similar to |co1=, |co2=, except |pr1=prefix. Uses.
 * |su1=, |su2=
 * Similar to |co1=, |co2=, except |su2=suffix. Uses.
 * |c=, |cl=, |co1=, |co2=
 * If the word is a calque. Uses . |c=source_word, |cl=code_of_source_language. You can also use |co1=, |co2=, etc. or |pr1=, |pr2=, etc. or |su1=, |su2=, etc. for further clarification.
 * |we1=, |we2=
 * If the word is wasei eigo. Uses . |we1=first_English_word, |we2=second_English_word (optional). e.g. . You can also use |co1=, |co2=, etc. or |pr1=, |pr2=, etc. or |su1=, |su2=, etc. for further clarification.
 * |yo1=, |yo2=
 * If the word is yoji jukugo. Uses . |yo1=first_element, |yo2=second_element, |yo3=third_element (optional), |yo4=fourth_element (optional).

- Pronunciation
 * |nop=y
 * If one does not wish to include the Pronunciation section.
 * |acc=, |acc2=, |acc3=, |dev=, |acc_ref, |acc2_ref, |acc3_ref=
 * |y=
 * On'yomi type of Kanji, if |yomi=o. See . |y=n if one does not wish to specify any type of reading.
 * Parameters of.
 * |hmp=homophone, |hmp2=homophone, |hmp3=homophone, |hmp4=homophone, |hmp5=homophone, |hmp6=homophone
 * Adds homophones.

- Inflection
 * |infl=
 * Adjective declension type ('i', 'na'). 'na' if empty.
 * |type=
 * Verb conjugation type (1,2,3). Default is '1' - godan unless defined. See Appendix:Japanese verbs.
 * |tran=
 * Transitivity of verb ('trans' or 'intrans').

- Usage notes
 * |use=usage_notes

- Other words: No brackets needed in these parameters.
 * |alt=, |alt2=, |alt3=, |alt4=
 * Alternative forms.
 * |syn=, |syn2=, |syn3=, |syn4=
 * Synonyms.
 * |ant=, |ant2=, |ant3=, |ant4=
 * Antonyms.
 * |der=, |der2=, |der3=, |der4=
 * Derived terms.
 * |rel=, |rel2=, |rel3=, |rel4=
 * Related terms.
 * |also=, |also2=, |also3=, |also4=
 * See-also terms.
 * For all of these,  can be used to provide a kana reading of the term. For example,   would produce   while   produces.
 * apply to the first PoS. Use, etc. for the second PoS, and  , etc. for the third.

- Descendants:
 * |dzh=Chinese_descendant
 * |den=English_descendant
 * |dko=Korean_descendant
 * |dvi=Vietnamese_descendant

- References:
 * |ref=y,n
 * Manually controls whether to add a reference section.

- Categorization:
 * |cn=category_name (not capitalized, without the word "Japanese"), |cn2=category_name, etc.
 * Adds categories using.
 * |ct=category_name (capitalized), |cat2=category_name, etc.
 * Adds categories using.

- Korean word with the same Hanja: Generates Korean section as well
 * |k=
 * Korean Hangul (compulsory).
 * |kp=
 * Part of speech of the Korean word. Specify if not noun.
 * |kd=
 * Definition of the Korean word. Specify if different from |3=.
 * |mr=McCune–Reischauer_romanization
 * |yl=Yale_romanization

愛国心
Kanji noun あい-こく-しん

アニメ
Katakana noun n

あいこくしん
Hiragana noun n

集る
Kanji verb with conjugation <あつま>る

鋳る
Kanji verb with conjugation: <い>る

いのる
Hiragana verb with conjugation v

やっつける
Hiragana verb with conjugation v

おこなう
Hiragana verb with type and tr parameters: v

一致結束
サ変名詞 いっちけっそく

サジェスト
Etymology + suru s

or s

ベッドタウン
Wasei eigo ベッド タウン

愛らしい
Adjective <あい>らしい

曖昧
Adjectival noun + noun あい-まい

散文的
Adjectival noun さん-ぶん-てき

クロロフィル
Noun

最後通牒
さい-ご つう-ちょう

筆者
ひつ>1ひっ-しゃ

秒殺
びょう-さつ

租借地
そ-しゃく-ち

百方
ひゃく>1ひゃっ-ほう>2ぽう

両替
りょう-かえ>2がえ