יחידה:Sister project links: הבדלים בין גרסאות בדף
מאין תקציר עריכה |
מאין תקציר עריכה |
||
| שורה 167: | שורה 167: | ||
if args[proj['arg']] then | if args[proj['arg']] then | ||
local t = projectsTemplate[proj['template']] | local t = projectsTemplate[proj['template']] | ||
local defaultDisplayName = args[proj['arg']] | |||
if proj['arg'] == 'ויקישיתוף' then | |||
defaultDisplayName = title | |||
end | |||
t['pageName'] = args[proj['arg']] | t['pageName'] = args[proj['arg']] | ||
t['pageDisplay'] = args['שם ' .. proj['arg']] or | t['pageDisplay'] = args['שם ' .. proj['arg']] or defaultDisplayName | ||
table.insert(projectLinks, t) | table.insert(projectLinks, t) | ||
else | else | ||