User:Benwing2/test-ar-ndecl
Examples:
- Term: مَدْرَسَة (madrasa)
- Current:
{{ar-noun|مَدْرَسَة|f|pl=مَدَارِس}}
- New:
{{ar-ndecl|مَدْرَسَة<pl:مَدَارِس>}}
NOTE: Defaults to feminine gender based on -ة.
- Term: قَفًا (qafan)
- Current:
{{ar-noun|قَفًا|m|g2=f|d=قَفَوَان|pl=أَقْفِيَة|pl2=أَقْفٍ|pl3=أَقْفَاء|pl4=قُفِيّ|pl5=قِفِيّ}}
- New:
{{ar-ndecl|قَفًا<mf.d:+.pl:أَقْفِيَة,أَقْفٍ,أَقْفَاء,قُفِيّ,قِفِيّ>}}
- Term: بَبْغَاء (babḡāʔ), بَبَّغَاء (babbaḡāʔ), بَبَغَاء (babaḡāʔ)
- Current:
{{ar-decl-noun|بَبْغَاء:di|head2=بَبَّغَاء:di|head3=بَبَغَاء:di|d=بَبْغَاوَان|d2=بَبَّغَاوَان|d3=بَبَغَاوَان|pl=بَبْغَاوَات|pl2=بَبَّغَاوَات|pl3=بَبَغَاوَات}}
- New:
{{ar-ndecl|بَبْغَاء,بَبَّغَاء,بَبَغَاء<mf.dip.d:+.pl:+at>}}
NOTE: The standard way to indicate alternations is through ((...))
, but here we have support for alternations just in the headword, with a single indicator spec. Also, nouns in -اء have no default gender, so it either must be given or g?
used to indicate an unknown gender.
- Term: مِصْرِيّ (miṣriyy)
- Current:
{{ar-noun-nisba|مِصْرِيّ}}
- Current:
{{ar-decl-noun|مِصْرِيّ|pl=sp}}
- New:
{{ar-ndecl|مِصْرِيّ<nisba>}}
NOTE: Defaults to masculine gender here. This will display a gendered table like for {{ar-decl-gendered-noun}}
.
- Term: عَرَبِيّ (ʕarabiyy)
- Current:
{{ar-noun-nisba|عَرَبِيّ|pl=عَرَب}}
- Current:
{{ar-decl-noun|عَرَبِيّ|pl=عَرَب}}
- New:
{{ar-ndecl|مِصْرِيّ<nisba.pl:عَرَب>}}
NOTE: Defaults to masculine gender here. This will display a gendered table like for {{ar-decl-gendered-noun}}
. nisba
implies pr
(personal), which in turn makes the default masculine plural be the strong masculine plural in -ūn. To turn this off, use -pr
.
- Term: تَابِع (tābiʕ)
- Current:
{{ar-decl-gendered-noun|تَابِع|pl=تَابِعُون|pl2=تُبَّاع|pl3=تَبَعَة|pl4=تُبَّع|pl5=تَبَع|f=تَابِعَة|fpl=تَابِعَات|fpl2=تَوَابِع}}
- New:
{{ar-ndecl|تَابِع<gendered.pl:+,تُبَّاع,تَبَعَة,تُبَّع,تَبَع.fpl:+,تَوَابِع>}}
NOTE: This is like nisba
but for non-nisba gendered nouns, which also imply pr
by default.
- Term: بَغْل (baḡl)
- Current:
{{ar-decl-gendered-noun|بَغْل|pl=بِغَال|pl2=أَبْغَال|fpl=بَغَلَات}}
- New:
{{ar-ndecl|بَغْل<gendered.-pr.pl:بِغَال,أَبْغَال.fpl:بَغَلَات>}}
NOTE: This is a non-personal gendered noun. These nouns have no default masculine plural, which will show up as '?' if not explicitly given.
- Term: أَثْل (ʔaṯl)
- Current:
{{ar-decl-coll-noun|أَثْل|pauc=أَثَلَات|pl=أُثُول}}
- New:
{{ar-ndecl|أَثْل<coll.pauc:أَثَلَات.pl:أُثُول>}}
NOTE: coll
marks a collective noun, which displays specially (the way {{ar-decl-coll-noun}}
displays).
- Term: شَجَرَة (šajara)
- Current:
{{ar-sing-noun|شَجَرَة|coll=شَجَر|collg=m|d=شَجَرَتَان|pauc=شَجَرَات|pl=أَشْجَار}}
- Current:
{{ar-decl-sing-noun|شَجَرَة|pl=أَشْجَار}}
- New:
{{ar-ndecl|شَجَرَة<sgl.pl:أَشْجَار>}}
NOTE: sgl
marks a singulative noun (not the same as sg
, which marks a singular-only noun). These display specially (the way {{ar-decl-sing-noun}}
displays).
- Term: الإِسْلَام (al-ʔislām)
- Current:
{{ar-decl-noun|إِسْلَام|state=def}}
- New:
{{ar-ndecl|الإِسْلَام<>}}
NOTE: Defaults to masculine gender here. This noun is preceded by ال so it is assumed definite-only. Such nouns default to .sg
(singular-only). Use .both
to override this.
- Term: مِصْرُ (miṣru)
- Current:
{{ar-decl-noun|مِصْرُ|state=ind-def}}
- New:
{{ar-ndecl|مِصْرُ<f.ind-def>}}
NOTE: .ind-def
implies a proper noun, hence it implies .sg
. Use .both
to override this. Also note the use of ḍamma without tanwīn to indicate a diptote, as in the current template.
- Term: ذُو (ḏū)
- Current:
{{ar-decl-noun|ذ:lc|d=ذَوَان|pl=أُولُون/ʔulūn|pl2=ذَوُون|state=con}}
- New:
{{ar-ndecl|ذُو<c.lc.d:ذَوَان.pl:أُولُون//ʔulūn,ذَوُون>}}
- Or possibly:
{{ar-ndecl|ذُو<c.lc.d:ذَوَان.pl:أُولُو//ʔulū,ذَوُو>}}
NOTE: c
means the noun is in the construct state. lc
means it takes long construct endings. Unlike in the old template, the lemma must be given in full, and // instead of / marks manual translit. Also, I have not worked out whether in this case to require overrides to be in the indefinite (as previously) or construct state.
- Term: اِمْرُؤ (imruʔ)
- Current:
{{ar-decl-noun|اِمْرَأ|nom_sg_ind=اِمْرُؤٌ|acc_sg_ind=اِمْرَأً|gen_sg_ind=اِمْرِئٍ|inf_sg_ind=? |nom_sg_def=الْمَرْءُ|acc_sg_def=الْمَرْءَ|gen_sg_def=الْمَرْءِ|inf_sg_def=? |nom_sg_con=اِمْرُؤُ|acc_sg_con=اِمْرَأَ|gen_sg_con=اِمْرِئِ|inf_sg_con=? |nom_du_def=الْمَرْآنِ|acc_du_def=الْمَرْأَيْنِ|gen_du_def=الْمَرْأَيْنِ|inf_du_def=الْمَرْأَيْن |lemma=اِمْرُؤ |number=sg,du }}
- New:
{{ar-ndecl|اِمْرُؤ<nom_sg_ind:اِمْرُؤٌ.acc_sg_ind:اِمْرَأً.gen_sg_ind:اِمْرِئٍ.inf_sg_ind:? .nom_sg_def:الْمَرْءُ.acc_sg_def:الْمَرْءَ.gen_sg_def:الْمَرْءِ.inf_sg_def:? .nom_sg_con:اِمْرُؤُ.acc_sg_con:اِمْرَأَ.gen_sg_con:اِمْرِئِ.inf_sg_con:? .nom_du_def:الْمَرْآنِ.acc_du_def:الْمَرْأَيْنِ.gen_du_def:الْمَرْأَيْنِ.inf_du_def:الْمَرْأَيْن .stem:اِمْرَأ .sg,du }}
- Term: مُبْتَدَأ (mubtadaʔ)
- Current:
{{ar-decl-noun|مُبْتَدَأ|pl=sp}}
- New:
{{ar-ndecl|مُبْتَدَأ<pr.pl:+>}}
NOTE: .pr
implies a personal noun, meaning it takes plural rather than feminine-singular agreement and the default masculine plural is in -ūn rather than -āt. This noun defaults to masculine.
- Term: شَيْء (šayʔ)
- Current:
{{ar-decl-noun|شَيْء|pl=أَشْيَاء}}
- New:
{{ar-ndecl|شَيْء<pl:أَشْيَاء>}}
- Term: بَيْت المُقَدَّس (bayt al-muqaddas), بَيْت المَقْدِس (bayt al-maqdis)
- Current:
{{ar-decl-noun|بَيْت|mod=مُقَدَّس|modhead2=مَقْدِس|idafa=def}}
- New:
{{ar-ndecl|بَيْت<f.c.sg> المُقَدَّس,المَقْدِس<>}}
NOTE: This is a multiword ʔiḍāfa construction. .c
means the noun is in the construct state. The genitive modifier has two variants but no indicators; a word directly following a construct-state noun is assumed by default to be a modifier, and will always be in the genitive case (and here, always definite since it is preceded by ال). Also, we need to mark بيت as feminine or it will be assumed masculine.
- Term: يَوْم الاِثْنَيْن (yawm al-iṯnayn)
- Current:
{{ar-decl-noun|يَوْم|mod=-|modd=اِثْنَان|idafa=def-du}}
- New:
{{ar-ndecl|يَوْم<c.pl:أَيَّام.Q> الاِثْنَيْن<>}}
NOTE: Here, Q
is ignored but serves to get the L2R display correct. Maybe there is a better solution. Also, the genitive modifier is assumed dual based on the ـَيْن ending and assumed definite based on the ال prefix.
- Term: غُرْفَة نَوْم (ḡurfa(t) nawm)
- Current:
{{ar-decl-noun|غُرْفَة|pl=غُرَف|mod=نَوْم|idafa=sg}}
- New:
{{ar-ndecl|غُرْفَة<c.pl:غُرَف.Q> نَوْمِ<>}}
NOTE: Here, since the modifier is not preceded by ال, it is assumed indefinite and assumed to take definite ال when the overall expression is definite.
- Term: دُودَة فَرَاشَة (dūda(t) farāša)
- Current:
{{ar-decl-sing-noun|دُودَة|pl=دِيدَان|mod=فَرَاشَة|idafa=sing}}
- New:
{{ar-ndecl|دُودَة<c.sgl.pl:دِيدَان.Q> فَرَاشَة<>}}
NOTE: Here, sgl
means "singulative". It will display the way that {{ar-decl-sing-noun}}
displays (with a "collective" section).
- Term: زَوْبَعَة شَدِيدَة (zawbaʕa(t) šadīda)
- Current:
{{ar-decl-noun|زَوْبَعَة|pl=زَوَابِع|mod=شَدِيدَة|modpl=شَدِيدَة}}
- New:
{{ar-ndecl|زَوْبَعَة<pl:زَوَابِع.Q> شَدِيدَة<adj>}}
NOTE: Here, This has an adjectival modifier. Because it is not marked as personal, it is assumed inanimate, meaning the plural adjective will assume the feminine singular form (this does not need to be specified explicitly).
- Term: الْوِلَايَات الْمُتَّحِدَة (al-wilāyāt al-muttaḥida)
- Current:
{{ar-decl-noun|-|pl=وِلَايَات|state=def|mod=-|modpl=مُتَّحِدَة}}
- New:
{{ar-ndecl|الوِلَايَات<pl> المُتَّحِدَة<adj>}}
NOTE: Assumed definite due to preceding ال.
- Term: كَانُون الثَّانِي (kānūn aṯ-ṯānī)
- Current:
{{ar-decl-noun|كَانُون:di|mod=ثَانٍ|state=ind-def}}
- New:
{{ar-ndecl|كَانُون<dip> + الثَانِي<+.in>}}
NOTE: We need to mark the adjectival modifier as declining like ـٍ, but a definite adjectival modifier along with an indefinite noun defaults the noun to state ind-def
and hence sg
.
- Term: أَمْرِيكَا الشَمَالِيَّة (ʔamrīkā š-šamāliyya)
- New:
{{ar-ndecl|أَمْرِيكَا<Q> الشَمَالِيَّة<adj>}}
NOTE: Q
is purely for alignment. Feminine gender is the default for the main noun based on the adjectival modifier.
- Term: التَوْرَاة وَالإِنْجِيل
- Current:
{{ar-decl-noun|تَوْرَاة|mod=إِنْجِيل|modprefix=وَ/wa-|state=def}}
- New:
{{ar-ndecl|التَوْرَاة<Q> ((وَ//wa-))الإِنْجِيل<Q>}}
NOTE: Note the use of ((...))
to separate off the proclitic (and give it a manual transliteration).
- Term: تِسْعَة وَعِشْرُون (tisʕa(t) waʕišrūn)
- Current:
{{ar-decl-numeral|تِسْعَة|f=تِسْع|mod=عِشْرُون|modprefix=وَ/wa-|state=ind,def}}
- New:
{{ar-ndecl|تِسْعَة<m.f:تِسْع.num.ind,def> ((وَ//wa-))عِشْرُون<>}}
- Term: غُدَّة بَصَلِيَّة إِحْلِيلِيَّة (ḡudda(t) baṣaliyya(t) ʔiḥlīliyya)
- Current:
{{ar-decl-noun|غُدَّة|pl=غُدَد|mod=بَصَلِيَّة|modpl=بَصَلِيَّة|mod2=إِحْلِيلِيَّة|mod2pl=إِحْلِيلِيَّة}}
- New:
{{ar-ndecl|غُدَّة<pl:غُدَد.Q> بَصَلِيَّة<adj> إِحْلِيلِيَّة<adj>}}
- Term: البَحْر الأَبْيَض المُتَوَسِّط (al-baḥr al-ʔabyaḍ al-mutawassiṭ)
- Current:
{{ar-decl-noun|بَحْر|mod=أَبْيَض|mod2=مُتَوَسِّط|state=def}}
- New:
{{ar-ndecl|البَحْر<sg> الأَبْيَض<adj> المُتَوَسِّط<adj>}}
- Term: مُنَظَّمَة التَحْرِير الفِلَسْطِينِيَّة (munaẓẓama(t) at-taḥrīr al-filasṭīniyya)
- Current:
{{ar-decl-noun|مُنَظَّمَة|mod=تَحْرِير|mod2=فِلَسْطِينِيَّة|idafa=def}}
- New:
{{ar-ndecl|مُنَظَّمَة<c.sg> التَحْرِير<Q> الفِلَسْطِينِيَّة<adj>}}
- Term: جَنُوب القَارَّة الأَفْرِيقِيَّة (janūb al-qārra(t) al-ʔafrīqiyya)
- Current:
{{ar-decl-noun|جَنُوب|mod=قَارَّة|mod2=أَفْرِيقِيَّة|idafa=def|idafa2=adj-mod}}
- New:
{{ar-ndecl|جَنُوب<c.sg> القَارَّة<Q> الأَفْرِيقِيَّة<>}}
NOTE: Here, there are two genitival modifiers listed after a single noun in the construct state. The second is assumed to be an adjective modifying the first (although it's not clear it matters since adjectives in a given gender decline like nouns).
- Term: جُمْهُورِيَّة غِينِيَا الاِسْتِوَائِيَّة (jumhūriyya(t) ḡīniyā l-istiwāʔiyya)
- Current:
{{ar-decl-noun|جُمْهُورِيَّة|mod=غِينِيَا|mod2=اِسْتِوَائِيَّة|state=def|idafa=ind-def|idafa2=adj-mod}}
- New:
{{ar-ndecl|جُمْهُورِيَّة<c.sg> غِينِيَا<Q> الاِسْتِوَائِيَّة<>}}
NOTE: Here, like previously, there are two genitival modifiers listed after a single noun in the construct state. The second is assumed to be an adjective modifying the first (although it's not clear it matters since adjectives in a given gender decline like nouns). Since the second (adjectival genitive) modifier is definite, the other modifier is assumed ind-def
.
- Term: وَاجِهَة بَرْمَجَة تَطْبِيقَات (wājiha(t) barmaja(t) taṭbīqāt)
- Current:
{{ar-decl-noun|وَاجِهَة|pl=وَاجِهَات|mod=بَرْمَجَة|mod2=-|mod2pl=تَطْبِيقَات|idafa=yes|idafa2=pl}}
- New:
{{ar-ndecl|وَاجِهَة<c.pl:+> بَرْمَجَة<c> تَطْبِيقَات<pl>}}
- Term: نِصْف الكُرَة الأَرْضِيَّة الشَمَالِيّ (niṣf al-kura(t) al-ʔarḍiyya(t) aš-šamāliyy)
- Current:
{{ar-decl-noun|نِصْف|mod=كُرَة|mod2=أَرْضِيَّة|mod3=شَمَالِيّ|idafa=def|idafa2=adj-mod}}
- New:
{{ar-ndecl|نِصْف<c.sg> الكُرَة<Q> الأَرْضِيَّة<Q> الشَمَالِيّ<adj>}}
- Term: أُحْجِيَّة (ʔuḥjiyya)
- Current:
{{ar-decl-noun|أُحْجِيَّة|pl=sfp|pl2=أَحَاجِيّ:di}}
- New:
{{ar-ndecl|أُحْجِيَّة<pl:+,أَحَاجِيّ<dip>>}}
NOTE: As in this example, inline modifiers (and also footnotes) can be attached to individual plurals, feminines, etc. Here this functionality is used to specify that the second plural is a diptote.
- Term: أُحْجِيَّة (ʔuḥjiyya)
- Current:
{{ar-decl-noun|أُحْجِيَّة|pl=sfp|pl2=أَحَاجِيّ:di}}
- New:
{{ar-ndecl|أُحْجِيَّة<pl:+,أَحَاجِيّ<dip>>}}
NOTE: As in this example, inline modifiers (and also footnotes) can be attached to individual plurals, feminines, etc. Here this functionality is used to specify that the second plural is a diptote.
- Term: أَمَة (ʔama)
- Current:
{{ar-decl-noun|أَمَة|f|pl=إِمَاء|pl2=آمٍ|pl3=إِمْوَان|pl4=أُمْوَان|pl5=أَمَات}}
+ usage notes - New:
{{ar-ndecl|أَمَة<pl:إِمَاء[@Q],آمٍ[obsolete or poetic],إِمْوَان[@s],أُمْوَان[@s],أَمَات[@s]>}}
NOTE: Here we attach footnotes to each plural. All but the first are obsolete or poetic. Footnotes beginning with @
are special directives. Here [@Q]
means "ignore this footnote" and is present only for L2R display purposes; [@s]
or [@]
by itself means "same" and copies the preceding footnote.
- Term: إِصْبَع (ʔiṣbaʕ)
- Current:
{{ar-noun|إِصْبَع|f|g2=m|pl=أَصَابِع}}
+ usage notes on gender - New:
{{ar-ndecl|إِصْبَع<f,m[uncommon].pl:أَصَابِع>}}
NOTE: Footnotes can be attached to genders, as here.