Difference between revisions of "Template:Xyn-ndec"

From CWS Planet
Jump to navigation Jump to search
(Created table)
 
(Finished cell contents and made examples)
Line 1: Line 1:
<div class="NavFrame" style="width:100%">
<div class="NavFrame" style="width:100%">
<div class="NavHead" style="background:#eff7ff; width:99%">Declension of'' {{{1}}} ''({{{3}}}, {{#ifeq:{{{4}}}|countable|countable|uncountable}})</div>
<div class="NavHead" style="background:#eff7ff; width:99%">Declension of'' {{{1}}} ''({{{3}}}, {{#ifeq:{{{4}}}|yes|countable|uncountable}})</div>
<div class="NavContent">
<div class="NavContent">


Line 15: Line 15:
! style="background:#99cc99; width:3%" | 1st
! style="background:#99cc99; width:3%" | 1st
! style="background:#cfedcc" | Nominative
! style="background:#cfedcc" | Nominative
| style="background:#fafafa |  
| style="background:#fafafa | {{{1}}}
| style="background:#fafafa |  
| style="background:#fafafa | {{{2}}}
| style="background:#fafafa |  
| style="background:#fafafa | {{#ifeq: {{{4}}}|no|—|{{{pl|{{{1}}}or}}}}}
| style="background:#fafafa |  
| style="background:#fafafa | {{#ifeq: {{{4}}}|no|—|{{{pdn|{{{pl|{{{1}}}or}}}ne}}}}}
|-
|-
! style="background:#99cc99; width:3%" | 2nd
! style="background:#99cc99; width:3%" | 2nd
! style="background:#cfedcc" | Dative
! style="background:#cfedcc" | Dative
| style="background:#fafafa |  
| style="background:#fafafa | {{{sid|{{{1}}}ja}}}
| style="background:#fafafa |  
| style="background:#fafafa | {{{sdd|{{{2}}}ja}}}
| style="background:#fafafa |  
| style="background:#fafafa | {{#ifeq: {{{4}}}|no|—|{{{pid|{{{pl|{{{1}}}or}}}ja}}}}}
| style="background:#fafafa |  
| style="background:#fafafa | {{#ifeq: {{{4}}}|no|—|{{{pdd|{{{pl|{{{1}}}or}}}neja}}}}}
|-
|-
! style="background:#99cc99; width:3%" | 3rd
! style="background:#99cc99; width:3%" | 3rd
! style="background:#cfedcc" | Genitive
! style="background:#cfedcc" | Genitive
| style="background:#fafafa |  
| style="background:#fafafa | {{{sig|{{{1}}}s}}}
| style="background:#fafafa |  
| style="background:#fafafa | {{{sdg|{{{2}}}s}}}
| style="background:#fafafa |  
| style="background:#fafafa | {{#ifeq: {{{4}}}|no|—|{{{pig|{{{pl|{{{1}}}or}}}s}}}}}
| style="background:#fafafa |  
| style="background:#fafafa | {{#ifeq: {{{4}}}|no|—|{{{pdg|{{{pl|{{{1}}}or}}}s}}}}}
|-
|-
! style="background:#99cc99; width:3%" | 4th
! style="background:#99cc99; width:3%" | 4th
! style="background:#cfedcc" | Vocative
! style="background:#cfedcc" | Vocative
| style="background:#fafafa |  
| style="background:#fafafa" colspan=2 | {{{sv|{{{1}}}v}}}
| style="background:#fafafa |  
| style="background:#fafafa" colspan=2 | {{#ifeq: {{{4}}}|no||{{{pv|{{{pl|{{{1}}}or}}}v}}}}}
| style="background:#fafafa |  
| style="background:#fafafa |  
|-
|-
! style="background:#99cc99; width:3%" | 5th
! style="background:#99cc99; width:3%" | 5th
! style="background:#cfedcc" | Accusative
! style="background:#cfedcc" | Accusative
| style="background:#fafafa |  
| style="background:#fafafa | {{{sia|{{{1}}}}}}
| style="background:#fafafa |  
| style="background:#fafafa | {{{sda|{{{2}}}}}}
| style="background:#fafafa |  
| style="background:#fafafa | {{#ifeq: {{{4}}}|no|—|{{{pia|{{{pl|{{{1}}}or}}}}}}}}
| style="background:#fafafa |  
| style="background:#fafafa | {{#ifeq: {{{4}}}|no|—|{{{pda|{{{pl|{{{1}}}or}}}na}}}}}
|-
|-
! style="background:#99cc99; width:3%" | 6th
! style="background:#99cc99; width:3%" | 6th
! style="background:#cfedcc" | Lative
! style="background:#cfedcc" | Lative
| style="background:#fafafa |  
| style="background:#fafafa | {{{sil|{{{1}}}ið}}}
| style="background:#fafafa |  
| style="background:#fafafa | {{{sdl|{{{2}}}ið}}}
| style="background:#fafafa |  
| style="background:#fafafa | {{#ifeq: {{{4}}}|no|—|{{{pil|{{{pl|{{{1}}}or}}}ið}}}}}
| style="background:#fafafa |  
| style="background:#fafafa | {{#ifeq: {{{4}}}|no|—|{{{pdl|{{{pl|{{{1}}}or}}}nið}}}}}
|}</div></div>
|}</div></div>
<noinclude>
<noinclude>
Line 61: Line 59:
2 = singular definite nominative form<br/>
2 = singular definite nominative form<br/>
3 = grammatical gender<br/>
3 = grammatical gender<br/>
4 = countable (true/false)<br/>
4 = countable (yes/no)<br/>


Likewise, there are also some optional arguments which override certain forms:<br/>
Likewise, there are also some optional arguments which override certain forms:<br/>
Line 67: Line 65:
pl = plural indefinite nominative form (if applicable; otherwise assumed -or)<br/>
pl = plural indefinite nominative form (if applicable; otherwise assumed -or)<br/>
<br/>
<br/>
You can override individual cells by glossing them with the first letter of each term according to the hierarchy ''number, definiteness, case''.<br/>Thus setting the variable ''pdl'' will override the contents for the cell ''plural definite lative form''.
You can override individual cells by glossing them with the first letter of each term according to the hierarchy ''number, definiteness, case''.<br/>Thus setting the variable ''pdl'' will override the contents for the cell ''plural definite lative form''. The variables ''sin, sdn ''and'' pin'' don't not exist, however, as these variables are already set as ''1, 2 ''and'' pl'' respectively. For the vocative case, you would only need to specify the variables ''sv'' and ''pv''.<br/>
<br/>
=== Examples: ===
<nowiki>{{Xyn-ndec|Göas|Göasit|masculine|yes|sid=Göasza|sig=Göases}}</nowiki>
{{Xyn-ndec|Göas|Göasit|masculine|yes|sid=Göasza|sig=Göases}}<br/>
<nowiki>{{Xyn-ndec|Dryks|Dryksit|neuter|no|sid=Dryksza|sig=Drykses|sia=Dryksu|sv=Dryksu}}</nowiki>
{{Xyn-ndec|Dryks|Dryksit|neuter|no|sid=Dryksza|sig=Drykses|sia=Dryksu|Dryksu}}<br/>


[[Category:Xynder inflection templates]]
[[Category:Xynder inflection templates]]
</noinclude>
</noinclude>

Revision as of 17:11, 30 July 2016

Usage Notes

There are 4 necessary arguments:
1 = singular indefinite nominative form
2 = singular definite nominative form
3 = grammatical gender
4 = countable (yes/no)

Likewise, there are also some optional arguments which override certain forms:
acc = singular indefinite accusative form (if applicable; otherwise assumed same as nominative)
pl = plural indefinite nominative form (if applicable; otherwise assumed -or)

You can override individual cells by glossing them with the first letter of each term according to the hierarchy number, definiteness, case.
Thus setting the variable pdl will override the contents for the cell plural definite lative form. The variables sin, sdn and pin don't not exist, however, as these variables are already set as 1, 2 and pl respectively. For the vocative case, you would only need to specify the variables sv and pv.

Examples:

{{Xyn-ndec|Göas|Göasit|masculine|yes|sid=Göasza|sig=Göases}}


{{Xyn-ndec|Dryks|Dryksit|neuter|no|sid=Dryksza|sig=Drykses|sia=Dryksu|sv=Dryksu}}