יחידה:תבנית מידע: הבדלים בין גרסאות בדף
מ גלגול לאחור בינתיים |
תיקון ברירת המחדל על פי ההצבעה |
||
| שורה 231: | שורה 231: | ||
removeFirstHeader = (not hasImage) and self.args.removeFirstHeader -- remove the first header if there are no images & the first header is generic | removeFirstHeader = (not hasImage) and self.args.removeFirstHeader -- remove the first header if there are no images & the first header is generic | ||
else | else | ||
removeFirstHeader = (not hasImage)-- default, remove | removeFirstHeader = (not hasImage)-- default, remove the first header if there are no images | ||
end | end | ||
| שורה 612: | שורה 612: | ||
} | } | ||
args.removeFirstHeader = | args.removeFirstHeader = false-- default based on vote on 18/7/21 | ||
-- explictly override the default | -- explictly override the default | ||
if templateParams['כותרת כללית'] == 'כן' then | if templateParams['כותרת כללית'] == 'כן' then | ||