47,726
edits
![]() | We're back! Sorry, bad combo of sickness, funeral and a month-long trip abroad. The site is back now. ![]() |
Tag: Undo |
No edit summary |
||
Line 1: | Line 1: | ||
<!-- Tells apart vowel- from consonant-final words --> | <!-- Tells apart vowel- from consonant-final words --> | ||
{{#vardefine: finalLetter|{{#switch:{{str rightmost|{{PAGENAME}}|1}}|a|e|i|o|u|y|ů=vf|}}}} | {{#vardefine: finalLetter|{{#switch:{{str rightmost|{{PAGENAME}}|1}}|a|e|i|o|u|y|ů=vf|cf}}}} | ||
<!-- Extracts declension from final vowel --> | <!-- Extracts declension from final vowel --> | ||
{{#vardefine: declension|<!-- | {{#vardefine: declension|<!-- | ||
Line 77: | Line 77: | ||
==If the irr(egular) parameter is used (i.e. it's filled), its value supersedes the whole algorithm below== | ==If the irr(egular) parameter is used (i.e. it's filled), its value supersedes the whole algorithm below== | ||
-->|{{#switch: {{{a|{{{1|}}}}}}<!-- | -->|{{#switch: {{{a|{{{1|}}}}}}<!-- | ||
-->|i={{# | -->|i={{#ifeq: {{#var: finalLetter}}<!-- | ||
==Vowel- vs. consonant-final== | |||
-->{{#switch: {{#var: declension}}<!-- | -->|vf<!-- | ||
-->|{{#switch: {{#var: declension}}<!-- | |||
==A-declension== | ==A-declension== | ||
-->|A={{#switch:{{str crop|{{str rightmost|{{PAGENAME}}|3}}|1}}<!-- | -->|A={{#switch:{{str crop|{{str rightmost|{{PAGENAME}}|3}}|1}}<!-- |