82.367
Bearbeitungen
(Export function mit setmetatable eingeführt) Markierung: Zurückgesetzt |
(Änderung 733495 von Stiefelknecht (Diskussion) rückgängig gemacht.) Markierung: Rückgängigmachung |
||
| Zeile 1: | Zeile 1: | ||
local p = {} | local p = {} | ||
function p.AttributeTable(args) | function p.AttributeTable(args) | ||
| Zeile 14: | Zeile 13: | ||
end | end | ||
function | function p.istJahrestag(frame) | ||
local args = frame.args | local args = frame.args | ||
local title = mw.title.getCurrentTitle().text | local title = mw.title.getCurrentTitle().text | ||
| Zeile 32: | Zeile 31: | ||
end | end | ||
function | function p.istJahreszahl(frame) | ||
local args = frame.args | local args = frame.args | ||
local title = mw.title.getCurrentTitle().text | local title = mw.title.getCurrentTitle().text | ||
| Zeile 49: | Zeile 48: | ||
end | end | ||
function | function p.getPageName(frame) | ||
-- This is for unlinking semantic attributes with datatype site. | -- This is for unlinking semantic attributes with datatype site. | ||
local p = frame.args[1] or "" | local p = frame.args[1] or "" | ||
| Zeile 137: | Zeile 136: | ||
end | end | ||
function | function p.spaces(frame) | ||
local n = tonumber(frame.args[1]) | local n = tonumber(frame.args[1]) | ||
local s = "" | local s = "" | ||
| Zeile 186: | Zeile 185: | ||
end | end | ||
return p | |||