Aller au contenu

Module:Dirigeant

De Wikiquestia
Version datée du 4 avril 2025 à 09:02 par Alakihel (discussion | contributions) (Page créée avec « -- Module:Dirigeant local p = {} function p.render(frame) local titre = frame.args["Titre"] local nom = frame.args["Nom"] if titre and nom then return string.format('<tr><th>%s</th><td>%s</td></tr>', titre, nom) end return "" end return p »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

La documentation pour ce module peut être créée à Module:Dirigeant/doc

-- Module:Dirigeant
local p = {}

function p.render(frame)
    local titre = frame.args["Titre"]
    local nom = frame.args["Nom"]

    if titre and nom then
        return string.format('<tr><th>%s</th><td>[[%s]]</td></tr>', titre, nom)
    end

    return ""
end

return p