Aktionen

Modul

Test3

Aus Bohnenwiki

Version vom 17. Juli 2015, 11:28 Uhr von Taedison (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „Folge = {} function Folge.Linie(frame) local span_Nr = nil local span_Thema = nil local span_Moderator = nil local span_Gaeste = 234 local span_Zuschauer…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

Die Dokumentation für dieses Modul kann unter Modul:Test3/Doku erstellt werden

Folge = {}

function Folge.Linie(frame)
	local span_Nr = nil
	local span_Thema = nil
	local span_Moderator = nil
	local span_Gaeste = 234
	local span_Zuschauer = nil
	local span_VOD = nil
	local span_Datum = nil

	local span_zahl = 0


	if span_Nr == nil
		then span_zahl = span_zahl
           elseif span_Nr == "{{{Nr}}}"
		then span_zahl = span_zahl
           else
		span_zahl = span_zahl + 1
	end
	
	if span_Thema ~= nil or "{{{Thema}}}"
		then span_zahl = span_zahl + 1
	end
	
	if span_Moderator ~= nil or "{{{Moderator}}}"
		then span_zahl = span_zahl + 1
	end
	
	if span_Gaeste ~= nil or "{{{Gaeste}}}"
		then span_zahl = span_zahl + 1
	end
	
	if span_Zuschauer ~= nil or "{{{Zuschauer}}}"
		then span_zahl = span_zahl + 1
	end
	
	if span_VOD ~= nil or "{{{VOD}}}"
		then span_zahl = span_zahl + 1
	end
	
	if span_Datum ~= nil or "{{{Datum}}}"
		then span_zahl = span_zahl + 1
	end
        return span_zahl
end

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