Modul:Attribut: Unterschied zwischen den Versionen

140 Bytes hinzugefügt ,  Sonntag um 21:27
mw.logObject
(Auslagerung Tabellen-Funktionen in Modul:Attribut/Tabelle)
(mw.logObject)
Zeile 51: Zeile 51:


function p.attrText(attr, klasse, mehrzahl)
function p.attrText(attr, klasse, mehrzahl)
mw.log("attrText(attr, klasse, mehrzahl)")
mw.logObject(attr, "attr")
mw.logObject(klasse, "klasse")
mw.logObject(mehrzahl, "mehrzahl")
local query, text = p.getAttrAttributes(attr, klasse)
local query, text = p.getAttrAttributes(attr, klasse)
if mehrzahl then
if mehrzahl then