Template:ja-new

Definition from Wiktionary, the free dictionary
(Redirected from Template:ja new)
Jump to: navigation, search

Japanese autocreation template, using the new function in 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.

Must be substituted.

Parameters[edit]

Basic structure[edit]

{{subst:ja-new|HIRAGANA|POS|DEF}}

Core parameters[edit]

  • |1=
    Hiragana 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. 愛らしい: <あい>らしい.
  • |2=
    Part of speech. Acronyms are accepted and preferred. Default is 'n' if empty. See pos_table in Module:ja#new for a list of acronyms.
  • |3=
    Definition.

Other parameters[edit]

- Definition

  • |4=
    Definition of a second PoS. Used if the word is an adjectival noun or a suru-verb. e.g. #曖昧, #一致結束.

- Additional kana

  • |ak=additional_kana, |ak2=additional_kana
  • |hh=historical_hiragana

- Sorting

  • |defs=hiragana_sorting_form
    Adds {{DEFAULTSORT:hiragana_sorting_form}}.

- 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.

- Yomi reading type

- Etymology: The ones below generate the ===Etymology=== header.

  • |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). e.g. #サジェスト.
  • |b=, |bl=
    If borrowed from another language. Uses {{borrowing}}. |b=source_word, |bl=code_of_source_language (empty: 'en'), |tr=transcription (optional), t=gloss (optional). e.g. #サジェスト.
  • |we1=, |we2=
    If the word is wasei eigo. |we1=first_English_word, |we2=second_English_word (optional). e.g. #ベッドタウン.
  • |co1=, |co2=
    If the word is a compound. |co1=first_element, |co2=second_element, |co3=third_element, ..., |co6=sixth_element. |tr1=, |tr2=, etc., |t1=, |t2=, 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}}.

- 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 Template: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.
  • |tr=
    Transitivity of verb ('trans' or 'intrans').

- 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.
  • |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)).

- Categorization:

  • |cn=category_name (not capitalized, without the word "Japanese"), |cn2=category_name, |cn3=category_name, |cn4=category_name, |cn5=category_name, |cn6=category_name
    Adds up to 6 categories using {{catlangname}}.
  • |ct=category_name (capitalized), |cat2=category_name, |cat3=category_name, |cat4=category_name, |cat5=category_name, |cat6=category_name
    Adds up to 6 categories using {{catlangcode}}.

- 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

Examples[edit]

愛国心[edit]

Kanji noun

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


アニメ[edit]

Katakana noun

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


あいこくしん[edit]

Hiragana noun

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


集る[edit]

Kanji verb with conjugation

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


鋳る[edit]

Kanji verb with conjugation:

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


いのる[edit]

Hiragana verb with conjugation

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


やっつける[edit]

Hiragana verb with conjugation

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


おこなう[edit]

Hiragana verb with type and tr parameters:

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


一致結束[edit]

サ変名詞

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


サジェスト[edit]

Etymology + suru

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


or

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


ベッドタウン[edit]

Wasei eigo

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


愛らしい[edit]

Adjective

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


曖昧[edit]

Adjectival noun + noun

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


散文的[edit]

Adjectival noun

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


クロロフィル[edit]

Noun

{{subst:ja-new|||[[chlorophyll]]|wp=y|syn=葉緑素}}


最後通牒[edit]

{{subst:ja-new|さい-ご つう-ちょう||[[ultimatum]]|wp=y}}


筆者[edit]

{{subst:ja-new|ひつ>1ひっ-しゃ||the [[author]], the [[writer]] (often in self-reference)|k=필자|kd=writer}}


秒殺[edit]

{{subst:ja-new|びょう-さつ|s|seckilling|seckill, kill within seconds|wp=y|k=초살}}


租借地[edit]

{{subst:ja-new|そ-しゃく-ち||[[concession]] (territory)|wp=y|k=조차지}}


百方[edit]

{{subst:ja-new|ひゃく>1ひゃっ-ほう>2ぽう||every [[direction]], every [[way]]/[[method]]|k=백방}}


両替[edit]

{{subst:ja-new|りょう-かえ>2がえ|s|(currency) [[exchange]]|[[exchange]] (currency)|wp=y|yomi=j}}