Version vom 21. Februar 2021, 12:06 Uhr von Avaren(Diskussion | Beiträge)(Die Seite wurde neu angelegt: „local p = {} -- Trims and parses the args into a table, then returns the table function p.normaliseArgs(frame) local origArgs = frame:getParent().args loc…“)
Die Dokumentation für dieses Modul kann unter Modul:Utils/Doku erstellt werden
localp={}-- Trims and parses the args into a table, then returns the tablefunctionp.normaliseArgs(frame)localorigArgs=frame:getParent().argslocalargs={}fork,vinpairs(origArgs)dov=mw.text.trim(tostring(v))ifv~=''thenargs[k]=vendendreturnargsendreturnp