Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Navbox: Difference between revisions

From The Petit Planet Wiki
Created page with "-- version 1.2.5 -- config table for RANGER. -- If you want to change the default config, DO NOT change it here, -- please do it via the `onLoadConfig` hook in Module:Navbox/Hooks. local config = { default_navbox_class = "navigation-not-searchable", -- Base value of the `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_below_class =..."
 
Removed auto-category
 
Line 1: Line 1:
-- version 1.2.5
-- Source: https://defaultloadout.wiki.gg/wiki/Module:Navbox
-- version 1.2.5.1


-- config table for RANGER.
-- config table for RANGER.
Line 5: Line 6:
-- 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",  -- Base value of the `class` parameter.
default_navbox_class = "navigation-not-searchable noexcerpt",  -- 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 564: Line 565:
:wikitext(data.below.content)
:wikitext(data.below.content)
end
end
return tostring(out)..'[[Category:Pages with navboxes]]' -- suggest to use HIDDENCAT here; will be used for maintenance & gadget imports
return tostring(out)
end
end