Template:Siwa-noun: Difference between revisions

From Linguifex
Jump to navigation Jump to search
(Created page with "<div class="mw-collapsible" style="border-collapse: collapse; margin: 0px 0px -1px 0px; padding: 2px; border: 1px solid #aaaaaa; text-align: center; font-size: 95%; overflow:...")
 
No edit summary
Line 1: Line 1:
<div class="mw-collapsible" style="border-collapse: collapse; margin: 0px 0px -1px 0px; padding: 2px; border: 1px solid #aaaaaa; text-align: center; font-size: 95%; overflow: auto; width: auto;">
<!-- Tells apart vowel- from consonant-final words -->
<div style="min-height: 1.6em; font-weight:bold; font-size: 100%; text-align: left; background-color:#efefef; padding-left: 10px; background-image: -webkit-gradient(linear, left top, left bottom, from(#EFEFEF), to(#DFDFDF), color-stop(0.6, #E3E3E3)); background-image: -moz-linear-gradient(top, #EFEFEF, #E3E3E3 60%, #DFDFDF);  background-image: -o-linear-gradient(top, #EFEFEF, #E3E3E3 60%, #DFDFDF);">{{PAGENAME}} — {{#switch: {{{1}}}|i=inanimate|a=animate|}} noun
{{#vardefine: finalLetter|{{#switch:{{str rightmost|{{PAGENAME}}|1}}|a|e|i|o|u|y|ů=vf|}}}}
<!-- Extracts declension from final vowel -->
{{#vardefine: declension|{{#switch:{{str left|{{{2}}}|1}}|a|ả|au|ai|oa=A|e|ẻ|ę|ei|ay=E|i|ỉ|ie|ia=I|o|ỏ|ou|oi=O|u|ủ|uo|ui=U|y|ỷ|ů|ẻu|eu|ůi|ůa=Y|}}}}
 
{{#vardefine: wsl|{{#switch:{{#regex:{{{2}}}|(ả|ẻ|ỉ|ỏ|ủ|ỷ|ẻu|õu|ai|au|ay|ei|eu|ey|ia|ie|io|iu|iů|oa|oi|ou|ua|ui|uo|ůa|ůi)}}|ả|ẻ|ỉ|ỏ|ủ|ỷ|ẻu|õu|ai|au|ay|ei|eu|ey|ia|ie|io|iu|iů|oa|oi|ou|ua|ui|uo|ůa|ůi=w|{{#ifexpr:{{{sy|{{{3|}}}}}}>=3|w|s}}}}}}
 
<div class="" style="border-collapse: collapse; margin: 0px 0px -1px 0px; padding: 2px; border: 1px solid #aaaaaa; text-align: center; font-size: 95%; overflow: auto; width: 70%;">
<div style="min-height: 1.6em; font-weight:bold; font-size: 100%; text-align: left; background-color:#efefef; padding-left: 10px; background-image: -webkit-gradient(linear, left top, left bottom, from(#EFEFEF), to(#DFDFDF), color-stop(0.6, #E3E3E3)); background-image: -moz-linear-gradient(top, #EFEFEF, #E3E3E3 60%, #DFDFDF);  background-image: -o-linear-gradient(top, #EFEFEF, #E3E3E3 60%, #DFDFDF);">{{PAGENAME}} — {{#switch: {{{1}}}|i=inanimate|a=animate|b=ambiguous|}} noun, {{#var: declension}}-declension
</div>
</div>
<div class="mw-collapsible-content" style="font-size: 100%;">
<div class="mw-collapsible-content" style="font-size: 100%;">
{| border="1px solid #000000" style="border-collapse:collapse; background:#fafafa; text-align:center; width:100%"
{| border="1px solid #000000" style="border-collapse:collapse; background:#fafafa; text-align:center; width:100%"
|-
|-
|
! rowspan=2 | Unmarked<br>''agentive/dative'' !! rowspan=2 | Marked<br>''patientive/genitive'' !! colspan="6" | Locative
|-
! Inessive !! Illative !! Elative !! Adessive !! Allative !! Ablative
|-
| {{term|{{PAGENAME}}}} || {{#switch: {{{1}}}
|i={{#ifeq:{{#var: finalLetter}}|
  vf|
|-
|-
|}</div></div>
|}</div></div>
{{#var: wsl}}

Revision as of 20:36, 5 December 2020




Siwa-noun — noun, -declension
Unmarked
agentive/dative
Marked
patientive/genitive
Locative
Inessive Illative Elative Adessive Allative Ablative
Siwa-noun {{#switch: {{{1}}}
  vf|

Expression error: Unexpected >= operator.