Modul:EinklappHilfsSkripte
Die Dokumentation für dieses Modul kann unter Modul:EinklappHilfsSkripte/Doku erstellt werden
local p = {}
function p.collapsibleclasstext(frame)
local iscollapsible=mw.text.trim(frame.args[1] or '')
if frame.iscollapsible=='ja ' then
return 'Hi!'
end
end
function p.somefunctionwedontneed(frame)
if frame.args[1]=='nein' then
return ''
end
if frame.args[1]=='ja' then
if frame.args[2]=='nein' then
return 'mw-collapsible'
else
return 'mw-collapsed'
end
end
end
return p