Mòdul:MLMT age 1/items
Documentació del mòdul [ mostra ] [ modifica el codi ] [ mostra l'historial ] [ refresca ]
A continuació es mostra la documentació transclosa de la subpàgina /ús. [salta a la caixa de codi]
Used by Mòdul:MLMT age 1 and Mòdul:MLMT age 1/i18n.
See also Mòdul:MLMT age 2/items.
local p = {}
local MLMT = require "Module:Multilang module tools"
--tags for all items, used in main module and i18n
p.k = {
birth_year = 'birth_year',
death_year = 'death_year',
---
years = 'years',
---
birth_after_today = 'birth_after_today',
death_after_birth = 'death_after_today',
}
p.arg_lims = {
[p.k.birth_year] = 'i+r',
[p.k.death_year] = 'i+',
}
--Indexes used by the lists:
p.idxArgs = {
p.k.birth_year,
p.k.death_year,
}
p.idxLabels = {
p.k.years,
}
p.idxErrors = {
p.k.birth_after_today,
p.k.death_after_birth,
}
return p