Die Dokumentation für dieses Modul kann unter Modul:BoxModul/Doku erstellt werden

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