Module:New Article Text: Difference between revisions
Created page with "local p = {} function p.main(frame) local td_attr = { valign='top' } local td_css = { width='50%' } local title = frame:getParent():getTitle() local sections = mw.loadData('Module:New Article Text/data') local output = {} -- For Each Section for _, section_data in ipairs(sections) do if section_data['header'] and section_data['sections'] then local evenTest local section = page_layou..." |
m Protected "Module:New Article Text" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 57: | Line 57: | ||
function page_layout(section_title) | function page_layout(section_title) | ||
local table_attr = { | local table_attr = { | ||
class = 'wikitable mw-collapsible | class = 'wikitable mw-collapsible plainlinks', | ||
['data-expandtext'] = '+', | ['data-expandtext'] = '+', | ||
['data-collapsetext'] = '-' | ['data-collapsetext'] = '-' | ||