Modul:Box: Unterschied zwischen den Versionen

class=noviewer
(Die Seite wurde neu angelegt: „p = {} function p.Box(frame) args = {} if frame.args[1] ~= "" then args.headline = frame.args[1] end if frame.args[2] ~= "" then args.content = frame.args[2] end if frame.args[3] ~= "" then args.textalign = frame.args[3] end if frame.args[4] ~= "" then args.boxalign = frame.args[4] end return p.box(args) end function p.box(args) local t = "" local headline = args.headline or '' local content = args.content or '' local textalign = a…“)
 
(class=noviewer)
Zeile 38: Zeile 38:
t = t .. '<div id="Inhalt_Box" style="line-height:1.3em; text-align:' .. textalign .. '; float:' .. float .. '; ' .. marginleft .. '">\n'
t = t .. '<div id="Inhalt_Box" style="line-height:1.3em; text-align:' .. textalign .. '; float:' .. float .. '; ' .. marginleft .. '">\n'
t = t .. '<div id="Ueberschrift_Box" style="background-color:#DDDDDD; text-align:' .. textalign .. '">'
t = t .. '<div id="Ueberschrift_Box" style="background-color:#DDDDDD; text-align:' .. textalign .. '">'
t = t .. '<span class="nomobile">[[Bild:Stadtwappen.svg|left|30px]]</span>'
t = t .. '<span class="nomobile">[[Bild:Stadtwappen.svg|left|30px|class=noviewer]]</span>'
t = t .. headline_prespace .. '<big>' .. headline .. '</big>' .. headline_postspace
t = t .. headline_prespace .. '<big>' .. headline .. '</big>' .. headline_postspace
t = t .. '</div>\n'
t = t .. '</div>\n'