|
|
| Line 56: |
Line 56: |
|
| |
|
| local out = {} | | local out = {} |
| table.insert(out, '{| class="wikitable" style="text-align:center;"')
| |
| table.insert(out, '|-')
| |
| table.insert(out, '! Number !! Case !! Declension')
| |
|
| |
| -- Singular rows
| |
| table.insert(out, '|-')
| |
| table.insert(out, '! rowspan=4 | Singular')
| |
| table.insert(out, '! ' .. small("nom."))
| |
| table.insert(out, '| ' .. showForm("nominative", "sg"))
| |
|
| |
| table.insert(out, '|-')
| |
| table.insert(out, '! ' .. small("acc."))
| |
| table.insert(out, '| ' .. showForm("accusative", "sg"))
| |
|
| |
| table.insert(out, '|-')
| |
| table.insert(out, '! ' .. small("dat."))
| |
| table.insert(out, '| ' .. showForm("dative", "sg"))
| |
|
| |
| table.insert(out, '|-')
| |
| table.insert(out, '! ' .. small("gen."))
| |
| table.insert(out, '| ' .. showForm("genitive", "sg"))
| |
|
| |
| -- Plural rows
| |
| table.insert(out, '|-')
| |
| table.insert(out, '! rowspan=4 | Plural')
| |
| table.insert(out, '! ' .. small("nom."))
| |
| table.insert(out, '| ' .. showForm("nominative", "pl"))
| |
|
| |
| table.insert(out, '|-')
| |
| table.insert(out, '! ' .. small("acc."))
| |
| table.insert(out, '| ' .. showForm("accusative", "pl"))
| |
|
| |
| table.insert(out, '|-')
| |
| table.insert(out, '! ' .. small("dat."))
| |
| table.insert(out, '| ' .. showForm("dative", "pl"))
| |
|
| |
| table.insert(out, '|-')
| |
| table.insert(out, '! ' .. small("gen."))
| |
| table.insert(out, '| ' .. showForm("genitive", "pl"))
| |
|
| |
| table.insert(out, '|}')
| |
| return table.concat(out, '\n') | | return table.concat(out, '\n') |
| end | | end |
|
| |
|
| return export | | return export |