۲۸٬۸۸۴
ویرایش
جز (۱ نسخه واردشده) |
جز (۱ نسخه واردشده) |
||
(۲ نسخهٔ میانی ویرایش شده توسط ۲ کاربر نشان داده نشد) | |||
خط ۸: | خط ۸: | ||
local p = {} | local p = {} | ||
local num_con = require('Module:Numeral converter').convert | |||
local listTypes = { | local listTypes = { | ||
خط ۶۷: | خط ۶۹: | ||
else | else | ||
data.listTag = 'ul' | data.listTag = 'ul' | ||
end | |||
-- Start number for ordered lists | |||
data.start = num_con("en", args.start) | |||
-- Two new persian translation for the start parameter | |||
if args['آغاز'] then | |||
data.start = num_con("en", args['آغاز']) | |||
end | |||
if args['شروع'] then | |||
data.start = num_con("en", args['شروع']) | |||
end | end | ||
if listType == 'horizontal_ordered' then | if listType == 'horizontal_ordered' then | ||
-- Apply fix to get start numbers working with horizontal ordered lists. | -- Apply fix to get start numbers working with horizontal ordered lists. |