Template:rad-decl/documentation: Difference between revisions

From Laenkea
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 5: Line 5:
== Base arguments ==
== Base arguments ==
The template takes a minimum of one argument (for light and semi-light stems only) or two arguments (heavy and spirant stems). It can interpret all declension types, and will account for most orthographical alternations. Note, however, that semi-light stems must be written as <code>(V)'''G'''</code> in a single parameter.
The template takes a minimum of one argument (for light and semi-light stems only) or two arguments (heavy and spirant stems). It can interpret all declension types, and will account for most orthographical alternations. Note, however, that semi-light stems must be written as <code>(V)'''G'''</code> in a single parameter.
  {{temp|rad-decl|rjao|'''v'''}}
  {{tempn|rad-decl|rjao|'''v'''}}
{{rad-decl|rjao|v|notags=true}}
{{rad-decl|rjao|v|notags=true}}
<hr>
<hr>
  {{temp|rad-decl|he|'''rḤ'''}}
  {{tempn|rad-decl|he|'''rḤ'''}}
{{rad-decl|he|rḤ|notags=true}}
{{rad-decl|he|rḤ|notags=true}}
<hr>
<hr>
  {{temp|rad-decl|dzíni|'''H'''}}
  {{tempn|rad-decl|dzíni|'''H'''}}
{{rad-decl|dzíni|H|notags=true}}
{{rad-decl|dzíni|H|notags=true}}
<hr>
<hr>
  {{temp|rad-decl|vlunz|'''o'''}}
  {{tempn|rad-decl|vlunz|'''o'''}}
{{rad-decl|vlunz|o|notags=true}}
{{rad-decl|vlunz|o|notags=true}}
<hr>
<hr>
  {{temp|rad-decl|tvo|'''e'''}}
  {{tempn|rad-decl|tvo|'''e'''}}
{{rad-decl|tvo|e|notags=true}}
{{rad-decl|tvo|e|notags=true}}
<hr>
<hr>
  {{temp|rad-decl|aș|'''uG'''}}
  {{tempn|rad-decl|aș|'''uG'''}}
{{rad-decl|aș|uG|notags=true}}
{{rad-decl|aș|uG|notags=true}}


== Radical morphophonology ==
== Radical morphophonology ==
An ablauting nucleus of a word can be separated, with <b>breaking</b> alternations marked with <code>~</code> and <b>stem raising</b> with <code>^</code>. Both can be specified simultaneously in that order.
An ablauting nucleus of a word can be separated, with <b>breaking</b> alternations marked with <code>~</code> and <b>stem raising</b> with <code>^</code>. Both can be specified simultaneously in that order.
  {{temp|rad-decl|fv|'''o~u'''|z|o}}
  {{tempn|rad-decl|fv|'''o~u'''|z|o}}
{{rad-decl|fv|o~u|z|o|notags=true}}
{{rad-decl|fv|o~u|z|o|notags=true}}
<hr>
<hr>
  {{temp|rad-decl|l|'''ý~ye'''|G}}
  {{tempn|rad-decl|l|'''ý~ye'''|G}}
{{rad-decl|l|ý~ye|G|notags=true}}
{{rad-decl|l|ý~ye|G|notags=true}}
<hr>
<hr>
  {{temp|rad-decl|sk|'''a^u'''|n|þ}}
  {{tempn|rad-decl|sk|'''a^u'''|n|þ}}
{{rad-decl|sk|a^u|n|þ|notags=true}}
{{rad-decl|sk|a^u|n|þ|notags=true}}
<hr>
<hr>
  {{temp|rad-decl|n|'''í~je'''|v}}
  {{tempn|rad-decl|n|'''í~je'''|v}}
{{rad-decl|n|í~je|v|notags=true}}
{{rad-decl|n|í~je|v|notags=true}}
<hr>
<hr>
  {{temp|rad-decl|eur|'''o~u^u'''|v}}
  {{tempn|rad-decl|mvaþ|'''i~e^e'''|r}}
{{rad-decl|eur|o~u^u|v|notags=true}}
{{rad-decl|mvaþ|i~e^e|r|notags=true}}


