Module:qhv-verb: Difference between revisions

Jump to navigation Jump to search
2,152 bytes removed ,  16 April 2021
no edit summary
No edit summary
No edit summary
Line 162: Line 162:
]=]
]=]
local final = [=[
local active = [=[
{| style="background:#F9F9F9; text-align:center; width:100%; border-collapse: collapse;" border="1px solid #000"
{| style="background:#F9F9F9; text-align:center; width:100%; border-collapse: collapse;" border="1px solid #000"
|- style="background: #7AB350"
|- style="background: #7AB350"
Line 206: Line 206:
! colspan="2" style="background: #508626; width: 7em" |  
! colspan="2" style="background: #508626; width: 7em" |  
! infinitive
! infinitive
! participle
! participle
|-
! rowspan="5" style="background: #7AB350; width: 7em" | nonfinite
! style="background: #ADE981; width: 7em" | present
|
|
|-
! style="background: #ADE981; width: 7em" | aorist
|
|
|-
! style="background: #ADE981; width: 7em" | future
|
|
|-
! style="background: #ADE981; width: 7em" | perfect
|
|
|-
! style="background: #ADE981; width: 7em" | past habitual
|
|
|-
|}</div></div>
<div class="mw-collapsible mw-collapsed" style="border-collapse: collapse; margin: 0px 0px -1px 0px; padding: 2px; text-align: center; border: 1px solid #aaaaaa; font-size: 95%; overflow: auto; width: auto;">
<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);"><span class="nowrap">Conjugation of ''<span lang="qhv">{{{pagenamex}}}</span>'' — passive voice</span></div>
<div class="mw-collapsible-content" style="font-size: 100%;">
{| style="background:#F9F9F9; text-align:center; width:100%; border-collapse: collapse;" border="1px solid #000"
|- style="background: #b35350"
! colspan="2" rowspan="3" style="background: #862826; color: #fff; width: 7em" | a-stem
! colspan="3" | singular
! colspan="3" | plural
|- style="background: #e88581"
! 1<sup>st</sup> person
! 2<sup>nd</sup> person
! 3<sup>rd</sup> person
! 1<sup>st</sup> person
! 2<sup>nd</sup> person
! 3<sup>rd</sup> person
|- style="background: #f5c6bd;"
! nyke
! ao
! ziry/ūja
! īlon
! jeme
! pōnta
|-
! rowspan="7" style="background: #b35350; width: 7em" | indicative
! style="background: #e88581; width: 7em" | present
|
|
|
|
|
|
|-
! style="background: #e88581; width: 7em" | aorist
|
|
|
|
|
|
|-
! style="background: #e88581; width: 7em" | future
|
|
|
|
|
|
|-
|-
! style="background: #e88581; width: 7em" | imperfect
! rowspan="5" style="background: #7AB350; width: 7em" | nonfinite
|
! style="background: #ADE981; width: 7em" | present
|
|
|
|  
|  
|  
|  
|-
|-
! style="background: #e88581; width: 7em" | perfect
! style="background: #ADE981; width: 7em" | aorist
|
|
|
|
|  
|  
|  
|  
|-
|-
! style="background: #e88581; width: 7em" | pluperfect
! style="background: #ADE981; width: 7em" | future
|
|
|
|
|  
|  
|  
|  
|-
|-
! style="background: #e88581; width: 7em" | past habitual
! style="background: #ADE981; width: 7em" | perfect
|
|
|
|
|  
|  
|  
|  
|-
|-
! style="background:#808080; height:.2em" colspan="9" |
! style="background: #ADE981; width: 7em" | past habitual
|-
! rowspan="7" style="background: #b35350; width: 7em" | subjunctive
! style="background: #e88581; width: 7em" | present
|
|
|
|
|  
|  
|  
|  
|-
|-
! style="background: #e88581; width: 7em" | aorist
|}</div></div>
|  
]=]
|  
|  
local passive = [=[
|  
{| style="background:#F9F9F9; text-align:center; width:100%; border-collapse: collapse;" border="1px solid #000"
|
|- style="background: #7AB350"
|
! colspan="2" rowspan="3" style="background: #508626; color: #fff; width: 7em" | a-stem
! colspan="3" | singular
! colspan="3" | plural
|- style="background: #ADE981"
! 1<sup>st</sup> person
! 2<sup>nd</sup> person
! 3<sup>rd</sup> person
! 1<sup>st</sup> person
! 2<sup>nd</sup> person
! 3<sup>rd</sup> person
|- style="background: #CEF6BD;"
! nyke
! ao
! ziry/ūja
! īlon
! jeme
! pōnta
|-
|-
! style="background: #e88581; width: 7em" | future
]=] .. make_cases(data, "finite active") .. [=[
|
|
|
|
|
|
|-
|-
! style="background: #e88581; width: 7em" | imperfect
! rowspan="7" style="background: #7AB350; width: 7em" | imperative
|
! style="background: #ADE981; width: 7em" | present
|
|
|
|
|
|-
! style="background: #e88581; width: 7em" | perfect
|
|
|
|
|
|
|-
! style="background: #e88581; width: 7em" | pluperfect
|
|
|
|
|
|
|-
! style="background: #e88581; width: 7em" | past habitual
|
|
|
|
|
|
|-
! style="background:#808080; height:.2em" colspan="9" |
|-
! rowspan="7" style="background: #b35350; width: 7em" | imperative
! style="background: #e88581; width: 7em" | present
| rowspan="3" |  
| rowspan="3" |  
|  
|  
Line 379: Line 263:
| rowspan="3" |  
| rowspan="3" |  
|-
|-
! style="background: #e88581; width: 7em" | aorist
! style="background: #ADE981; width: 7em" | aorist
|  
|  
|  
|  
|-
|-
! style="background: #e88581; width: 7em" | future
! style="background: #ADE981; width: 7em" | future
|  
|  
|  
|  
Line 389: Line 273:
|}<ul style="margin-left:0px;"></ul>
|}<ul style="margin-left:0px;"></ul>
{| style="background:#F9F9F9; text-align:center; width:100%; border-collapse: collapse;" border="1px solid #000"
{| style="background:#F9F9F9; text-align:center; width:100%; border-collapse: collapse;" border="1px solid #000"
|- style="background: #e88581"
|- style="background: #7AB350"
! colspan="2" style="background: #862826; width: 7em" | &nbsp;
! colspan="2" style="background: #508626; width: 7em" | &nbsp;
! infinitive
! infinitive
! participle
! participle
|-
|-
! rowspan="5" style="background: #b35350; width: 7em" | nonfinite
! rowspan="5" style="background: #7AB350; width: 7em" | nonfinite
! style="background: #e88581; width: 7em" | present
! style="background: #ADE981; width: 7em" | present
|  
|
|  
|  
|-
|-
! style="background: #e88581; width: 7em" | aorist
! style="background: #ADE981; width: 7em" | aorist
|  
|  
|  
|  
|-
|-
! style="background: #e88581; width: 7em" | future
! style="background: #ADE981; width: 7em" | future
|  
|  
|  
|  
|-
|-
! style="background: #e88581; width: 7em" | perfect
! style="background: #ADE981; width: 7em" | perfect
|  
|  
|  
|  
|-
|-
! style="background: #e88581; width: 7em" | past habitual
! style="background: #ADE981; width: 7em" | past habitual
|  
|  
|  
|  
|-
|-
|}
|}</div></div>
]=]
]=]
local wikicode = divframe .. final .. "</div></div>"
local wikicode = divframe .. active .. divframe .. passive
return (gsub(wikicode, "{{{([a-z0-9_]+)}}}", repl)) .. (data.no_cat and "" or require("Module:utilities").format_categories(data.categories, lang))
return (gsub(wikicode, "{{{([a-z0-9_]+)}}}", repl)) .. (data.no_cat and "" or require("Module:utilities").format_categories(data.categories, lang))

Navigation menu