Module:Age: Difference between revisions

120 bytes added ,  7 years ago
for {{age in years and days}}, temporarily use sortable for compatibility with old template; Template talk:Age in years and days#Google problems proposes removing this
(change {{age in years and days}} to NOT output a hidden sort key and add {{age in years and days nts}} which does, per Template talk:Age in years and days#Google problems)
(for {{age in years and days}}, temporarily use sortable for compatibility with old template; Template talk:Age in years and days#Google problems proposes removing this)
Line 542: Line 542:
format = 'format_commas',
format = 'format_commas',
sep = args.sep ~= 'and' and 'sep_comma' or nil,
sep = args.sep ~= 'and' and 'sep_comma' or nil,
sortable = 'on',        -- temporarily use sortable for compatibility with old template; talk proposes removing this
},
},
age_yd_nts = {              -- {{age in years and days nts}}
age_yd_nts = {              -- {{age in years and days nts}}
Anonymous user