Vorlage:Lua/staffgroup
Zur Navigation springen
Zur Suche springen
function p.staffgroup(frame)
-- Vorlage für Staffgroup mit 2 Staffs
local a = frame.args -- direkt per #invoke: übergeben
local b = frame:getParent().args -- an die Vorlage übergebene Parameter
local _ = ''
local seiten = { "pre", "diskant", "bass", "lyr", "layout", "score" }
local titel = mw.title.getCurrentTitle().nsText .. ':' .. mw.title.getCurrentTitle().rootText .. '/'
local subtitel = ''
for i,v in ipairs(seiten) do -- Liste der Unterseiten
subtitel = titel .. v
if gibts(subtitel) then _ = _ .. frame:expandTemplate{ title = subtitel, args = { } } end
end
return _
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