Module:Navpills: Difference between revisions
From Aeronautica Official Wiki
More actions
Polderbaan (talk | contribs) No edit summary |
Polderbaan (talk | contribs) No edit summary |
||
Line 33: | Line 33: | ||
local num = tostring( args['cols'] ) | local num = tostring( args['cols'] ) | ||
html:addClass( string.format( 'template-navpills--col%s', num ) ) | html:addClass( string.format( 'template-navpills--col%s', num ) ) | ||
end | |||
if args['rows'] then | |||
local num = tostring( args['rows'] ) | |||
html:addClass( string.format( 'template-navpills--row%s', num ) ) | |||
end | end | ||