Aktionen

Modul

Folge: Unterschied zwischen den Versionen

Aus Bohnenwiki

Zeile 5: Zeile 5:
 
local Nummer = frame.args.Nr
 
local Nummer = frame.args.Nr
 
local Nummer_Richtung = frame.args.Nr_Align
 
local Nummer_Richtung = frame.args.Nr_Align
local Nummer_Farbe = frame.args.Nr_Color
+
local Nummer_BGFarbe = frame.args.Nr_BackColor
 +
local Nummer_TextFarbe = frame.args.Nr_TextColor
 +
 
local Thema = frame.args.Thema
 
local Thema = frame.args.Thema
 
local Thema_Richtung = frame.args.Thema_Align
 
local Thema_Richtung = frame.args.Thema_Align
local Thema_Farbe = frame.args.Thema_Color
+
local Thema_BGFarbe = frame.args.Thema_BackColor
 +
local Thema_TextFarbe = frame.args.Thema_TextColor
 +
 
local Moderator = frame.args.Moderatoren
 
local Moderator = frame.args.Moderatoren
 
local Moderator_Richtung = frame.args.Moderatoren_Align
 
local Moderator_Richtung = frame.args.Moderatoren_Align
local Moderator_Farbe = frame.args.Moderatoren_Color
+
local Moderator_BGFarbe = frame.args.Moderatoren_BackColor
 +
local Moderator_TextFarbe = frame.args.Moderatoren_TextColor
 +
 
local Gaeste = frame.args.Gaeste
 
local Gaeste = frame.args.Gaeste
 
local Gaeste_Richtung = frame.args.Gaeste_Align
 
local Gaeste_Richtung = frame.args.Gaeste_Align
local Gaeste_Farbe = frame.args.Gaeste_Color
+
local Gaeste_BGFarbe = frame.args.Gaeste_BackColor
 +
local Gaeste_TextFarbe = frame.args.Gaeste_TextColor
 +
 
local Datum = frame.args.Datum
 
local Datum = frame.args.Datum
 
local Datum_Richtung = frame.args.Datum_Align
 
local Datum_Richtung = frame.args.Datum_Align
local Datum_Farbe = frame.args.Datum_Color
+
local Datum_BGFarbe = frame.args.Datum_BackColor
 +
local Datum_TextFarbe = frame.args.Datum_TextColor
 +
 
local Zuschauer = frame.args.Zuschauer
 
local Zuschauer = frame.args.Zuschauer
 
local Zuschauer_Richtung = frame.args.Zuschauer_Align
 
local Zuschauer_Richtung = frame.args.Zuschauer_Align
local Zuschauer_Farbe = frame.args.Zuschauer_Color
+
local Zuschauer_BGFarbe = frame.args.Zuschauer_Align_BackColor
 +
local Zuschauer_TextFarbe = frame.args.Zuschauer_Align_TextColor
 +
 
local VOD = frame.args.VOD
 
local VOD = frame.args.VOD
 
local VOD_Richtung = frame.args.VOD_Align
 
local VOD_Richtung = frame.args.VOD_Align
local VOD_Farbe = frame.args.VOD_Color
+
local VOD_BGFarbe = frame.args.VOD_BackColor
 +
local VOD_TextFarbe = frame.args.VOD_TextColor
 +
 
local Inhalt = frame.args.Inhalt
 
local Inhalt = frame.args.Inhalt
 
local Inhalt_Richtung = frame.args.Inhalt_Align
 
local Inhalt_Richtung = frame.args.Inhalt_Align
local Inhalt_Farbe = frame.args.Inhalt_Color
+
local Inhalt_BGFarbe = frame.args.Inhalt_BackColor
local Linie_Farbe = frame.args.Linie_Color
+
local Inhalt_TextFarbe = frame.args.Inhalt_TextColor
 +
 +
local Linie_BGFarbe = frame.args.Linie_BackColor
 +
 +
 +
local Colons = 0
 +
 +
local Nummer_Zeile = " "
 +
local Thema_Zeile = " "
 +
local Moderator_Zeile = " "
 +
