Modul:Faktenbox: Unterschied zwischen den Versionen

Aus FürthWiki

Mehrzahl Geokoordinaten
(Mehrzahl Attribut-Anzeige)
(Mehrzahl Geokoordinaten)
Zeile 264: Zeile 264:
local geokoordinate = que.getValues(fbdata.fullpagename, "Geokoordinate", true)
local geokoordinate = que.getValues(fbdata.fullpagename, "Geokoordinate", true)
if #geokoordinate > 0 then
if #geokoordinate > 0 then
t = t .. "<dt>[[Attribut:Geokoordinate|Geokoordinate(n)]]</dt><dd>"
local attr_text = "Geokoordinate"
if #geokoordinate > 1 then
attr_text = attr_text .. "n"
end
t = t .. "<dt>[[Attribut:Geokoordinate|" .. attr_text .. "]]</dt><dd>"
for i, g in ipairs(geokoordinate) do
for i, g in ipairs(geokoordinate) do
if i > 1 then
if i > 1 then