Editing Module:Navbox
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
-- version 1.2.5 | |||
-- version 1.2.5 | |||
-- config table for RANGER. | -- config table for RANGER. | ||
| Line 6: | Line 5: | ||
-- please do it via the `onLoadConfig` hook in [[Module:Navbox/Hooks]]. | -- please do it via the `onLoadConfig` hook in [[Module:Navbox/Hooks]]. | ||
local config = { | local config = { | ||
default_navbox_class = "navigation-not-searchable | default_navbox_class = "navigation-not-searchable", -- Base value of the `class` parameter. | ||
default_title_class = nil, -- Base value of the `title_class` parameter. | default_title_class = nil, -- Base value of the `title_class` parameter. | ||
default_above_class = nil, -- Base value of the `above_class` parameter. | default_above_class = nil, -- Base value of the `above_class` parameter. | ||
| Line 136: | Line 135: | ||
args = h.parseArgs(args) | args = h.parseArgs(args) | ||
end | end | ||
h.runHook('onLoadConfig', config, args) | h.runHook('onLoadConfig', config, args) | ||
| Line 296: | Line 293: | ||
-- parse arguments, convert them to structured data tree | -- parse arguments, convert them to structured data tree | ||
function h.buildDataTree(args) | function h.buildDataTree(args) | ||
-- parse args to a tree | -- parse args to a tree | ||
| Line 612: | Line 564: | ||
:wikitext(data.below.content) | :wikitext(data.below.content) | ||
end | end | ||
return tostring(out) | return tostring(out)..'[[Category:Pages with navboxes]]' -- suggest to use HIDDENCAT here; will be used for maintenance & gadget imports | ||
end | end | ||