Test5
Aus Bohnenwiki
Die Dokumentation für dieses Modul kann unter Modul:Test5/Doku erstellt werden
Folge = {} function Folge.Linie(frame) local span_Nr = frame.args.Nr local span_Thema = frame.args.Thema local span_Moderator = frame.args.Moderator local span_Gaeste = frame.args.Gaeste local span_Zuschauer = frame.args.Zuschauer local span_VOD = frame.args.VOD local span_Datum = frame.args.Datum 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 then span_zahl = span_zahl elseif span_Thema == {{{Thema}}} then span_zahl = span_zahl else span_zahl = span_zahl + 1 end if span_Moderator == nil then span_zahl = span_zahl elseif span_Moderator == {{{Moderator}}} then span_zahl = span_zahl else span_zahl = span_zahl + 1 end if span_Gaeste == nil then span_zahl = span_zahl elseif span_Gaeste == {{{Gaeste}}} then span_zahl = span_zahl else span_zahl = span_zahl + 1 end if span_Zuschauer == nil then span_zahl = span_zahl elseif span_Zuschauer == {{{Zuschauer}}} then span_zahl = span_zahl else span_zahl = span_zahl + 1 end if span_VOD == nil then span_zahl = span_zahl elseif span_VOD == {{{VOD}}} then span_zahl = span_zahl else span_zahl = span_zahl + 1 end if span_Datum == nil then span_zahl = span_zahl elseif span_Datum == {{{Datum}}} then span_zahl = span_zahl else span_zahl = span_zahl + 1 end return span_zahl end return Folge