Module:rad-stem/templates: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
No edit summary
Line 254: Line 254:
th("singular")
th("singular")
th("plural")
th("plural")
tr_()
_tr()
tr()
th("nominative", 1, 2)
th("nominative", 1, 2)
if nom == nompl then
if nom == nompl then
Line 266: Line 265:
td(nompl, 2)
td(nompl, 2)
end
end
tr_()
_tr()
tr()
th("vocative", 1, 2)
th("vocative", 1, 2)
if nom ~= nompl and nom ~= voc then td(voc) end
if nom ~= nompl and nom ~= voc then td(voc) end
tr_()
_tr()
tr()
th("genitive", 2, 1)
th("genitive", 2, 1)
th("long")
th("long")
td(gen, 2, 1)
td(gen, 2, 1)
td(genpl)
td(genpl)
tr_()
_tr()
tr()
th("short")
th("short")
td(genpl_short)
td(genpl_short)
tr_()
_tr()
tr()
th("dative", 1, 2)
th("dative", 1, 2)
td(dat)
td(dat)
td(datpl)
td(datpl)
tr_()
_tr()
tr()
th("accusative", 1, 2)
th("accusative", 1, 2)
td(acc)
td(acc)
td(accpl)
td(accpl)
tr_()
_tr()
tr()
th("instrumental", 1, 2)
th("instrumental", 1, 2)
td(ins)
td(ins)
Line 301: Line 294:
th("")
th("")
th("singular")
th("singular")
tr_()
_tr()
tr()
th("nominative")
th("nominative")
if nom == voc then td(nom, 2) else td(nom) end
if nom == voc then td(nom, 2) else td(nom) end
tr_()
_tr()
tr()
th("vocative")
th("vocative")
if nom ~= voc then td(voc) end
if nom ~= voc then td(voc) end
tr_()
_tr()
tr()
th("genitive")
th("genitive")
td(gen)
td(gen)
tr_()
_tr()
tr()
th("dative")
th("dative")
td(dat)
td(dat)
tr_()
_tr()
tr()
th("accusative")
th("accusative")
td(acc)
td(acc)
tr_()
_tr()
tr()
th("instrumental")
th("instrumental")
td(ins)
td(ins)
Line 331: Line 318:
th("", 1, 2)
th("", 1, 2)
th("plural")
th("plural")
tr_()
_tr()
tr()
th("nominative", 1, 2)
th("nominative", 1, 2)
td(nompl, 2)
td(nompl, 2)
tr_()
_tr()
tr()
th("vocative", 1, 2)
th("vocative", 1, 2)
tr_()
_tr()
tr()
th("genitive", 2, 1)
th("genitive", 2, 1)
th("long")
th("long")
td(genpl)
td(genpl)
tr_()
_tr()
tr()
th("short")
th("short")
td(genpl_short)
td(genpl_short)
tr_()
_tr()
tr()
th("dative", 1, 2)
th("dative", 1, 2)
td(datpl)
td(datpl)
tr_()
_tr()
tr()
th("accusative", 1, 2)
th("accusative", 1, 2)
td(accpl)
td(accpl)
tr_()
_tr()
tr()
th("instrumental", 1, 2)
th("instrumental", 1, 2)
td(inspl)
td(inspl)
Line 366: Line 346:
th("singular", 2, 1)
th("singular", 2, 1)
th("plural", 1, 2)
th("plural", 1, 2)
tr_()
_tr()
tr()
th("binary")
th("binary")
th("true")
th("true")
tr_()
_tr()
tr()
th("nominative", 1, 2)
th("nominative", 1, 2)
if nom == voc then td(nom, 2) else td(nom) end
if nom == voc then td(nom, 2) else td(nom) end
td(nomdu, 2)
td(nomdu, 2)
td(nompl, 2)
td(nompl, 2)
tr_()
_tr()
tr()
th("vocative", 1, 2)
th("vocative", 1, 2)
if nom ~= voc then td(voc) end
if nom ~= voc then td(voc) end
tr_()
_tr()
tr()
th("genitive", 2, 1)
th("genitive", 2, 1)
th("long")
th("long")
Line 387: Line 363:
td(gendu)
td(gendu)
td(genpl)
td(genpl)
tr_()
_tr()
tr()
th("short")
th("short")
td(gendu_short)
td(gendu_short)
td(genpl_short)
td(genpl_short)
tr_()
_tr()
tr()
th("dative", 1, 2)
th("dative", 1, 2)
td(dat)
td(dat)
td(datdu)
td(datdu)
td(datpl)
td(datpl)
tr_()
_tr()
tr()
th("accusative", 1, 2)
th("accusative", 1, 2)
td(acc)
td(acc)
td(accdu)
td(accdu)
td(accpl)
td(accpl)
tr_()
_tr()
tr()
th("instrumental", 1, 2)
th("instrumental", 1, 2)
td(ins)
td(ins)
Line 416: Line 388:
th("", 1, 2)
th("", 1, 2)
th("binary plural")
th("binary plural")
tr_()
_tr()
tr()
th("nominative", 1, 2)
th("nominative", 1, 2)
td(nomdu, 2)
td(nomdu, 2)
tr_()
_tr()
tr()
th("vocative", 1, 2)
th("vocative", 1, 2)
tr_()
_tr()
tr()
th("genitive", 2, 1)
th("genitive", 2, 1)
th("long")
th("long")
td(gendu)
td(gendu)
tr_()
_tr()
tr()
th("short")
th("short")
td(gendu_short)
td(gendu_short)
tr_()
_tr()
tr()
th("dative", 1, 2)
th("dative", 1, 2)
td(datdu)
td(datdu)
tr_()
_tr()
tr()
th("accusative", 1, 2)
th("accusative", 1, 2)
td(accdu)
td(accdu)
tr_()
_tr()
tr()
th("instrumental", 1, 2)
th("instrumental", 1, 2)
td(insdu)
td(insdu)
Line 577: Line 542:
th("imperative", 1, 2)
th("imperative", 1, 2)
th()
th()
if pp.imp == pp.a then
if pp.imp then
td(get_forms(pp.a), 2, 1)
td(get_forms(pp.a), 2, 1)
else
else
Line 584: Line 549:
td(get_forms(pp['2s'],"úș"))
td(get_forms(pp['2s'],"úș"))
th("", 1, 2)
th("", 1, 2)
td(get_forms(pp.pl,"uoș"))
td(get_forms(pp.pl or pp['2s'],"uoș"))
th()
th()
td(get_forms(pp.o,"vú"))
td(get_forms(pp.o,"vú"))
th("", 1, 2)
th("", 1, 2)
td(get_forms(pp.pl,"úr"))
td(get_forms(pp.pl or pp['2s'],"úr"))
_tr()
th("indicative", 2, 1)
th("non-past")
td(get_forms(pp['1s']))
if pp.imp ~= pp.a then td(get_forms(pp.a)) end
if pp['3s'] == (pp.depers or pp['2s']) then
td(get_forms(pp['3s']), 1, 3)
else
td(get_forms(pp['3s']), 1, 2)
td(get_forms(pp.depers or pp['2s']))
end
local temp_height = 1
if get_forms(pp.pl or pp['2s'],"ú") == get_forms(pp.upst) then temp_height = 2 end
td(get_forms(pp.pl or pp['2s'],"uos"), temp_height)
td(get_forms(pp.pl or pp['2s'],"uote"), temp_height)
td(get_forms(pp.pl or pp['2s'],"ú"), temp_height, 3)
td(get_forms(pp.pl or pp['2s'],"ún"), temp_height)
_tr()
if pp.epst then
td(get_forms(pp.epst,"e"))
td(get_forms(pp.epst,"n"))
td(get_forms(pp.epst,"ș"),1,2)
td(get_forms(pp.epst))
else
td(get_forms(pp.pst,"ei"))
td(get_forms(pp.pst,"en"))
td(get_forms(pp.pst,"eș"),1,2)
td(get_forms(pp.pst,"e"))
end
--[[
--[[
=p.conjugate(mw.getCurrentFrame():newChild{title="whatever",args={"deat","de",["pl"]="di","diș","deti","dev",["t"]="intr",["altnonfin"]="hellu",["altnonfin_note"]="uwu",["altnonfin2"]="hella",["altnonfin2_note"]="owo"}})
=p.conjugate(mw.getCurrentFrame():newChild{title="whatever",args={"deat","de",["pl"]="di","diș","deti","dev",["t"]="intr",["altnonfin"]="hellu",["altnonfin_note"]="uwu",["altnonfin2"]="hella",["altnonfin2_note"]="owo"}})
<!--
|-
! rowspan="2" | indicative
! non-past
| {{wl-rad-IPA|{{{1S|{{{2}}}e}}}}}
{{#ifeq: {{{imp|{{{a|{{{depers|{{{2}}}}}}a}}}}}}|{{{a|{{{2}}}a}}}||{{!}} {{wl-rad-IPA|{{{a|{{{2}}}a}}}}}}}
| {{#ifeq: {{{3S|{{{2}}}ș}}}|{{{depers|{{{2}}}}}}|colspan="3"|colspan="2"}} | {{wl-rad-IPA|{{{3S|{{{2}}}ș}}}}}<!--
-->{{#ifeq: {{{3S|{{{2}}}ș}}}|{{{depers|{{{2}}}}}}||<td>{{wl-rad-IPA|{{{depers|{{{2}}}}}}}}</td>}}
| {{#ifeq: {{{pl|{{{2}}}}}}uo|{{{upst2|{{{3}}}uo}}}|rowspan="2" {{!}}|}} {{wl-rad-IPA|{{{pl|{{{2}}}}}}uos}}
| {{#ifeq: {{{pl|{{{2}}}}}}uo|{{{upst2|{{{3}}}uo}}}|rowspan="2" {{!}}|}} {{wl-rad-IPA|{{{pl|{{{2}}}}}}uote}}
| {{#ifeq: {{{pl|{{{2}}}}}}ú|{{{upst1|{{{3}}}ú}}}|rowspan="2"|}} colspan="3" | {{wl-rad-IPA|{{{pl|{{{2}}}}}}ú}}
| {{#ifeq: {{{pl|{{{2}}}}}}ú|{{{upst1|{{{3}}}ú}}}|rowspan="2" {{!}}|}} {{wl-rad-IPA|{{{pl|{{{2}}}}}}ún}}
|-
! past
| {{wl-rad-IPA|{{#if:{{{epst|}}}|{{{epst}}}e|{{{3}}}ei}}}}
| {{wl-rad-IPA|{{{epst|{{{3}}}e}}}n}}
| colspan="2" | {{wl-rad-IPA|{{{epst|{{{3}}}e}}}ș}}
| {{wl-rad-IPA|{{{epst|{{{3}}}e}}}}}<!--
-->{{#ifeq: {{{pl|{{{2}}}}}}uo|{{{upst2|{{{3}}}uo}}}||<td>{{wl-rad-IPA|{{{upst2|{{{3}}}uo}}}s}}</td>}}<!--
-->{{#ifeq: {{{pl|{{{2}}}}}}uo|{{{upst2|{{{3}}}uo}}}||<td>{{wl-rad-IPA|{{{upst2|{{{3}}}uo}}}s}}</td>}}<!--
-->{{#ifeq: {{{pl|{{{2}}}}}}uo|{{{upst2|{{{3}}}uo}}}||<td>{{wl-rad-IPA|{{{upst2|{{{3}}}uo}}}te}}</td>}}<!--
-->{{#ifeq: {{{pl|{{{2}}}}}}uo|{{{upst2|{{{3}}}uo}}}||<td>{{wl-rad-IPA|{{{upst2|{{{3}}}uo}}}te}}</td>}}<!--

Navigation menu