== Table types ==
== Table types ==
The optional parameter {{para|type}} can take 5 values:
The optional parameter {{para|type}} or {{para|t}} can take 5 values:
* {{para|type|sgpl}} (default)
* {{para|type|sgpl}} (default)
* {{para|type|sg}} (singulare tantum)
* {{para|type|sg}} (singulare tantum)
Line 47: Line 47:
* {{para|type|du}} (plurale binarium)
* {{para|type|du}} (plurale binarium)
* {{para|type|dupl}} (plurale binarium tantum)
* {{para|type|dupl}} (plurale binarium tantum)
* {{para|type|adj}} (adjective)


  {{temp|rad-decl|Rakv|o|'''type=sg'''}}
  {{tempn|rad-decl|Rakv|o|'''t=sg'''}}
{{rad-decl|Rakv|o|type=sg|notags=true}}
{{rad-decl|Rakv|o|t=sg|notags=true}}
<hr>
<hr>
  {{temp|rad-decl|dylyet|s|'''type=pl'''}}
  {{tempn|rad-decl|dylyet|s|'''type=pl'''}}
{{rad-decl|dylyet|s|type=pl|notags=true}}
{{rad-decl|dylyet|s|type=pl|notags=true}}
<hr>
<hr>
  {{temp|rad-decl|v|a^u|H|'''type=du'''}}
  {{tempn|rad-decl|v|a^u|H|'''type=du'''}}
{{rad-decl|v|a^u|H|type=du|notags=true}}
{{rad-decl|v|a^u|H|type=du|notags=true}}
<hr>
<hr>
  {{temp|rad-decl|dzesta|s|'''type=dupl'''}}
  {{tempn|rad-decl|dzesta|s|'''type=dupl'''}}
{{rad-decl|dzesta|s|type=dupl|notags=true}}
{{rad-decl|dzesta|s|type=dupl|notags=true}}
<hr>
{{tempn|rad-decl|at|í~ie|ș|'''t=adj'''}}
{{rad-decl|at|í~ie|ș|t=adj|notags=true}}
=== Disabling IPA generation ===
IPA generation can be disabled with {{para|noipa|true}}.
{{tempn|rad-decl|rjao|'''v'''|noipa=true}}
{{rad-decl|rjao|v|noipa=true|notags=true}}


== Irregularity ==
== Irregularity ==
Line 72: Line 82:
* {{para|genpl_short}}
* {{para|genpl_short}}


  {{temp|rad-decl|hjembra|v|type=sg|'''dat=hjembrava'''}}
Adding <code>*</code> to any form (including alternative forms; see the next section) will register it as irregular.
 
  {{tempn|rad-decl|hjembra|v|type=sg|'''dat=hjembrava'''}}
{{rad-decl|hjembra|v|type=sg|dat=hjembrava|notags=true}}
{{rad-decl|hjembra|v|type=sg|dat=hjembrava|notags=true}}
<hr>
<hr>
  {{temp|rad-decl|r|jø^ívu|H|'''dat=rjøà'''|'''ins=rjøúr'''|'''nompl=rjøi'''|'''genpl=rjøșe'''|'''genpl_short=rjøșes'''|'''gen=rívug'''}}
  {{tempn|rad-decl|rjø|H|'''dat=rjøà*'''|'''ins=rjøúr*'''|'''nompl=rjøi'''|'''genpl=rjøșe*'''|'''genpl_short=rjøșes*'''}}
{{rad-decl|rje|vH|dat=rjøà|ins=rjøúr|nompl=rjøi|genpl=rjøșe|genpl_short=rjøșes|gen=rívug|notags=true}}
{{rad-decl|rjø|H|dat=rjøà*|ins=rjøúr*|nompl=rjøi|genpl=rjøșe*|genpl_short=rjøșes*|notags=true}}
 
