Modul:Formular: Unterschied zwischen den Versionen

switch wob.attrText() zu atr.attrText()
(Aufteilung form_attr)
(switch wob.attrText() zu atr.attrText())
Zeile 1: Zeile 1:
local p = {}
local p = {}


local wob = require("Modul:Wörterbuch")
local atr = require("Modul:Attribut")


local field_default_args = { -- hier kann z.B. size global hinzugefügt werden
local field_default_args = { -- hier kann z.B. size global hinzugefügt werden
Zeile 59: Zeile 59:
local l1, l2 = "", ""
local l1, l2 = "", ""
for _, a in ipairs(args.attr_list) do
for _, a in ipairs(args.attr_list) do
local attr_text = wob.attrText(a, args.klasse)
local attr_text = atr.attrText(a, args.klasse)
local info = attr_infos[a] or "" -- Info-Text
local info = attr_infos[a] or "" -- Info-Text
if type(info) == "table" then
if type(info) == "table" then