local Gaeste_Zeile = " "
 +
local Datum_Zeile = " "
 +
local Zuschauer_Zeile = " "
 +
local VOD_Zeile = " "
 +
local Inhalt_Zeile = " "
 +
local Linie_Zeile = " "
 +
 +
 
 
local Colons = 0 -- Spaltenzähler für Inhalt und Linie
+
if Nummer == "{{{Nr}}}"
local Inhalt_Spalte
+
then Nummer_Zeile = " "
 
+
else
-- Spalte Nr
+
Colons = Colons + 1
if Nummer == nil
+
if Nummer_Richtung == "{{{Nr_Align}}}"
then Nummer_Zeile = ""  
+
then Nummer_Richtung = "left"
            Nummer_Abstand = ""
+
end
        elseif Nummer == ""
+
if Nummer_BGFarbe == "{{{Nr_BackColor}}}"
then Nummer_Zeile = ""
+
then Nummer_BGFarbe = "/#ececec"
            Nummer_Abstand = ""
+
end
        elseif Nummer == " "
+
if Nummer_TextFarbe == "{{{Nr_TextColor }}}"
then Nummer_Zeile = ""
+
then Nummer_TextFarbe = "/#000000"
            Nummer_Abstand = ""
+
end
else
+
Nummer_Zeile = Tabelle.SpalteReq(Nummer , Nummer_Richtung,Nummer_BGFarbe,Nummer_TextFarbe, 1)
Colons = Colons + 1
 
if Nummer_Richtung == nil
 
then Nummer_Richtung = "center"
 
end
 
if Nummer_Farbe == nil
 
then Nummer_Farbe = "#ececec"
 
end
 
Nummer_Zeile = Tabelle.Spalte(Nummer , Nummer_Richtung , Nummer_Farbe , 1)
 
if Thema == nil and Moderator == nil and Gaeste == nil and Zuschauer == nil and VOD == nil and Datum == nil  -- falls Nr die letzte Spalte ist
 
then
 
Nummer_Abstand = ""
 
else
 
Nummer_Abstand = " |"
 
end
 
 
end
 
end
 
 
-- Spalte Thema
+
if Thema == "{{{Thema}}}"
if Thema == nil
+
then Thema_Zeile = " "
then Thema_Zeile = ""  
+
else
            Thema_Abstand = ""
+
Colons = Colons + 1
        elseif Thema == ""
+
if Thema_Richtung == "{{{Thema_Align}}}"
then Thema_Zeile = ""
+
then Thema_Richtung = "left"
            Thema_Abstand = ""
+
end
        elseif Thema == " "
+
if Thema_BGFarbe == "{{{Thema_BackColor}}}"
then Thema_Zeile = ""
+
then Thema_BGFarbe = "/#ececec"
            Thema_Abstand = ""
+
end
else
+
if Thema_TextFarbe == "{{{Thema_TextColor }}}"
Colons = Colons + 1
+
then Thema_TextFarbe = "/#000000"
if Thema_Richtung == nil
+
end
then Thema_Richtung = "left"
+
Thema_Zeile = Tabelle.SpalteReq(Thema , Thema_Richtung,Thema_BGFarbe,Thema_TextFarbe, 1)
end
 
if Thema_Farbe == nil
 
then Thema_Farbe = "#ececec"
 
end
 
Thema_Zeile = Tabelle.Spalte(Thema , Thema_Richtung , Thema_Farbe , 1)
 
if Moderator == nil and Gaeste == nil and Datum == nil and Zuschauer == nil and VOD == nil
 
then
 
Thema_Abstand = ""
 
else
 
Thema_Abstand = " |"
 
end
 
 
end
 
end
 
 
-- Spalte Moderator
+
if Moderator == "{{{Moderator}}}"
if Moderator == nil
+
then Moderator_Zeile = " "
then Moderator_Zeile = ""  
+
else
            Moderator_Abstand = ""
+
Colons = Colons + 1
        elseif Moderator == ""
+
if Moderator_Richtung == "{{{Moderator_Align}}}"
then Moderator_Zeile = ""
+
then Moderator_Richtung = "left"
            Moderator_Abstand = ""
