Modul:TemplUtl: Unterschied zwischen den Versionen
2017-04-24
(2017-04-23) |
(2017-04-24) |
||
Zeile 1: | Zeile 1: | ||
local TemplUtl = { suite = "TemplUtl", | local TemplUtl = { suite = "TemplUtl", | ||
serial = "2017-04- | serial = "2017-04-24" }; | ||
Zeile 125: | Zeile 125: | ||
local top = mw.html.create( "div" ); | local top = mw.html.create( "div" ); | ||
-- TODO: LTR | -- TODO: LTR | ||
btn:css( { ["border"] = "# | btn:css( { ["background"] = "#FFFF00", | ||
["border"] = "#FF0000 3px solid", | |||
["font-weight"] = "bold", | ["font-weight"] = "bold", | ||
["padding"] = "2px", | ["padding"] = "2px", | ||
Zeile 133: | Zeile 134: | ||
top:wikitext( sign, " ", alert ); | top:wikitext( sign, " ", alert ); | ||
if not always then | if not always then | ||
err:css( { ["display"] | err:css( { ["display"] = "inline-block", | ||
["max-width"] | ["line-height"] = "0", | ||
["visibility"] = "hidden" } ); | ["max-height"] = "0", | ||
["max-width"] = "0", | |||
["visibility"] = "hidden" } ); | |||
end | end | ||
mw.addWarning( tostring( top ) ); | mw.addWarning( tostring( top ) ); |