"ମଡ୍ୟୁଲ:Age" ପୃଷ୍ଠାର ସଂସ୍କରଣଗୁଡ଼ିକ ମଧ୍ୟରେ ତଫାତ
Content deleted Content added
Soumendrak (ଆଲୋଚନା | ଅବଦାନ) ଟିକେNo edit summary |
change default for {{age}} from range=no to range=dash per Template talk:Age#Inaccurate age shown ଟ୍ୟାଗ: Reverted |
||
୨୬ କ ଧାଡ଼ି:
['mt-template-bad-name'] = 'The specified template name is not valid',
['mt-template-x'] = 'The template invoking this must have "|template=x" where x is the wanted operation',
['txt-and'] = '
['txt-or'] = '
['txt-category'] = 'Category:Age error',
['txt-comma-and'] = ',
['txt-error'] = 'Error: ',
['txt-format-default'] = '
['txt-module-convertnumeric'] = 'Module:ConvertNumeric',
['txt-module-date'] = 'Module:Date',
['txt-sandbox'] = 'sandbox',
['txt-bda'] = '<span style="display:none"> (<span class="bday">$1</span>) </span>$2<span class="noprint ForceAgeToShow"> (
['txt-dda'] = '$2<span style="display:none">($1)</span> (
['txt-bda-disp'] = 'disp_raw', -- disp_raw → age is a number only; disp_age → age is a number and unit (normally years but months or days if very young)
['txt-dda-disp'] = 'disp_raw',
୪୭ କ ଧାଡ଼ି:
}
local translate,
if translate then
-- Functions to translate from en to local language and reverse go here.
-- See example at [[:bn:Module:বয়স]].
end▼
else
from_en = function (text)
Line ୫୩୯ ⟶ ୪୬୪:
abbr_off = {
sep = ' ',
y = {'
m = {'
w = {'
d = {'
H = {'
S = {'
},
abbr_on = {
y = '
m = '
w = '
d = '
H = '
M = '
S = '
},
abbr_infant = { -- for {{age for infant}}
sep = ' ',
y = {'
m = {'
w = {'
d = {'
H = {'
M = {'
S = {'
},
abbr_raw = {},
Line ୮୦୪ ⟶ ୭୨୯:
flag = 'usesCurrent',
omitZero = true,
range = '
},
age_full_years_nts = { -- {{age nts}}
Line ୧,୦୫୫ ⟶ ୯୮୦:
fmt_ymd = '%-Y-00-00'
end
local sortKey
local result = substituteParameters(▼
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'],
date1:text(fmt_ymd),
|