Wochenplan: Unterschied zwischen den Versionen
Aus Bohnenwiki
Zeile 8: | Zeile 8: | ||
local Programm_Untertitel = frame.args.Programm_Untertitel | local Programm_Untertitel = frame.args.Programm_Untertitel | ||
− | local Programm_Inhalt = "'''" .. Programm .. "'''" .. "\n ''" .. Programm_Untertitel .. "''" | + | local Programm_Inhalt = "'''" .. Programm .. "'''" .. "\n" .. "''" .. Programm_Untertitel .. "''" |
local Zeit_BGColor = "/#ececec" | local Zeit_BGColor = "/#ececec" | ||
local Programm_BGColor = "/#ececec" | local Programm_BGColor = "/#ececec" |
Version vom 6. Januar 2016, 12:20 Uhr
Die Dokumentation für dieses Modul kann unter Modul:Wochenplan/Doku erstellt werden
p = {} Tabelle = require( "Modul:Tabelle" ) function p.Zeile(frame) local Typ = frame.args.Typ local Zeit = frame.args.Zeit local Programm = frame.args.Programm local Programm_Untertitel = frame.args.Programm_Untertitel local Programm_Inhalt = "'''" .. Programm .. "'''" .. "\n" .. "''" .. Programm_Untertitel .. "''" local Zeit_BGColor = "/#ececec" local Programm_BGColor = "/#ececec" if Typ == "Live" then Zeit_BGColor = "/#FFC9C9" Programm_BGColor = "/#FFC9C9" elseif Typ == "Premiere" then Zeit_BGColor = "/#ADF0FF" Programm_BGColor = "/#ADF0FF" end Zeit_Spalte = Tabelle.SpalteReq(Zeit , "center",Zeit_BGColor,"/#000000", 1) Programm_Spalte = Tabelle.SpalteReq(Programm_Inhalt , "center",Programm_BGColor,"/#000000", 1) WP_Zeile = "|-\n" .. Zeit_Spalte .. Programm_Spalte return WP_Zeile end return p