Setting an overriden form to just <code>*</code> will use the auto-generated form, but will register it as irregular anyway.
{{tempn|rad-decl|dza|v^ve|H|'''dat=*'''|'''ins=*'''|'''genpl=*'''|'''genpl_short=*'''}}
{{rad-decl|dza|v^ve|H|dat=*|ins=*|genpl=*|genpl_short=*|notags=true}}


=== Alternative forms ===
=== Alternative forms ===
Any cell of the table can have alternative forms specified with {{para|'''alt'''CASE(pl)}}. Multiple alternative forms can be specified by adding a number greater than 1 after the original parameter name, e.g. {{para|altgen'''2'''}}. Notes can also be added with {{para|altCASE'''_note'''}}.
Any cell of the table can have alternative forms specified with {{para|'''alt'''<u>CASE</u>(pl/du)}}. Multiple alternative forms can be specified by adding a number greater than 1 after the original parameter name, e.g. {{para|altgen'''2'''}}. Notes can also be added with {{para|alt<u>CASE</u>'''_note'''}}.


  {{temp|rad-decl|larbastr|a^o|v|'''altdat=larbastrava'''|type=sg}}
  {{tempn|rad-decl|larbastr|a^o|v|'''altdat=larbastrava'''|type=sg}}
{{rad-decl|larbastr|a^o|v|type=sg|altdat=larbastrava|notags=true}}
{{rad-decl|larbastr|a^o|v|type=sg|altdat=larbastrava|notags=true}}
<hr>
<hr>
  {{temp|rad-decl|dza|z|gen=dzairu|'''altgen=dzaizg'''|'''altgen_note=dialectal'''}}
  {{tempn|rad-decl|dza|z|gen=dzairu|'''altgen=dzaizg'''|'''altgen_note=dialectal'''}}
{{rad-decl|dza|z|gen=dzairu|altgen=dzaizg|altgen_note=dialectal|notags=true}}
{{rad-decl|dza|z|gen=dzairu|altgen=dzaizg|altgen_note=dialectal|notags=true}}
<hr>
<hr>
  {{temp|rad-decl|ta|s|m|'''altgen=tasung'''|'''altgen_note=dialectal'''|'''altacc=tasumd'''|'''altacc_note=dialectal'''|'''altnompl=tasûme'''|'''altnompl_note=dialectal'''|'''altgen2=tatung'''|'''altgen2_note=literary'''|'''altacc2=tatumd'''|'''altacc2_note=literary'''|'''altnompl2=tatûme'''|'''altnompl2_note=literary'''}}
  {{tempn|rad-decl|ta|s|m|'''altgen=tasung'''|'''altgen_note=dialectal'''|'''altacc=tasumd'''|'''altacc_note=dialectal'''|'''altnompl=tasûme'''|'''altnompl_note=dialectal'''|'''altgen2=tatung'''|'''altgen2_note=literary'''|'''altacc2=tatumd'''|'''altacc2_note=literary'''|'''altnompl2=tatûme'''|'''altnompl2_note=literary'''}}
{{rad-decl|ta|s|m|altgen=tasung|altgen_note=dialectal|altacc=tasumd|altacc_note=dialectal|altnompl=tasûme|altnompl_note=dialectal|altgen2=tatung|altgen2_note=literary|altacc2=tatumd|altacc2_note=literary|altnompl2=tatûme|altnompl2_note=literary|notags=true}}
{{rad-decl|ta|s|m|altgen=tasung|altgen_note=dialectal|altacc=tasumd|altacc_note=dialectal|altnompl=tasûme|altnompl_note=dialectal|altgen2=tatung|altgen2_note=literary|altacc2=tatumd|altacc2_note=literary|altnompl2=tatûme|altnompl2_note=literary|notags=true}}


