Module:Infobox ZPI
Jump to navigation
Jump to search
- This module should not be invoked directly; use its corresponding template instead: Template:Infobox ZPI.
This module generates an infobox providing information about a given zeta peak index (ZPI).
| Introspection summary for Module:Infobox ZPI | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| ||||||||||||
No function descriptions were provided. The Lua code may have further information.
local yesno = require("Module:Yesno")
local p = {}
function p.infobox_zpi(frame)
local args = frame:getParent().args
local debugg = yesno(frame.args["debug"])
local result = "'''''Infobox ZPI'''''\n"
result = result .. "Nom: " .. (args.nom or "Non spécifié") .. "\n"
-- Ajoutez d'autres champs ici
return frame:preprocess(debugg == true and "<pre>" .. result .. "</pre>" or result)
end
return p