モジュール:kmr-nouns/masc and fem
ナビゲーションに移動
検索に移動
このモジュールについての説明文ページを モジュール:kmr-nouns/masc and fem/doc に作成できます
-- [[ku:Modul:ku-tewîn-nav/mê û nêr]]
local export = {}
decl = require('モジュール:kmr-nouns').decl
local function tooltip(word, abbr)
return ' (<span style="cursor:help;" title="' .. word .. '"><span style="border-bottom: 1px dotted #555555; ">' .. abbr .. '</span></span>)'
end
function export.mf(title, variant)
return
'<div class="NavFrame" style="width:65%">'
..'\n<div class="NavHead" style="">' ..title.. 'の格変化</div>'
..'\n<div class="NavContent">'
..'\n{| border="1" style="border-collapse:collapse; background-color:white; clear:right; width:100%; " class="inflection-table"'
..'\n|-'
..'\n! colspan="4" align="center" | 限定女性/男性'
..'\n|-'
..'\n! style="background-color:#FFFFE0; text-align:left;" | 格'
..'\n! colspan="1" style="background-color:#FFFFE0;" | 女性' .. tooltip('singular', 'sg')
..'\n! colspan="1" style="background-color:#FFFFE0;" | 男性' .. tooltip('singular', 'sg')
..'\n! colspan="1" style="background-color:#FFFFE0;" | 複数'
..'\n|-'
..'\n| style="background-color:#e7e8ea; text-align:left;" | 主格'
..'\n|' .. decl(title, 'f', variant)["def_nom_s"]
..'\n|' .. decl(title, 'm', variant)["def_nom_s"]
..'\n|' .. decl(title, 'm', variant)["def_nom_p"]
..'\n|-'
..'\n| style="background-color:#e7e8ea; text-align:left;" | エザーフェ'
..'\n|' .. decl(title, 'f', variant)["def_cons_s"]
..'\n|' .. decl(title, 'm', variant)["def_cons_s"]
..'\n|' .. decl(title, 'm', variant)["def_cons_p"]
..'\n|-'
..'\n| style="background-color:#e7e8ea; text-align:left;" | 斜格'
..'\n|' .. decl(title, 'f', variant)["def_obl_s"]
..'\n|' .. decl(title, 'm', variant)["def_obl_s"]
..'\n|' .. decl(title, 'm', variant)["def_obl_p"]
..'\n|-'
..'\n| style="background-color:#e7e8ea; text-align:left;" | 指示斜格'
..'\n|' .. decl(title, 'f', variant)["def_demons_obl_s"]
..'\n|' .. decl(title, 'm', variant)["def_demons_obl_s"]
..'\n|' .. decl(title, 'm', variant)["def_demons_obl_p"]
..'\n|-'
..'\n| style="background-color:#e7e8ea; text-align:left;" | 呼格'
..'\n|' .. decl(title, 'f', variant)["voc_s"]
..'\n|' .. decl(title, 'm', variant)["voc_s"]
..'\n|' .. decl(title, 'm', variant)["voc_p"]
..'\n|-'
..'\n! colspan="5" align="center" | 非限定女性/男性'
..'\n|-'
..'\n!style="background-color:#FFFFE0; text-align:left;" | 格'
..'\n! colspan="1" style="background-color:#FFFFE0;" | 女性' .. tooltip('singular', 'sg')
..'\n! colspan="1" style="background-color:#FFFFE0;" | 男性' .. tooltip('singular', 'sg')
..'\n! colspan="1" style="background-color:#FFFFE0;" | 複数'
..'\n|-'
..'\n| style="background-color:#e7e8ea; text-align:left;" | 主格'
..'\n|' .. decl(title, 'f', variant)["indef_nom_s"]
..'\n|' .. decl(title, 'm', variant)["indef_nom_s"]
..'\n|' .. decl(title, 'm', variant)["indef_nom_p"]
..'\n|-'
..'\n| style="background-color:#e7e8ea; text-align:left;" | エザーフェ'
..'\n|' .. decl(title, 'f', variant)["indef_cons_s"]
..'\n|' .. decl(title, 'm', variant)["indef_cons_s"]
..'\n|' .. decl(title, 'm', variant)["indef_cons_p"]
..'\n|-'
..'\n| style="background-color:#e7e8ea; text-align:left;" | 斜格'
..'\n|' .. decl(title, 'f', variant)["indef_obl_s"]
..'\n|' .. decl(title, 'm', variant)["indef_obl_s"]
..'\n|' .. decl(title, 'm', variant)["indef_obl_p"]
..'\n|}</div></div>'
end
return export