== Post-position ==
== Post-position ==
Post-posed adjectives can be specified with {{para|adj}}. The broken forms of adjectives are automatically generated, but in the case of absolute irregularity, {{para|adjbreak}} can be used. For all other non-alternating elements in post-position, {{para|post}} can be specified. All elements in post-position are appended after the generation of the base noun, i.e. they do not need to be respecified in irregularity parameters. Definite articles included in {{para|adj}} will be adjusted accordingly.
Post-posed adjectives can be specified with {{para|adj}}. The broken forms of adjectives are automatically generated, but in the case of absolute irregularity, {{para|adjbreak}} can be used. For all other non-alternating elements in post-position, {{para|post}} can be specified. All elements in post-position are appended after the generation of the base noun, i.e. they do not need to be respecified in irregularity parameters. Definite articles included in {{para|adj}} will be adjusted accordingly, but they must be cited in the nominative. Alternatively, {{para|def(inite)}} can be specified.
  {{temp|rad-decl|ate·lvarev|v|'''adj=hregaiș'''|type=sg}}
  {{tempn|rad-decl|ate·lvarev|v|'''adj=hregaiș'''|type=sg}}
{{rad-decl|ate·lvarev|v|adj=hregaiș|type=sg|notags=true}}
{{rad-decl|ate·lvarev|v|adj=hregaiș|type=sg|notags=true}}
<hr>
<hr>
  {{temp|rad-decl|stema|HH|'''adj=asehņieș'''|gen=stemaug}}
  {{tempn|rad-decl|stema|HH|'''adj=asehņieș'''|gen=stemaug}}
{{rad-decl|stema|HH|adj=asehņieș|gen=stemaug|notags=true}}
{{rad-decl|stema|HH|adj=asehņieș|gen=stemaug|notags=true}}
<hr>
<hr>
  {{temp|rad-decl|Fva|n|'''adj=ag Aruokș'''|'''post=&nbsp;Amerik'''|type=pl}}
  {{tempn|rad-decl|Fva|n|'''adj=ag Aruokș'''|'''post=<nowiki>&nbsp;</nowiki>Amerik'''|type=pl}}
{{rad-decl|Fva|n|adj=ag Aruokș|post=&nbsp;Amerik|type=pl|notags=true}}
{{rad-decl|Fva|n|adj=ag Aruokș|post=&nbsp;Amerik|type=pl|notags=true}}
<hr>
<hr>
  {{temp|rad-decl|ter|u|dz|'''adj=irúș'''|'''adjbreak=iruuș'''|type=du|}}
  {{tempn|rad-decl|ter|u|dz|'''adj=irúș'''|'''adjbreak=iruuș'''|type=du}}
{{rad-decl|ter|u|dz|adj=irúș|adjbreak=iruuș|type=du|notags=true}}
{{rad-decl|ter|u|dz|adj=irúș|adjbreak=iruuș|type=du|notags=true}}
== Articles ==
Articles can be appended by using {{para|def(inite)}} and {{para|g(ender)|in}} (''default'') or {{para|g(ender)|an}}. If there is a post-posed adjective, the article will automatically be post-posed.
{{tempn|rad-decl|heņrek|s|'''def=1'''|'''g=an'''}}
{{rad-decl|heņrek|s|def=1|g=an}}
<hr>
{{tempn|rad-decl|Fva|n|'''adj=Aruokș'''|post=<nowiki>&nbsp;</nowiki>Amerik|type=pl|'''def=1'''}}
{{rad-decl|Fva|n|adj=Aruokș|post=&nbsp;Amerik|type=pl|notags=true|def=1}}

Latest revision as of 18:21, 22 July 2024

Edit-copy green.svg Documentation for Template:rad-decl. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This template generates Radestrian noun declension tables. It auto-categorises the stem and number type, unless |notag=true.

Base arguments

The template takes a minimum of one argument (for light and semi-light stems only) or two arguments (heavy and spirant stems). It can interpret all declension types, and will account for most orthographical alternations. Note, however, that semi-light stems must be written as (V)G in a single parameter.

{{rad-decl|rjao|v}}

{{rad-decl|he|rḤ}}

{{rad-decl|dzíni|H}}

