Template:ar-verb-prop

From Wiktionary, the free dictionary
Jump to navigation Jump to search

Return a property of a verbal paradigm. Parameters are the same as for {{ar-conj}} except that unnamed parameter 1 is the requested property and all remaining unnamed parameters are shifted over by one.

This template can also handle assimilated verbs, hollow verbs, final-weak verbs, verbs with hamza and verbs with doubled last letter or a combination of these. It also correctly handles most irregular verbs.

Parameters[edit]

  • 1= to indicate requested property; see below
  • 2= to indicate verb form; Roman numerals accepted. In the vast majority of cases, just specify the Roman numeral, but can also include the weakness, e.g. 'I-sound' to force conjugation as a sound verb (rarely needed; see {{ar-conj}}).
  • Parameters specifying radicals and vowels
    • For form I:
      • 3 = past vowel(s)
      • 4 = non-past vowel(s)
      • 5 or I = first radical
      • 6 or II = second radical
      • 7 or III = third radical
    • For other triliteral forms:
      • 3 or I = first radical
      • 4 or II = second radical
      • 5 or III = third radical
    • For quadriliteral forms:
      • 3 or I = first radical
      • 4 or II = second radical
      • 5 or III = third radical
      • 6 or IV = fourth radical
  • Other parameters
    • variant=short, variant=long, variant=both: Used for the irregular verb حَيَّ or حَيِيَ, and for the related verb اِسْتَحْيَا or اِسْتَحَى; see {{ar-conj}} for more information

Codes for properties[edit]

  • form=form of verb
  • weakness=weakness of verb ('sound', 'assimilated', 'hollow', 'final-weak', 'geminate', 'assimilated+final-weak')
  • form-weakness=combination of form and weakness, separated by a dash
  • past-vowel=past vowel(s) if any, separated by commas if more than one
  • non-past-vowel=non-past vowel(s) if any, separated by commas if more than one
  • rad1=First radical, after regularizing
  • rad2=Second radical, after regularizing
  • rad3=Third radical, after regularizing
  • rad4=Fourth radical, after regularizing, or empty if there is no fourth radical
  • unreg1,unreg2,unreg3,unreg4=Unregulated radicals. This mostly makes sense when inferring radicals from the page name rather than specifying them direct. In such a case, some radicals may be ambiguous, and such ambiguous radicals appear as Roman letters, one of 't', 'w' or 'y' indicating which Arabic letter will replace the "ambiguous" radicals when regularization is done.
  • radicals=All regularized radicals, separated by commas.
  • unreg-radicals=All unregularized radicals, separated by commas.
  • passive=Value of the 'passive' property, either taken from the passive= param or inferred based on the verb form. Does not include final ?. Has one of five values: 'yes', 'no', 'impers', 'only', 'only-impers'.
  • passive-uncertain: 'yes' if ? seen at end of passive= declaration.
  • vn-uncertain: 'yes' if ? seen at end of vn= declaration.
  • irregular: 'yes' if verb is irregular.

Examples[edit]

Example 1[edit]

{{ar-verb-prop|passive|I|a|u|غ|ر|ق}}

Produces: yes

Example 2[edit]

{{ar-verb-prop|weakness|VIII|ح|ي|ر}}

Produces: hollow

Example 3[edit]

{{ar-verb-prop|radicals|II|د|ف|ء}}

Produces: د,ف,ء

Example 4[edit]

{{ar-verb-prop|form-weakness|I|a|i|م|د|د}}

Produces: I-geminate

Example 5[edit]

{{ar-verb-prop|irregular|IV|ر|ء|ي}}

Produces: yes