Vorlage:Lua/catx
Zur Navigation springen
Zur Suche springen
function p.catx(frame)
local a = frame:getParent().args -- bei Aufruf über Vorlage ist :getParent(). erforderlich
if empty(a) then a = mw.getCurrentFrame().args end
local katz = ''
for i,v in pairs(a) do
if type(i) == 'number' then
katz = katz .. frame:expandTemplate{ title = "cat", args = { v } }
end
end
return katz
end
Alle Vorlagen mit Scribunto-Aufrufen: Alle module, Cats, Coco, Countdown, Dokumentation bearbeiten, DurTonleiter, Ensemble, Hili, Hilio, Klavierscore, Lenplus, Lilypond, LSR, Lua/cats, Lua/catx, Lua/eiffel, Lua/ensemble, Lua/hili, Lua/hilio, Lua/lenplus, Lua/lily, Lua/midi, Lua/pianoduet, Lua/rep, Lua/scale, Lua/score, Lua/staffgroup, Lua/svg, Lua/tag, Lua/vb, Midi, Mixi, PHP, Php, Pianoduet, Rep, Scale, Scheme, Score, SQL, Tag, Tonleiter, Vb, Vorlage