Modul:Age: Unterschied zwischen den Versionen

226 Bytes hinzugefügt ,  vor 2 Jahren
update from Module:Age/sandbox: implement sortable=on + sortable=table for Template:Death date and age
(update from Module:Age/sandbox; this aids localization; used at bnwiki + bswiki)
(update from Module:Age/sandbox: implement sortable=on + sortable=table for Template:Death date and age)
Zeile 980: Zeile 980:
fmt_ymd = '%-Y-00-00'
fmt_ymd = '%-Y-00-00'
end
end
local result = substituteParameters(
local sortKey
local sortable = translateParameters.sortable[args.sortable]
if sortable then
local value = (date1.partial and date1.partial.first or date1).jdz
sortKey = makeSort(value, sortable)
end
local result = (sortKey or '') .. substituteParameters(
mtext['txt-dda'],
mtext['txt-dda'],
date1:text(fmt_ymd),
date1:text(fmt_ymd),
Anonymer Benutzer