Module:rad-stem/templates: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 267: Line 267:
local stem_gen = get_stems(args)
local stem_gen = get_stems(args)
local stems = {
local stems = {
nom = args['nom'] or stem_gen.nom,
nom = (args['nom'] == "*" and stem_gen.nom .. "*") or args['nom'] or stem_gen.nom,
voc = args['voc'] or stem_gen.voc,
voc = (args['voc'] == "*" and stem_gen.voc .. "*") or args['voc'] or stem_gen.voc,
acc = args['acc'] or stem_gen.acc,
acc = (args['acc'] == "*" and stem_gen.acc .. "*") or args['acc'] or stem_gen.acc,
dat = args['dat'] or stem_gen.dat,
dat = (args['dat'] == "*" and stem_gen.dat .. "*") or args['dat'] or stem_gen.dat,
gen = args['gen'] or stem_gen.gen,
gen = (args['gen'] == "*" and stem_gen.gen .. "*") or args['gen'] or stem_gen.gen,
ins = args['ins'] or stem_gen.ins,
ins = (args['ins'] == "*" and stem_gen.ins .. "*") or args['ins'] or stem_gen.ins,
nompl = args['nompl'] or stem_gen.nompl,
nompl = (args['nompl'] == "*" and stem_gen.nompl .. "*") or args['nompl'] or stem_gen.nompl,
genpl = args['genpl'] or stem_gen.genpl,
genpl = (args['genpl'] == "*" and stem_gen.genpl .. "*") or args['genpl'] or stem_gen.genpl,
genpl_short = args['genpl_short'] or stem_gen.genpl_short,
genpl_short = (args['genpl_short'] == "*" and stem_gen.genpl_short .. "*") or args['genpl_short'] or stem_gen.genpl_short,
anim = args['anim'] or stem_gen.anim,
anim = args['anim'] or stem_gen.anim,
['type'] = stem_gen['type'],
['type'] = stem_gen['type'],

Navigation menu