Documentation for this module may be created at Modul:ku-tewîn-nav/yekjimar/belge

local t = {}

tew = require('Modul:ku-tewîn-nav').tew

function zayendTablo(zayend)
 	if (zayend == 'nêr') then return ' Zayenda nêr a'
 	elseif  (zayend == 'mê') then return ' Zayenda mê ya'
    end
end

function t.yekjimar(navder, zayend, guherto)
  return
  '{| class="wikitable" colspan="5" border="1" style="float:right; margin:0.5em 0 0.5em 0.5em; background-color:white; clear: right;"'
   ..'\n|-'
   ..'\n! colspan="3" align="center" |' .. zayendTablo(zayend) .. ' binavkirî'
   ..'\n|-'
   ..'\n! style="background-color:#FFFFE0;  text-align:left;" | Rewş'
   ..'\n! colspan="1" style="background-color:#FFFFE0;" | Yekjimar'
   ..'\n|-'
   ..'\n| style="background-color:#f8f9fa; text-align:left;" | Navkî'
   ..'\n|' .. tew(navder, zayend, guherto)["def_nom_s"]
   ..'\n|-'
   ..'\n| style="background-color:#f8f9fa; text-align:left;" | Îzafe'
   ..'\n|' .. tew(navder, zayend, guherto)["def_constr_s"]
   ..'\n|-'
   ..'\n| style="background-color:#f8f9fa; text-align:left;" | Çemandî'
   ..'\n|' .. tew(navder, zayend, guherto)["def_obl_s"]
   ..'\n|-'
   ..'\n| style="background-color:#f8f9fa; text-align:left;" | Nîşandera çemandî'
   ..'\n|' .. tew(navder, zayend, guherto)["def_demons_obl_s"]
   ..'\n|-'
   ..'\n| style="background-color:#f8f9fa; text-align:left;" | Bangkirî'
   ..'\n|' .. tew(navder, zayend, guherto)["voc_s"]
--   ..'\n|' .. tew(navder, zayend, guherto)["voc_p"]
   ..'\n|-'
   ..'\n! colspan="5" align="center" |' .. zayendTablo(zayend) .. ' nebinavkirî'
   ..'\n|-'
   ..'\n!style="background-color:#FFFFE0; text-align:left;" | Rewş'
   ..'\n!colspan="1" style="background-color:#FFFFE0;" | Yekjimar'
   ..'\n|-'
   ..'\n| style="background-color:#f8f9fa; text-align:left;" | Navkî'
   ..'\n|' .. tew(navder, zayend, guherto)["indef_nom_s"]
   ..'\n|-'
   ..'\n| style="background-color:#f8f9fa; text-align:left;" | Îzafe'
   ..'\n|' .. tew(navder, zayend, guherto)["indef_constr_s"]
   ..'\n|-'
   ..'\n| style="background-color:#f8f9fa; text-align:left;" | Çemandî'
   ..'\n|' .. tew(navder, zayend, guherto)["indef_obl_s"]
   ..'\n|}'
end
return t