Module:WorkshopIdeas

An alternative space dedicated to technology and culture at Charleroi.
Révision datée du 29 octobre 2013 à 17:22 par Dereckson (discussion | contributions) (one frame before)
Aller à la navigation Aller à la recherche

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

local p = {}

-- Gets the idea line
function p.GetIdea(frame)
	args = frame:getParent().args
    if (args.title == nil or args.title == '') then
        title = '{{LangSwitch|fr=Idée de worskhop|en=A new workshop idea}}'
    else 
        title = args.title
    end
    
    return '<span class="workshop-title">' .. title .. '</span>'
end

return p