Jump to content

Module:Svara and Module:Svara/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
Add a caption.
 
Add a caption.
 
Line 144: Line 144:
local name = 'svara' .. mw.ustring.upper(mw.ustring.sub(value, 0, 1))
local name = 'svara' .. mw.ustring.upper(mw.ustring.sub(value, 0, 1))
local anno = {foot = 'yes', separator = ' '}
local anno = {foot = 'yes', separator = ' '}

temp = temp .. '<caption>' .. name .. '</caption>\n'
temp = temp .. '<caption>' .. name .. '</caption>\n'

for key1, value1 in pairs(input) do
for key1, value1 in pairs(input) do
temp = temp .. "<tr><td>" .. key1 .. "</td><td>"
temp = temp .. "<tr><td>" .. key1 .. "</td><td>"