+
end
        elseif Moderator == " "
+
if Moderator_BGFarbe == "{{{Moderator_BackColor}}}"
then Moderator_Zeile = ""
+
then Moderator_BGFarbe = "/#ececec"
            Moderator_Abstand = ""
+
end
else
+
if Moderator_TextFarbe == "{{{Moderator_TextColor }}}"
Colons = Colons + 1
+
then Moderator_TextFarbe = "/#000000"
if Moderator_Richtung == nil
+
end
then Moderator_Richtung = "left"
+
Moderator_Zeile = Tabelle.SpalteReq(Moderator , Moderator_Richtung,Moderator_BGFarbe,Moderator_TextFarbe, 1)
end
 
if Moderator_Farbe == nil
 
then Moderator_Farbe = "#ececec"
 
end
 
Moderator_Zeile = Tabelle.Spalte(Moderator , Moderator_Richtung , Moderator_Farbe , 1)
 
            Moderator_Abstand = "|"
 
if Gaeste == nil and Datum == nil and Zuschauer == nil and VOD == nil
 
then
 
Moderator_Abstand = ""
 
else
 
Moderator_Abstand = " |"
 
end
 
 
end
 
end
 
 
-- Spalte Gaeste
+
if Gaeste == "{{{Gaeste}}}"
if Gaeste == nil
+
then Gaeste_Zeile = " "
then Gaeste_Zeile = ""  
+
else
            Gaeste_Abstand = ""
+
Colons = Colons + 1
        elseif Gaeste == ""
+
if Gaeste_Richtung == "{{{Gaeste_Align}}}"
then Gaeste_Zeile = ""
+
then Gaeste_Richtung = "left"
            Gaeste_Abstand = ""
+
end
        elseif Gaeste == " "
+
if Gaeste_BGFarbe == "{{{Gaeste_BackColor}}}"
then Gaeste_Zeile = ""
+
then Gaeste_BGFarbe = "/#ececec"
            Gaeste_Abstand = ""
+
end
else
+
if Gaeste_TextFarbe == "{{{Gaeste_TextColor }}}"
Colons = Colons + 1
+
then Gaeste_TextFarbe = "/#000000"
if Gaeste_Richtung == nil
+
end
then Gaeste_Richtung = "left"
+
Gaeste_Zeile = Tabelle.SpalteReq(Gaeste , Gaeste_Richtung,Gaeste_BGFarbe,Gaeste_TextFarbe, 1)
end
 
if Gaeste_Farbe == nil
 
then Gaeste_Farbe = "#ececec"
 
end
 
Gaeste_Zeile = Tabelle.Spalte(Gaeste , Gaeste_Richtung , WertColor , Gaeste_Farbe)
 
            Gaeste_Abstand = "|"
 
if Datum == nil and Zuschauer == nil and VOD == nil
 
then
 
Gaeste_Abstand = ""
 
else
 
Gaeste_Abstand = " |"
 
end
 
 
end
 
end
 
 
-- Spalte Datum
+
if Datum == "{{{Datum}}}"
if Datum == nil
+
then Datum_Zeile = " "
then Datum_Zeile = ""  
+
else
            Datum_Abstand = ""
+
Colons = Colons + 1
        elseif Datum == ""
+
if Datum_Richtung == "{{{Datum_Align}}}"
then Datum_Zeile = ""
+
then Datum_Richtung = "left"
            Datum_Abstand = ""
+
end
        elseif Datum == " "
+
if Datum_BGFarbe == "{{{Datum_BackColor}}}"
then Datum_Zeile = ""
+
then Datum_BGFarbe = "/#ececec"
            Datum_Abstand = ""
+
end
else
+
if Datum_TextFarbe == "{{{Datum_TextColor }}}"
Colons = Colons + 1
+
then Datum_TextFarbe = "/#000000"
if Datum_Richtung == nil
+
end
then Datum_Richtung = "center"
+
Datum_Zeile = Tabelle.SpalteReq(Datum , Datum_Richtung,Datum_BGFarbe,Datum_TextFarbe, 1)
end
 
