Модуль:Infocards: различия между версиями
Содержимое удалено Содержимое добавлено
Нет описания правки |
26 июлы? |
||
Рæнхъ 63:
if ( infocards.isBlank( dateOfBirth ) ) then
if ( appendToCategory ) then
return '[[
else
return ''
Рæнхъ 72:
or mw.ustring.match( dateOfBirth, '^%s*%?%s*$' ) ~= nil ) then
if ( appendToCategory ) then
return "''неизвестно''[[
else
return "''неизвестно''"
Рæнхъ 87:
if ( appendToCategory ) then
return bDateStart .. dateOfBirth .. bDateEnd .. '[[
else
return bDateStart .. dateOfBirth .. bDateEnd
Рæнхъ 104:
if ( appendToCategory ) then
if ( age and age > 115 ) then
result = result .. '[[Категори:Википеди:Карджын адæймæгты тыххæй уацтæ]]'
elseif ( age or ( parsedDate and parsedDate.year and os.date('*t').year - parsedDate.year <= 115 ) ) then -- утверждение во вложенных скобках вступает при неточной дате
result = result .. '[[
end
end
Рæнхъ 263:
if ( categoryNamePrefix ~= nil ) then
if ( nd ~= nil and nm ~= nil) then
datePart = datePart .. '[[Категори:' ..
end
if ( ny ~= nil) then
|