{{rad-decl|vlunz|o}}

{{rad-decl|tvo|e}}

{{rad-decl|aș|uG}}

Radical morphophonology

An ablauting nucleus of a word can be separated, with breaking alternations marked with ~ and stem raising with ^. Both can be specified simultaneously in that order.

{{rad-decl|fv|o~u|z|o}}

{{rad-decl|l|ý~ye|G}}

{{rad-decl|sk|a^u|n|þ}}

{{rad-decl|n|í~je|v}}

{{rad-decl|mvaþ|i~e^e|r}}

Table types

The optional parameter |type= or |t= can take 5 values:

  • |type=sgpl (default)
  • |type=sg (singulare tantum)
  • |type=pl (plurale tantum)
  • |type=du (plurale binarium)
  • |type=dupl (plurale binarium tantum)
  • |type=adj (adjective)
{{rad-decl|Rakv|o|t=sg}}

{{rad-decl|dylyet|s|type=pl}}

{{rad-decl|v|a^u|H|type=du}}

{{rad-decl|dzesta|s|type=dupl}}

{{rad-decl|at|í~ie|ș|t=adj}}

Disabling IPA generation

IPA generation can be disabled with |noipa=true.

{{rad-decl|rjao|v|noipa=true}}

Irregularity

Overriding

Any base stems in the table can be overridden by specifying:

  • |nom=
  • |gen=
  • |dat=
  • |acc=
  • |ins=
  • |nompl=
  • |genpl=
  • |genpl_short=

Adding * to any form (including alternative forms; see the next section) will register it as irregular.

{{rad-decl|hjembra|v|dat=hjembrava|type=sg}}

{{rad-decl|rjø|H|dat=rjøà*|genpl=rjøșe*|genpl_short=rjøșes*|ins=rjøúr*|nompl=rjøi}}

Setting an overriden form to just * will use the auto-generated form, but will register it as irregular anyway.

{{rad-decl|dza|v^ve|H|dat=*|genpl=*|genpl_short=*|ins=*}}

Alternative forms

Any cell of the table can have alternative forms specified with |altCASE(pl/du)=. Multiple alternative forms can be specified by adding a number greater than 1 after the original parameter name, e.g. |altgen2=. Notes can also be added with |altCASE_note=.

{{rad-decl|larbastr|a^o|v|altdat=larbastrava|type=sg}}

{{rad-decl|dza|z|altgen=dzaizg|altgen_note=dialectal|gen=dzairu}}

{{rad-decl|ta|s|m|altacc=tasumd|altacc2=tatumd|altacc2_note=literary|altacc_note=dialectal|altgen=tasung|altgen2=tatung|altgen2_note=literary|altgen_note=dialectal|altnompl=tasûme|altnompl2=tatûme|altnompl2_note=literary|altnompl_note=dialectal}}

Post-position

Post-posed adjectives can be specified with |adj=. The broken forms of adjectives are automatically generated, but in the case of absolute irregularity, |adjbreak= can be used. For all other non-alternating elements in post-position, |post= can be specified. All elements in post-position are appended after the generation of the base noun, i.e. they do not need to be respecified in irregularity parameters. Definite articles included in |adj= will be adjusted accordingly, but they must be cited in the nominative. Alternatively, |def(inite)= can be specified.

{{rad-decl|ate·lvarev|v|adj=hregaiș|type=sg}}

{{rad-decl|stema|HH|adj=asehņieș|gen=stemaug}}

{{rad-decl|Fva|n|adj=ag Aruokș|post= Amerik|type=pl}}

{{rad-decl|ter|u|dz|adj=irúș|adjbreak=iruuș|type=du}}

Articles

Articles can be appended by using |def(inite)= and |g(ender)=in (default) or |g(ender)=an. If there is a post-posed adjective, the article will automatically be post-posed.

{{rad-decl|heņrek|s|def=1|g=an}}

{{rad-decl|Fva|n|adj=Aruokș|def=1|post= Amerik|type=pl}}