Template:User:Kiril kovachev/bg-new


Bulgarian autocreation template, modelled after {{ja-new}}, using the new function in Module:bg-new to do its job.

Must be substituted.

Parameters

edit

Basic structure

edit
{{subst:bg-new|stressed|PoS|def|2nd PoS|2nd def}}

Core parameters

edit
  • stressed
    The term with correct accent marks on the stressed syllable(s), such as чове́к (čovék).
  • PoS
    Part of speech. Acronyms are accepted and preferred. Default is 'n' if empty. See pos_table in Module:bg-new#new for a list of acronyms.
  • def
    Definition. Complex definitions spanning multiple lines remain unsupported; please make these edits mau

Other parameters

edit

- Definition

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

- Wikipedia

  • |wp=y
    Wikipedia link.
  • |wp=wikipedia_page_name
    Wikipedia link to a page named differently from the headword.

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

  • |en=
    Specifies the etymology number. By default the result begins with ==Bulgarian== 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.
  • |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).
  • |b=, |bl=
    If borrowed from another language. Uses {{bor+}}. |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. Uses {{com+}}. 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.

- Pronunciation

  • |acc2=, |acc3=
    Stresses to include in the entry besides the main lemma, whose stress is normally sufficient.
  • |hmp=homophone, |hmp2=homophone, |hmp3=homophone, |hmp4=homophone, |hmp5=homophone, |hmp6=homophone
    Adds homophones.

- Inflection

  • |a=
    Aspect of the entry if it is a verb. pf or impf
  • |ac=
    Aspectual counterpart verb, e.g. отида and отивам are perfective and imperfective respectively. In отида, a=pf and ac=отивам.
  • |tran=
    Transitivity of verb ('trans' or 'intrans').
  • |infl=
    Parameters to pass to the relevant inflection template ({{bg-conj}}, {{bg-ndecl}} or {{bg-adecl}}). Pass the arguments without the enclosing <> that are used.

- 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.
  • |adj=
    Related adjective, appearing in noun headers.

- References:

  • |ref=
    Manually controls whether to add a reference section. Default is to add both User:Kiril kovachev/bg-new”, in Речник на българския език [Dictionary of the Bulgarian Language] (in Bulgarian), Sofia: Bulgarian Academy of Sciences, 2014 and User:Kiril kovachev/bg-new”, in Речник на българския език [Dictionary of the Bulgarian Language] (in Bulgarian), Chitanka, 2010, but setting ref=1 or ref=2 will add only the first or the second of these. ref=n will set no references.

(Usage note: Modern words are often only in RBE2, and old, obscure, or highly formal terms often only in RBE1.)

- Categorization:

  • |cn=category_name (not capitalized, without the word "Bulgarian"), |cn2=category_name, etc.
    Adds categories using {{cln}}.
  • |ct=category_name (capitalized), |cat2=category_name, etc.
    Adds categories using {{C}}.

Examples

edit

As development is still underway, the module is not able to realise a complete entry, thus no examples can yet be provided.