Module:tln-conj: Difference between revisions

Nehster9 (talk | contribs)
mNo edit summary
Nehster9 (talk | contribs)
mNo edit summary
(One intermediate revision by the same user not shown)
Line 159: Line 159:
local function make_cell(form)
local function make_cell(form)
     return "<div style='text-align:center;'>"
     return "<div style='text-align:center;'>"
         .. "[[" .. form .. "]]"
         .. "[[Contionary:" .. form .. "|" .. form .. "]]"
         .. "<br /><span style='color:#777777; font-size:90%;'>"
         .. "<br /><span style='color:#777777; font-size:90%;'>"
         .. romanize(form)
         .. romanize(form)
Line 167: Line 167:
local function combine(stem, ending)
local function combine(stem, ending)


     if mw.ustring.match(stem, "ᠨᠶ$") and
     if mw.ustring.match(stem, "$") and
       mw.ustring.match(ending, "^ᠢ") then
       mw.ustring.match(ending, "^ᠢ") then


Line 204: Line 204:
     local text =
     local text =
         '{| class="wikitable mw-collapsible mw-collapsed"\n'
         '{| class="wikitable mw-collapsible mw-collapsed"\n'
         .. '|+ Conjugation of [[' .. title .. ']] (<span style="color:#777777;">' .. romanize(title) .. '</span>)\n'
         .. '|+ Conjugation of [[Contionary:' .. title .. '|' .. title .. ']] (<span style="color:#777777;">' .. romanize(title) .. '</span>)\n'


         ----------------------------------------------------------------
         ----------------------------------------------------------------