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

It used to be written with Wiki syntax and called {{ja new}}, 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 {{ja-add}} to add new readings to an existing Japanese entry.

Must be substituted.

{{subst:ja-new|reading|PoS|def|2nd PoS|2nd def}}
{{subst:ja-new|reading|PoS|def1|def2}}

The second format is used if the PoS is s, suru (noun + suru verb), an, anoun (adjective + noun), or as (adverb + suru).

  • reading
    Kana or wāpuro rōmaji spelling of the word. Used when pagename contains kanji. Some tricks can be used here:
    -: Separates readings of different kanji. e.g. 愛国心: あい-こく-しん.
    >NUM: Indicates phonological changes in the kanji reading (such as sokuon, rendaku). Format is original_reading + > + character_number + actual_reading. e.g. 百方: ひゃく>1ひゃっ-ほう>2ぽう.
    <>: 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 pos_table in Module:ja-new#new for a list of acronyms.
  • def
    Definition.

- 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 {{swp}} 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 {{swp}} instead; puts {{swp}} below {{ja-kanjitab}}.

- Yomi reading type

  • |yomi=
    Reading type of Kanji. Default is 'o' (on'yomi). See {{ja-kanjitab}}.

- 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 {{derived}}. |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 {{borrowed}}. |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 {{learned borrowing}}. |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 {{compound}}. Only |co1= and |co2= are mandatory.
  • |pr1=, |pr2=
    Similar to |co1=, |co2=, except |pr1=prefix. Uses {{prefix}}.
  • |su1=, |su2=
    Similar to |co1=, |co2=, except |su2=suffix. Uses {{suffix}}.
  • |c=, |cl=, |co1=, |co2=
    If the word is a calque. Uses {{calque}}. |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 {{wasei eigo}}. |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 {{ja-yoji}}. |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 {{ja-pron}}. |y=n if one does not wish to specify any type of reading.
    Parameters of {{ja-pron}}.
  • |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, |alt=漢字 would produce {{ja-l|漢字}} (漢字) while |alt=漢字:かんじ produces {{ja-r|漢字|かんじ}} (漢字(かんじ) (kanji)).
    |use=, |syn=, |ant=, |der=, and |rel= apply to the first PoS. Use |Use=, |Syn=, etc. for the second PoS, and |USE=, |SYN=, 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 {{cln}}.
  • |ct=category_name (capitalized), |cat2=category_name, etc.
    Adds categories using {{C}}.

- 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

{{subst:ja-new|あい-こく-しん||[[patriotism]]}}

Katakana noun

{{subst:ja-new||n|[[anime]]}}

Hiragana noun

{{subst:ja-new||n|{{ja-def|愛国心}} [[patriotism]]}}

Kanji verb with conjugation

{{subst:ja-new|<あつま>る|v|to [[gather]]}}

Kanji verb with conjugation:

{{subst:ja-new|<い>る|v|[[cast]], [[mint]]|type=2|alt=鑄る|tran=trans}}

Hiragana verb with conjugation

{{subst:ja-new||v|{{ja-def|祈る}} to [[pray]]}}

Hiragana verb with conjugation

{{subst:ja-new||v|to [[criticise]]|type=2}}

Hiragana verb with type and tr parameters:

{{subst:ja-new||v|{{ja-def|行う}} to [[do]], to [[perform]], to [[carry out]]|type=1|tran=trans}}

サ変名詞

{{subst:ja-new|いっちけっそく|s|[[closing ranks]]|[[close ranks]]}}

Etymology + suru

{{subst:ja-new|el=en|e=suggest||s|the act of suggesting|[[suggest]]}}

or

{{subst:ja-new|ee=From {{bor|ja|en|suggest|sort=さじぇすと}}.||s|the act of suggesting|[[suggest]]}}

Wasei eigo

{{subst:ja-new|we1=bed|we2=town|ベッド タウン|n|[[commuter]] town, suburb made up primarily of commuters}}

Adjective

{{subst:ja-new|<あい>らしい|a|[[charming]], [[lovely]], [[cute]]|infl=i}}

Adjectival noun + noun

{{subst:ja-new|あい-まい|an|[[unclear]], [[vague]], [[ambiguous]]|[[confusion]], [[obscurity]], [[opacity]]}}

Adjectival noun

{{subst:ja-new|さん-ぶん-てき|an|[[prosaic]]}}

Noun

{{subst:ja-new|||[[chlorophyll]]|wp=y|syn=葉緑素}}
{{subst:ja-new|さい-ご つう-ちょう||[[ultimatum]]|wp=y}}
{{subst:ja-new|ひつ>1ひっ-しゃ||the [[author]], the [[writer]] (often in self-reference)|k=필자|kd=writer}}
{{subst:ja-new|びょう-さつ|s|seckilling|seckill, kill within seconds|wp=y|k=초살}}
{{subst:ja-new|そ-しゃく-ち||[[concession]] (territory)|wp=y|k=조차지}}
{{subst:ja-new|ひゃく>1ひゃっ-ほう>2ぽう||every [[direction]], every [[way]]/[[method]]|k=백방}}
{{subst:ja-new|りょう-かえ>2がえ|s|(currency) [[exchange]]|[[exchange]] (currency)|wp=y|yomi=j}}

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