יחידה:Navbox: הבדלים בין גרסאות בדף
מ 10 גרסאות של הדף wikipedia:he:יחידה:Navbox יובאו |
update |
||
| שורה 85: | שורה 85: | ||
args.name, | args.name, | ||
mini = 1, | mini = 1, | ||
fontstyle = (args.basestyle or '') .. ';' .. (args.titlestyle or '') .. ';background:none transparent;border | fontstyle = (args.basestyle or '') .. ';' .. (args.titlestyle or '') .. ';background:none transparent;border:none;box-shadow:none;padding:0;' | ||
}) | }) | ||
end | end | ||
| שורה 192: | שורה 192: | ||
row | row | ||
:tag('td') | :tag('td') | ||
:addClass('noviewer') | |||
:addClass('navbox-image') | :addClass('navbox-image') | ||
:addClass(args.imageclass) | :addClass(args.imageclass) | ||
| שורה 268: | שורה 269: | ||
row | row | ||
:tag('td') | :tag('td') | ||
:addClass('noviewer') | |||
:addClass('navbox-image') | :addClass('navbox-image') | ||
:addClass(args.imageclass) | :addClass(args.imageclass) | ||
| שורה 327: | שורה 329: | ||
local function getTrackingCategories() | local function getTrackingCategories() | ||
local cats = {} | local cats = {} | ||
if needsHorizontalLists() then table.insert(cats, 'Navigational boxes without horizontal lists') end | if needsHorizontalLists() then table.insert(cats, 'Navigational boxes without horizontal lists') end | ||
if hasBackgroundColors() then table.insert(cats, 'Navboxes using background colours') end | if hasBackgroundColors() then table.insert(cats, 'Navboxes using background colours') end | ||
if isIllegible() then table.insert(cats, 'Potentially illegible navboxes') end | if isIllegible() then table.insert(cats, 'Potentially illegible navboxes') end | ||
if hasBorders() then table.insert(cats, 'Navboxes using borders') end | if hasBorders() then table.insert(cats, 'Navboxes using borders') end | ||
return cats | return cats | ||
end | end | ||
| שורה 453: | שורה 453: | ||
getArgs = require('Module:Arguments').getArgs | getArgs = require('Module:Arguments').getArgs | ||
end | end | ||
args = getArgs(frame, {wrappers = {'Template:Navbox | args = getArgs(frame, {wrappers = {'Template:Navbox'}}) | ||
-- Read the arguments in the order they'll be output in, to make references number in the right order. | -- Read the arguments in the order they'll be output in, to make references number in the right order. | ||