Modul:Datei: Unterschied zwischen den Versionen

attr_text() => attrText()
(Straße/Ort auch als Freiattribut möglich)
(attr_text() => attrText())
Zeile 126: Zeile 126:
v = p.attrValList(a[1], pargs)
v = p.attrValList(a[1], pargs)
if v ~= "" then
if v ~= "" then
t = t .. p.zeile("[[Attribut:" .. a[1] .. "|" .. wob.attr_text(a[1]) .. "]]", v,
t = t .. p.zeile("[[Attribut:" .. a[1] .. "|" .. wob.attrText(a[1]) .. "]]", v,
"ausgeblendet:", "[[" .. a[2] .. "::" .. (pargs[a[2]] or "Nein") .. "]]")
"ausgeblendet:", "[[" .. a[2] .. "::" .. (pargs[a[2]] or "Nein") .. "]]")
end
end
Zeile 202: Zeile 202:
infotext = infotext .. "<br>"
infotext = infotext .. "<br>"
end
end
infotext = infotext .. wob.attr_text("Urheber") .. ": " ..
infotext = infotext .. wob.attrText("Urheber") .. ": " ..
table.concat(urheber, ", ")
table.concat(urheber, ", ")
end
end
Zeile 217: Zeile 217:
infotext = infotext .. "<br>"
infotext = infotext .. "<br>"
end
end
infotext = infotext .. wob.attr_text("Lizenz") .. ": " .. lizenz
infotext = infotext .. wob.attrText("Lizenz") .. ": " .. lizenz
end
end
if infotext ~= "" then
if infotext ~= "" then
Zeile 323: Zeile 323:
local t = ""
local t = ""
if v1 ~= "" then
if v1 ~= "" then
a1 = "[[Attribut:" .. a1 .. "|" .. wob.attr_text(a1) .. "]]"
a1 = "[[Attribut:" .. a1 .. "|" .. wob.attrText(a1) .. "]]"
if a2 ~= nil and v2 ~= nil and v2 ~= "" then
if a2 ~= nil and v2 ~= nil and v2 ~= "" then
a2 = "[[Attribut:" .. a2 .. "|" .. wob.attr_text(a2) .. "]]"
a2 = "[[Attribut:" .. a2 .. "|" .. wob.attrText(a2) .. "]]"
end
end
t = t .. p.zeile(a1, v1, a2, v2, id1)
t = t .. p.zeile(a1, v1, a2, v2, id1)