Различие между версиями «Модуль:User:Vitalik/inflection»
[отпатрулированная версия] | [отпатрулированная версия] |
Содержимое удалено Содержимое добавлено
м v2.1.8: debug |
м v2.1.8: debug |
||
Строка 64:
-- forms['gen-pl'] = frame:preprocess{forms['gen-pl']}
-- mw.log(forms['gen-pl'])
-- output = output .. frame:expandTemplate{title=template, args=forms}
output = '{{' .. template .. '\n'
for key, value in pairs(forms) do
output = output .. '|' .. key .. '=' .. value .. '\n'
end
output = output .. '}}'
mw.log(output)
if forms['error'] then
Строка 72 ⟶ 77 :
output = output .. '[[Категория:' .. forms['error_category'] .. ']]'
end
return frame:preprocess(
end
|