Module:Vertical header: Difference between revisions
From WikiNET
fix |
BruceSchafer (talk | contribs) 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 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" | ||
elseif vertAlign == "middle" then | elseif vertAlign == "middle" then | ||
normalAlign = "center" | normalAlign = "center" | ||
else | else | ||
normalAlign = "left" | normalAlign = "left" | ||
end | end | ||
wikiText = wikiText .. normalAlign .. " | wikiText = wikiText .. normalAlign .. ";" | ||
local style = args.style:gsub("\"", """) | local style = args.style:gsub("\"", """) |