Modul:BoxModul

Version vom 28. Juli 2025, 11:00 Uhr von Beeventionmanual (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „local p = {} function p.fotobox(frame) local bild = frame.args[1] or "" local size = frame.args[2] or "300" local text = frame.args[3] or "" local output = string.format([[ <div style="display: inline-block; text-align: center;"> <gallery mode="traditional" widths=%s heights=%s> File:%s </gallery> %s </div> ]], size, size, bild, text) return frame:preprocess(output) end return p“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

local p = {}

function p.fotobox(frame)

 local bild = frame.args[1] or ""
 local size = frame.args[2] or "300"
 local text = frame.args[3] or ""
 local output = string.format([[

]], size, size, bild, text)

 return frame:preprocess(output)

end

return p