Module:Infobox3cols: Difference between revisions
NeonWabbit (talk | contribs) Created page with "local check_for_unknown_parameters = require("Module:Check for unknown parameters")._check local p = {} local args = {} local origArgs = {} local root local lists = { plainlist_t = { patterns = { '^plainlist$', '%splainlist$', '^plainlist%s', '%splainlist%s' }, found = false, styles = 'Plainlist/styles.css' }, hlist_t = { patterns = { '^hlist$', '%shlist$', '^hlist%s', '%shlist%s' }, found = false, styles = 'Hlist/styles.css'..." |
NeonWabbit (talk | contribs) No edit summary |
||
| Line 385: | Line 385: | ||
root:wikitext(check_for_unknown_parameters({ | root:wikitext(check_for_unknown_parameters({ | ||
['unknown'] = mw.getCurrentFrame():expandTemplate{ | |||
ignoreblank = | title = 'main other', | ||
args = {'[[Category:Pages using infobox3cols with unknown parameters|_VALUE_"' .. title.text .. ']]'} | |||
}, | |||
['preview'] = 'Page using [[Template:infobox3cols]] with unknown parameter "_VALUE_"', | |||
['ignoreblank'] = 'y', | |||
regexp1 = "header[%d]+", | regexp1 = "header[%d]+", | ||
regexp2 = "label[%d]+", | regexp2 = "label[%d]+", | ||
| Line 394: | Line 398: | ||
regexp6 = "rowstyle[%d]+", | regexp6 = "rowstyle[%d]+", | ||
regexp7 = "rowcellstyle[%d]+", | regexp7 = "rowcellstyle[%d]+", | ||
regexp8 = "subheader[1]?[0-9]?", | |||
regexp9 = "subheaderrowclass[1]?[0-9]?", | |||
"above", "aboveclass", "aboverowclass", "abovestyle", "below", "belowclass", | "above", "aboveclass", "aboverowclass", "abovestyle", "below", "belowclass", | ||
"belowrowclass", "belowstyle", "bodyclass", "bodystyle", "caption", "caption1", | "belowrowclass", "belowstyle", "bodyclass", "bodystyle", "caption", "caption1", | ||
| Line 400: | Line 405: | ||
"datastylec", "extracellstyles", "headerstyle", "image", "image1", "image2", | "datastylec", "extracellstyles", "headerstyle", "image", "image1", "image2", | ||
"imageclass", "imagerowclass1", "imagerowclass2", "imagestyle", "labelstyle", | "imageclass", "imagerowclass1", "imagerowclass2", "imagestyle", "labelstyle", | ||
"name", "subbox | "name", "subbox", "subheaderstyle", "templatestyles", | ||
"title", "titleclass", "titlestyle" | |||
"title", "titleclass", "titlestyle" | |||
}, origArgs)) | }, origArgs)) | ||