Module:Navbox: Difference between revisions
try again |
fix subheader header row; remove all references to rswiki since theres no functional difference between its navbox and wikipedias |
||
| Line 1: | Line 1: | ||
-- Page is following provisonal style guide: User:Ganaram_inukshuk/Provisional_style_guide_for_Lua | -- Page is following provisonal style guide: User:Ganaram_inukshuk/Provisional_style_guide_for_Lua | ||
local p = {} | local p = {} | ||
| Line 133: | Line 132: | ||
-- row, the title row can serve as the header. | -- row, the title row can serve as the header. | ||
navbox = '{| style="mw-border-collapse: collapse; border-spacing: 0; margin: 0; width: 100%;\n' | navbox = '{| style="mw-border-collapse: collapse; border-spacing: 0; margin: 0; width: 100%;\n' | ||
.. p. | .. p.nested_navbox_title(title, false) | ||
-- Add rows | -- Add rows | ||
| Line 181: | Line 180: | ||
-- Preprocess individual entries for, headers, data, and is-row-child into | -- Preprocess individual entries for, headers, data, and is-row-child into | ||
-- one single table. | -- one single table. | ||
local rows = {} | local rows = {} | ||
local is_data_navbox = {} | local is_data_navbox = {} | ||