if Datum_Farbe == nil
 
then Datum_Farbe = "#ececec"
 
end
 
Datum_Zeile = Tabelle.Spalte(Datum , Datum_Richtung , Datum_Farbe , 1)
 
            Datum_Abstand = "|"
 
if Zuschauer == nil and VOD == nil
 
then
 
Datum_Abstand = ""
 
else
 
Datum_Abstand = " |"
 
end
 
 
end
 
end
 
 
-- Spalte Zuschauer
+
if Zuschauer == "{{{Zuschauer}}}"
if Zuschauer == nil
+
then Zuschauer_Zeile = " "
then Zuschauer_Zeile = ""  
+
else
            Zuschauer_Abstand = ""
+
Colons = Colons + 1
        elseif Zuschauer == ""
+
if Zuschauer_Richtung == "{{{Zuschauer_Align}}}"
then Zuschauer_Zeile = ""
+
then Zuschauer_Richtung = "left"
            Zuschauer_Abstand = ""
+
end
        elseif Zuschauer == " "
+
if Zuschauer_BGFarbe == "{{{Zuschauer_BackColor}}}"
then Zuschauer_Zeile = ""
+
then Zuschauer_BGFarbe = "/#ececec"
            Zuschauer_Abstand = ""
+
end
else
+
if Zuschauer_TextFarbe == "{{{Zuschauer_TextColor }}}"
Colons = Colons + 1
+
then Zuschauer_TextFarbe = "/#000000"
if Zuschauer_Richtung == nil
+
end
then Zuschauer_Richtung = "right"
+
Zuschauer_Zeile = Tabelle.SpalteReq(Zuschauer , Zuschauer_Richtung,Zuschauer_BGFarbe,Zuschauer_TextFarbe, 1)
end
 
if Zuschauer_Farbe == nil
 
then Zuschauer_Farbe = "#ececec"
 
end
 
Zuschauer_Zeile = Tabelle.Spalte(Zuschauer , Zuschauer_Richtung , Zuschauer_Farbe , 1)
 
            Zuschauer_Abstand = "|"
 
if VOD == nil
 
then
 
Zuschauer_Abstand = ""
 
else
 
Zuschauer_Abstand = " |"
 
end
 
 
end
 
end
 
 
-- Spalte VOD
+
if VOD == "{{{VOD}}}"
if VOD == nil
+
then VOD_Zeile = " "
 
+
else
then VOD_Zeile = ""  
+
Colons = Colons + 1
 
+
if VOD_Richtung == "{{{VOD_Align}}}"
        elseif VOD == ""
+
then VOD_Richtung = "left"
then VOD_Zeile = ""
+
end
 
+
if VOD_BGFarbe == "{{{VOD_BackColor}}}"
        elseif VOD == " "
+
then VOD_BGFarbe = "/#ececec"
then VOD_Zeile = ""
+
end
 
+
if VOD_TextFarbe == "{{{VOD_TextColor }}}"
else
+
then VOD_TextFarbe = "/#000000"
Colons = Colons + 1
+
end
if VOD_Richtung == nil
+
VOD_Zeile = Tabelle.SpalteReq(VOD , VOD_Richtung,VOD_BGFarbe,VOD_TextFarbe, 1)
then VOD_Richtung = "center"
 
end
 
if VOD_Farbe == nil
 
then VOD_Farbe = "#ececec"
 
end
 
VOD_Zeile = Tabelle.Spalte(VOD , VOD_Richtung , VOD_Farbe , 1)
 
 
 
 
end
 
end
 
+
-- Neue Zeile Inhalt
+
if Inhalt == "{{{Inhalt}}}"
if Inhalt == nil
+
then Inhalt_Zeile = " "
then Inhalt_Zeile = ""
+
else
            VOD_Abstand = ""
+
if Inhalt_Richtung == "{{{Inhalt_Align}}}"
        elseif Inhalt == ""
+
then Inhalt_Richtung = "left"
then Inhalt_Zeile = ""
+
end
            VOD_Abstand = ""
