Module:Navbox: Difference between revisions

Ganaram inukshuk (talk | contribs)
No edit summary
Ganaram inukshuk (talk | contribs)
No edit summary
Line 105: Line 105:
-- Navbox has no title, border, or collapse options.
-- Navbox has no title, border, or collapse options.
-- This navbox is meant to display subheaders.
-- This navbox is meant to display subheaders.
navbox = '<table style="width: 100%; border-spacing: 0px;">\n'
navbox = '{| width="100%" style="mw-border-collapse: collapse; border-spacing: 0; margin: 0;"\n'
-- Add rows
-- Add rows
Line 113: Line 113:
-- End of table
-- End of table
navbox = navbox .. '</table>'
navbox = navbox .. '|}\n'
else
else
-- Navbox has a title, wikitable border, and collapse options.
-- Navbox has a title, wikitable border, and collapse options.