Module:Vertical header: Difference between revisions

From WikiNET
fix
 
m 1 revision imported
 
(3 intermediate revisions by 2 users not shown)
Line 5: Line 5:
local text = args.text
local text = args.text
local maxWidth = args.maxWidth
local maxWidth = args.maxWidth
-- local stupidIEAlign = ""
local rows = 1
local rows = 1
local width = 0
local width = 0
Line 40: Line 39:
if vertAlign == "top" then
if vertAlign == "top" then
normalAlign = "right"
normalAlign = "right"
-- stupidIEAlign = "left"
elseif vertAlign == "middle" then
elseif vertAlign == "middle" then
normalAlign = "center"
normalAlign = "center"
-- stupidIEAlign = "center"
else
else
normalAlign = "left"
normalAlign = "left"
-- stupidIEAlign = "right"
end
end
wikiText = wikiText .. normalAlign .. ";" -- text-align:" .. stupidIEAlign .. " \ ;"
wikiText = wikiText .. normalAlign .. ";"
local style = args.style:gsub("\"", """)
local style = args.style:gsub("\"", """)