Module:infobox: Difference between revisions

Jump to navigation Jump to search
Created page with "local export = {} function export.make_infobox(data) local ret = '{| class="infobox"' if data.title then ret = ret .. '\n|-' ret = ret .. '\n! style="font-size:125%;font-weight:bold;text-align:center;" colspan=2 | ' .. data.title end if data.sections then for _, section in ipairs(data.sections) do if section.items then local num_items = #section.items for i, item in ipairs(section.items) do local row_class = "" if i == 1 then row_cla..."
(Created page with "local export = {} function export.make_infobox(data) local ret = '{| class="infobox"' if data.title then ret = ret .. '\n|-' ret = ret .. '\n! style="font-size:125%;font-weight:bold;text-align:center;" colspan=2 | ' .. data.title end if data.sections then for _, section in ipairs(data.sections) do if section.items then local num_items = #section.items for i, item in ipairs(section.items) do local row_class = "" if i == 1 then row_cla...")
(No difference)

Navigation menu