Template:Siwa-noun: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 2: Line 2:
{{#vardefine: finalLetter|{{#switch:{{str rightmost|{{PAGENAME}}|1}}|a|e|i|o|u|y|ů=v|}}}}
{{#vardefine: finalLetter|{{#switch:{{str rightmost|{{PAGENAME}}|1}}|a|e|i|o|u|y|ů=v|}}}}
<!-- Extracts declension from final vowel -->
<!-- Extracts declension from final vowel -->
{{#vardefine: declension|{{#switch:{{str left|{{{s|{{{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|{{#switch: {{str left|{{{s|{{{2|}}}}}}|2}}|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|{{#switch: {{str left|{{{s|{{{2|}}}}}}|3}}|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: declension|<!--
  -->{{#switch:{{str left|{{{s|{{{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<!--
  -->|{{#switch: {{str left|{{{s|{{{2|}}}}}}|2}}<!--
    -->|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<!--
    -->|{{#switch: {{str left|{{{s|{{{2|}}}}}}|3}}<!--
    -->|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<!--
    -->|}}<!--
  -->}}<!--
-->}}}}
<!-- If the word has a stressed long vowel or diphthong, it's a weak noun. Otherwise, it's a strong noun. There are also criteria based on syllable count but that will be calculated manually using {{{3}}} -->
<!-- If the word has a stressed long vowel or diphthong, it's a weak noun. Otherwise, it's a strong noun. There are also criteria based on syllable count but that will be calculated manually using {{{3}}} -->
{{#vardefine: wsl|{{#if: {{{manual|{{{3|}}}}}}|{{{manual|{{{3|}}}}}}|{{#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|s}}}}}}
{{#vardefine: wsl<!--
-->|{{#if: {{{manual|{{{3|}}}}}}|{{{manual|{{{3|}}}}}}<!--
    -->|{{#switch:{{#regex:{{{s|{{{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<!--
    -->|#default=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 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: {{{a|{{{1|}}}}}}|i=inanimate|a=animate|b=ambiguous|}} noun, {{#var: declension}}-declension
<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: {{{a|{{{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%;">
Line 18: Line 48:
|-
|-
| {{term|{{PAGENAME}}}}
| {{term|{{PAGENAME}}}}
| {{term|{{#if:{{{irr|{{{4|}}}}}}|{{{irr|{{{4|}}}}}}<!--
| {{term|<!--
-->{{#if:{{{irr|{{{4|}}}}}}|{{{irr|{{{4|}}}}}}<!--
==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={{#if: {{#var: finalLetter}}|<!--
    -->|i={{#if: {{#var: finalLetter}}|<!--
          ==If finalLetter equals to something (i.e. the noun is vowel-final)==
            ==If finalLetter equals to something (i.e. the noun is vowel-final)==
          -->{{#switch:{{str crop|{{str rightmost|{{PAGENAME}}|3}}|1}}<!--
            -->{{#switch:{{str crop|{{str rightmost|{{PAGENAME}}|3}}|1}}<!--
                ==Three-letter suffixes==
                  ==Three-letter suffixes==
              -->|mm={{str crop|{{PAGENAME}}|3}}{{#switch:{{#var: wsl}}|s=mġa|}}<!--
                -->|mm={{str crop|{{PAGENAME}}|3}}{{#switch:{{#var: wsl}}|s=mġa|}}<!--
              -->|nn={{str crop|{{PAGENAME}}|3}}{{#switch:{{#var:wsl}}|s=nka|}}<!--
                -->|nn={{str crop|{{PAGENAME}}|3}}{{#switch:{{#var:wsl}}|s=nka|}}<!--
              -->|vv={{str crop|{{PAGENAME}}|3}}gga<!--
                -->|vv={{str crop|{{PAGENAME}}|3}}gga<!--
              -->|lk={{str crop|{{PAGENAME}}|3}}lkka<!--
                -->|lk={{str crop|{{PAGENAME}}|3}}lkka<!--
              -->|rk={{str crop|{{PAGENAME}}|3}}rkka<!--
                -->|rk={{str crop|{{PAGENAME}}|3}}rkka<!--
              -->|sk={{str crop|{{PAGENAME}}|3}}skka<!--
                -->|sk={{str crop|{{PAGENAME}}|3}}skka<!--
                ==Two-letter suffixes==
                  ==Two-letter suffixes==
              -->|{{#switch:{{str crop|{{str rightmost|{{PAGENAME}}|2}}|1}}<!--
                -->|{{#switch:{{str crop|{{str rightmost|{{PAGENAME}}|2}}|1}}<!--
                  -->|m={{str crop|{{PAGENAME}}|2}}{{#switch:{{#var: wsl}}|s=mġa|l=mka|w=kka|}}<!--
                    -->|m={{str crop|{{PAGENAME}}|2}}{{#switch:{{#var: wsl}}|s=mġa|l=mka|w=kka|}}<!--
                  -->|n={{str crop|{{PAGENAME}}|2}}{{#switch:{{#var:wsl}}|s=nka|w=kka|}}<!--
                    -->|n={{str crop|{{PAGENAME}}|2}}{{#switch:{{#var:wsl}}|s=nka|w=kka|}}<!--
                  -->|p|b={{str crop|{{PAGENAME}}|2}}{{#switch:{{#var:wsl}}|s=pra|w=ḍba|}}<!--
                    -->|p|b={{str crop|{{PAGENAME}}|2}}{{#switch:{{#var:wsl}}|s=pra|w=ḍba|}}<!--
                  -->|d={{str crop|{{PAGENAME}}|2}}tra<!--
                    -->|d={{str crop|{{PAGENAME}}|2}}tra<!--
                  -->|t={{str crop|{{PAGENAME}}|2}}{{#switch:{{#var: wsl}}|s=tra|w=tka|}}<!--
                    -->|t={{str crop|{{PAGENAME}}|2}}{{#switch:{{#var: wsl}}|s=tra|w=tka|}}<!--
                  -->|r={{str crop|{{PAGENAME}}|2}}{{#switch:{{#var: wsl}}|w=hka|}}<!--
                    -->|r={{str crop|{{PAGENAME}}|2}}{{#switch:{{#var: wsl}}|w=hka|}}<!--
              -->|}}<!--
                -->|}}<!--
        -->|}}<!--
            -->|}}<!--
      -->}}<!--
        -->}}<!--
     -->}}<!--
     -->|a=<!--
  -->|a=<!--
    
    
    
    
  -->|b=<!--
    -->|b=<!--
   -->|}}<!--
   -->|}}<!--
-->}}
-->}}}}
|
|
|-
|-

Revision as of 16:44, 7 December 2020




Siwa-noun — noun, -declension
Unmarked
agentive/dative
Marked
patientive/genitive
Locative
Inessive Illative Elative Adessive Allative Ablative
Siwa-noun [Term?]