+
if Inhalt_BGFarbe == "{{{Inhalt_BackColor}}}"
        elseif Inhalt == " "
+
then Inhalt_BGFarbe = "/#ececec"
then Inhalt_Zeile = ""
+
end
            VOD_Abstand = ""
+
if Inhalt_TextFarbe == "{{{Inhalt_TextColor }}}"
else
+
then Inhalt_TextFarbe = "/#000000"
 
+
end
if Inhalt_Richtung == nil
+
Inhalt_Wert = Tabelle.SpalteReq(Inhalt , Inhalt_Richtung,Inhalt_BGFarbe,Inhalt_TextFarbe, Colons)
then Inhalt_Richtung = "left"
+
Inhalt_Zeile = "|-\n" .. Inhalt_Wert
end
 
if Inhalt_Farbe == nil
 
then Inhalt_Farbe = "#ececec"
 
end
 
Inhalt_Spalte = Tabelle.Spalte(Inhalt , Inhalt_Richtung , Inhalt_Farbe , Colons)
 
            Inhalt_Zeile = "\n|-\n " .. Inhalt_Spalte
 
            VOD_Abstand = "|"
 
 
end
 
end
 
 
-- Neue farbige Linie (funktioniert momentan nicht)
+
if Linie_BGFarbe == "{{{Linie_BGFarbe}}}"
if Linie_Farbe == nil
+
then Linie_Zeile = " "
then Linie_Zeile = ""
+
else
 
+
Linie_Zeile = "|-\n" .. "| colspan=\"" .. colspan .. "\" style=\"border-bottom:5px solid " .. Linie_BGFarbe .. ";\" |"
else
 
Linie_Spalte = Tabelle.Spalte(" " , "left" , Linie_Farbe , Colons)
 
            Linie_Zeile = "\n|-\n " .. Linie_Spalte
 
VOD_Abstand = "|"
 
 
end
 
end
 
 
-- Alles zusammenfassen und zurückgeben
+
Format_Zeile = " "
Zeile = "|-\n " .. Nummer_Zeile .. Nummer_Abstand .. Thema_Zeile .. Thema_Abstand .. Moderator_Zeile .. Moderator_Abstand .. Gaeste_Zeile .. Gaeste_Abstand .. Datum_Zeile .. Datum_Abstand .. Zuschauer_Zeile .. Zuschauer_Abstand .. VOD_Zeile .. Inhalt_Zeile .. Linie_Zeile  
+
Format_Zeile = "|-\n" .. Nummer_Zeile .. Thema_Zeile .. Moderator_Zeile .. Gaeste_Zeile .. Datum_Zeile .. Zuschauer_Zeile .. VOD_Zeile .. Inhalt_Zeile .. Linie_Zeile
return Zeile
+
return Format_Zeile
 +
 
 
end
 
end
  
 
return p
 
return p

Version vom 12. August 2015, 12:18 Uhr

LUA-Modul für die Vorlage:Folge/LUA


p = {}
Tabelle = require( "Modul:Tabelle" )

