Module:qay-verb: Difference between revisions
No edit summary |
No edit summary |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 20: | Line 20: | ||
if word:match("a$") then | if word:match("a$") then | ||
return "a", {word} | return "a", {word} | ||
elseif word:match("[eiou]$") or word:match("[ | elseif word:match("[eiou]$") or word:match("[aeiou]y$") then | ||
return "v", {word} | return "v", {word} | ||
elseif word:match("[ptkbdgmncvshrlj][ptkbdgmncvshrlj]") then | elseif word:match("[ptkbdgmncvshrlj][sv]$") or word:match("ng$") then | ||
return "c", {word} | |||
elseif word:match("[ptkbdgmncvshrlj][ptkbdgmncvshrlj]$") then | |||
return "2c", {word} | return "2c", {word} | ||
else | else | ||
| Line 159: | Line 161: | ||
local navframe = [=[ | local navframe = [=[ | ||
<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: | <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: 40%;"> | ||
<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);">'' | <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}}}'' — verb ({{{decl_type}}})</div> | ||
<div class="mw-collapsible-content" style="font-size: 100%;"> | <div class="mw-collapsible-content" style="font-size: 100%;"> | ||
]=] | ]=] | ||
| Line 167: | Line 169: | ||
{| border="1px solid #d0d0d0" style="border-collapse:collapse; background:#F9F9FF; text-align:center; width:100%" cellspacing="1" cellpadding="2" | {| border="1px solid #d0d0d0" style="border-collapse:collapse; background:#F9F9FF; text-align:center; width:100%" cellspacing="1" cellpadding="2" | ||
|- style="background-color:#000080; color:white" | |- style="background-color:#000080; color:white" | ||
! !! colspan="2" style="width: | ! !! colspan="2" style="width:15%" | Person !! Topicalized !! Clitic agent | ||
]=] .. make_forms(data) .. [=[ | ]=] .. make_forms(data) .. [=[ | ||
|}</div></div>]=] | |}</div></div>]=] | ||