function p.Zeile(frame)
	local Nummer = frame.args.Nr
	local Nummer_Richtung = frame.args.Nr_Align
	local Nummer_BGFarbe = frame.args.Nr_BackColor 
	local Nummer_TextFarbe = frame.args.Nr_TextColor 
	
	local Thema = frame.args.Thema
	local Thema_Richtung = frame.args.Thema_Align
	local Thema_BGFarbe = frame.args.Thema_BackColor 
	local Thema_TextFarbe = frame.args.Thema_TextColor 
	
	local Moderator = frame.args.Moderatoren
	local Moderator_Richtung = frame.args.Moderatoren_Align
	local Moderator_BGFarbe = frame.args.Moderatoren_BackColor 
	local Moderator_TextFarbe = frame.args.Moderatoren_TextColor 
	
	local Gaeste = frame.args.Gaeste
	local Gaeste_Richtung = frame.args.Gaeste_Align
	local Gaeste_BGFarbe = frame.args.Gaeste_BackColor 
	local Gaeste_TextFarbe = frame.args.Gaeste_TextColor 
	
	local Datum = frame.args.Datum
	local Datum_Richtung = frame.args.Datum_Align
	local Datum_BGFarbe = frame.args.Datum_BackColor 
	local Datum_TextFarbe = frame.args.Datum_TextColor 
	
	local Zuschauer = frame.args.Zuschauer
	local Zuschauer_Richtung = frame.args.Zuschauer_Align
	local Zuschauer_BGFarbe = frame.args.Zuschauer_Align_BackColor 
	local Zuschauer_TextFarbe = frame.args.Zuschauer_Align_TextColor 
	
	local VOD = frame.args.VOD
	local VOD_Richtung = frame.args.VOD_Align
	local VOD_BGFarbe = frame.args.VOD_BackColor 
	local VOD_TextFarbe = frame.args.VOD_TextColor 
	
	local Inhalt = frame.args.Inhalt
	local Inhalt_Richtung = frame.args.Inhalt_Align
	local Inhalt_BGFarbe = frame.args.Inhalt_BackColor 
	local Inhalt_TextFarbe = frame.args.Inhalt_TextColor 
	
	local Linie_BGFarbe = frame.args.Linie_BackColor 
	
	
	local Colons = 0
	
	local Nummer_Zeile = " "
	local Thema_Zeile = " "
	local Moderator_Zeile = " "
	local Gaeste_Zeile = " "
	local Datum_Zeile = " "
	local Zuschauer_Zeile = " "
	local VOD_Zeile = " "
	local Inhalt_Zeile = " "
	local Linie_Zeile = " "
	
	
	
	if Nummer == "{{{Nr}}}"
		then Nummer_Zeile = " "
	else
		Colons = Colons + 1
		if Nummer_Richtung == "{{{Nr_Align}}}"
			then Nummer_Richtung = "left"
		end
		if Nummer_BGFarbe == "{{{Nr_BackColor}}}"
			then Nummer_BGFarbe = "/#ececec"
		end
		if Nummer_TextFarbe == "{{{Nr_TextColor }}}"
			then Nummer_TextFarbe = "/#000000"
		end
		Nummer_Zeile = Tabelle.SpalteReq(Nummer , Nummer_Richtung,Nummer_BGFarbe,Nummer_TextFarbe, 1)
	end
	
	if Thema == "{{{Thema}}}"
		then Thema_Zeile = " "
	else
		Colons = Colons + 1
		if Thema_Richtung == "{{{Thema_Align}}}"
			then Thema_Richtung = "left"
		end
		if Thema_BGFarbe == "{{{Thema_BackColor}}}"
			then Thema_BGFarbe = "/#ececec"
		end
		if Thema_TextFarbe == "{{{Thema_TextColor }}}"
			then Thema_TextFarbe = "/#000000"
		end
		Thema_Zeile = Tabelle.SpalteReq(Thema , Thema_Richtung,Thema_BGFarbe,Thema_TextFarbe, 1)
	end
	
	if Moderator == "{{{Moderator}}}"
		then Moderator_Zeile = " "
	else
		Colons = Colons + 1
		if Moderator_Richtung == "{{{Moderator_Align}}}"
			then Moderator_Richtung = "left"
		end
		if Moderator_BGFarbe == "{{{Moderator_BackColor}}}"
			then Moderator_BGFarbe = "/#ececec"
		end
		if Moderator_TextFarbe == "{{{Moderator_TextColor }}}"
			then Moderator_TextFarbe = "/#000000"
		end
		Moderator_Zeile = Tabelle.SpalteReq(Moderator , Moderator_Richtung,Moderator_BGFarbe,Moderator_TextFarbe, 1)
	end
	
	if Gaeste == "{{{Gaeste}}}"
		then Gaeste_Zeile = " "
	else
		Colons = Colons + 1
		if Gaeste_Richtung == "{{{Gaeste_Align}}}"
			then Gaeste_Richtung = "left"
		end
		if Gaeste_BGFarbe == "{{{Gaeste_BackColor}}}"
			then Gaeste_BGFarbe = "/#ececec"
		end
		if Gaeste_TextFarbe == "{{{Gaeste_TextColor }}}"
			then Gaeste_TextFarbe = "/#000000"
		end
		Gaeste_Zeile = Tabelle.SpalteReq(Gaeste , Gaeste_Richtung,Gaeste_BGFarbe,Gaeste_TextFarbe, 1)
	end
	
	if Datum == "{{{Datum}}}"
		then Datum_Zeile = " "
	else
		Colons = Colons + 1
		if Datum_Richtung == "{{{Datum_Align}}}"
			then Datum_Richtung = "left"
		end
		if Datum_BGFarbe == "{{{Datum_BackColor}}}"
			then Datum_BGFarbe = "/#ececec"
		end
		if Datum_TextFarbe == "{{{Datum_TextColor }}}"
			then Datum_TextFarbe = "/#000000"
		end
		Datum_Zeile = Tabelle.SpalteReq(Datum , Datum_Richtung,Datum_BGFarbe,Datum_TextFarbe, 1)
	end
	
	if Zuschauer == "{{{Zuschauer}}}"
		then Zuschauer_Zeile = " "
	else
		Colons = Colons + 1
		if Zuschauer_Richtung == "{{{Zuschauer_Align}}}"
			then Zuschauer_Richtung = "left"
		end
		if Zuschauer_BGFarbe == "{{{Zuschauer_BackColor}}}"
			then Zuschauer_BGFarbe = "/#ececec"
		end
		if Zuschauer_TextFarbe == "{{{Zuschauer_TextColor }}}"
			then Zuschauer_TextFarbe = "/#000000"
		end
		Zuschauer_Zeile = Tabelle.SpalteReq(Zuschauer , Zuschauer_Richtung,Zuschauer_BGFarbe,Zuschauer_TextFarbe, 1)
	end
	
	if VOD == "{{{VOD}}}"
		then VOD_Zeile = " "
	else
		Colons = Colons + 1
		if VOD_Richtung == "{{{VOD_Align}}}"
			then VOD_Richtung = "left"
		end
		if VOD_BGFarbe == "{{{VOD_BackColor}}}"
			then VOD_BGFarbe = "/#ececec"
		end
		if VOD_TextFarbe == "{{{VOD_TextColor }}}"
			then VOD_TextFarbe = "/#000000"
		end
		VOD_Zeile = Tabelle.SpalteReq(VOD , VOD_Richtung,VOD_BGFarbe,VOD_TextFarbe, 1)
	end
	
	if Inhalt == "{{{Inhalt}}}"
		then Inhalt_Zeile = " "
	else
		if Inhalt_Richtung == "{{{Inhalt_Align}}}"
			then Inhalt_Richtung = "left"
		end
		if Inhalt_BGFarbe == "{{{Inhalt_BackColor}}}"
			then Inhalt_BGFarbe = "/#ececec"
		end
		if Inhalt_TextFarbe == "{{{Inhalt_TextColor }}}"
			then Inhalt_TextFarbe = "/#000000"
		end
		Inhalt_Wert =  Tabelle.SpalteReq(Inhalt , Inhalt_Richtung,Inhalt_BGFarbe,Inhalt_TextFarbe, Colons)
		Inhalt_Zeile = "|-\n" .. Inhalt_Wert
	end
	
	if Linie_BGFarbe == "{{{Linie_BGFarbe}}}"
		then Linie_Zeile = " "
	else
		Linie_Zeile = "|-\n" .. "| colspan=\"" .. colspan .. "\" style=\"border-bottom:5px solid " .. Linie_BGFarbe .. ";\" |"
	end
	
	Format_Zeile = " "
	Format_Zeile = "|-\n" .. Nummer_Zeile .. Thema_Zeile .. Moderator_Zeile .. Gaeste_Zeile .. Datum_Zeile .. Zuschauer_Zeile .. VOD_Zeile .. Inhalt_Zeile .. Linie_Zeile
	return Format_Zeile

end

return p
Cookies helfen uns bei der Bereitstellung von Bohnenwiki. Durch die Nutzung von Bohnenwiki erklärst du dich damit einverstanden, dass wir Cookies speichern.