Title: Module:Navbar - freem URL Source: https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar Markdown Content: [Jump to content](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#bodyContent) - [x] Main menu Main menu move to sidebar hide Navigation * [Main page](https://freemwiki.com/wiki/Main_Page "Visit the main page [alt-shift-z]") * [Recent changes](https://freemwiki.com/wiki/Special:RecentChanges "A list of recent changes in the wiki [alt-shift-r]") * [Random page](https://freemwiki.com/wiki/Special:Random "Load a random page [alt-shift-x]") * [Help about MediaWiki](https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents) Legal * [Terms](https://freemwiki.com/wiki/Terms_of_Service) * [Privacy Policy](https://freemwiki.com/wiki/Privacy_Policy) * [About](https://freemwiki.com/wiki/About) * [Contact](https://freemwiki.com/wiki/Contact) [![Image 1](https://freemwiki.com/images/freem.svg)**freem**](https://freemwiki.com/wiki/Main_Page) [Search](https://freemwiki.com/wiki/Special:Search "Search freem [alt-shift-f]") Search - [x] Appearance * [Create account](https://freemwiki.com/index.php?title=Special:CreateAccount&returnto=Module%3ANavbar&returntoquery=oldid%3D579776 "You are encouraged to create an account and log in; however, it is not mandatory") * [Log in](https://freemwiki.com/index.php?title=Special:UserLogin&returnto=Module%3ANavbar&returntoquery=oldid%3D579776 "You are encouraged to log in; however, it is not mandatory [alt-shift-o]") - [x] Personal tools * [Create account](https://freemwiki.com/index.php?title=Special:CreateAccount&returnto=Module%3ANavbar&returntoquery=oldid%3D579776 "You are encouraged to create an account and log in; however, it is not mandatory") * [Log in](https://freemwiki.com/index.php?title=Special:UserLogin&returnto=Module%3ANavbar&returntoquery=oldid%3D579776 "You are encouraged to log in; however, it is not mandatory [alt-shift-o]") Pages for logged out editors [learn more](https://freemwiki.com/wiki/Help:Introduction) * [Contributions](https://freemwiki.com/wiki/Special:MyContributions "A list of edits made from this IP address [alt-shift-y]") * [Talk](https://freemwiki.com/wiki/Special:MyTalk "Discussion about edits from this IP address [alt-shift-n]") # Module:Navbar - [x] Add languages * [Module](https://freemwiki.com/wiki/Module:Navbar "View the module page [alt-shift-c]") * [Discussion](https://freemwiki.com/index.php?title=Module_talk:Navbar&action=edit&redlink=1 "Discussion about the content page (page does not exist) [alt-shift-t]") - [x] English * [Read](https://freemwiki.com/wiki/Module:Navbar) * [Edit source](https://freemwiki.com/index.php?title=Module:Navbar&action=edit "Edit the source code of this page [alt-shift-e]") * [View history](https://freemwiki.com/index.php?title=Module:Navbar&action=history "Past revisions of this page [alt-shift-h]") - [x] Tools Tools move to sidebar hide Actions * [Read](https://freemwiki.com/wiki/Module:Navbar) * [Edit source](https://freemwiki.com/index.php?title=Module:Navbar&action=edit "Edit the source code of this page [alt-shift-e]") * [View history](https://freemwiki.com/index.php?title=Module:Navbar&action=history) General * [What links here](https://freemwiki.com/wiki/Special:WhatLinksHere/Module:Navbar "A list of all wiki pages that link here [alt-shift-j]") * [Related changes](https://freemwiki.com/wiki/Special:RecentChangesLinked/Module:Navbar "Recent changes in pages linked from this page [alt-shift-k]") * [Special pages](https://freemwiki.com/wiki/Special:SpecialPages "A list of all special pages [alt-shift-q]") * [Printable version](javascript:print(); "Printable version of this page [alt-shift-p]") * [Permanent link](https://freemwiki.com/index.php?title=Module:Navbar&oldid=579776 "Permanent link to this revision of this page") * [Page information](https://freemwiki.com/index.php?title=Module:Navbar&action=info "More information about this page") Appearance move to sidebar hide Text * Small Standard Large This page always uses small font size Width * Standard Wide The content is as wide as possible for your browser window. From freem Revision as of 06:18, 21 October 2025 by [Lukegao](https://freemwiki.com/index.php?title=User:Lukegao&action=edit&redlink=1 "User:Lukegao (page does not exist)")([talk](https://freemwiki.com/index.php?title=User_talk:Lukegao&action=edit&redlink=1 "User talk:Lukegao (page does not exist)") | [contribs](https://freemwiki.com/wiki/Special:Contributions/Lukegao "Special:Contributions/Lukegao"))(1 revision imported) ([diff](https://freemwiki.com/index.php?title=Module:Navbar&diff=prev&oldid=579776 "Module:Navbar")) [← Older revision](https://freemwiki.com/index.php?title=Module:Navbar&direction=prev&oldid=579776 "Module:Navbar") | Latest revision (diff) | Newer revision → (diff) _Documentation for this module may be created at [Module:Navbar/doc](https://freemwiki.com/index.php?title=Module:Navbar/doc&action=edit&redlink=1 "Module:Navbar/doc (page does not exist)")_ [](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-1)local p = {}[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-2)local cfg = mw.loadData(['Module:Navbar/configuration'](https://freemwiki.com/wiki/Module:Navbar/configuration))[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-3)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-4)local function get_title_arg(is_collapsible, template)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-5)local title_arg = 1[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-6)if is_collapsible then title_arg = 2 end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-7)if template then title_arg = 'template' end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-8)return title_arg[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-9)end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-10)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-11)local function choose_links(template, args)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-12)-- The show table indicates the default displayed items.[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-13)-- view, talk, edit, hist, move, watch[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-14)-- TODO: Move to configuration.[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-15)local show = {true, true, true, false, false, false}[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-16)if template then[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-17)show[2] = false[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-18)show[3] = false[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-19)local index = {t = 2, d = 2, e = 3, h = 4, m = 5, w = 6,[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-20)talk = 2, edit = 3, hist = 4, move = 5, watch = 6}[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-21)-- TODO: Consider removing TableTools dependency.[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-22)for _, v in ipairs(require (['Module:TableTools'](https://freemwiki.com/wiki/Module:TableTools)).compressSparseArray(args)) do[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-23)local num = index[v][](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-24)if num then show[num] = true end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-25)end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-26)end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-27)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-28)local remove_edit_link = args.noedit[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-29)if remove_edit_link then show[3] = false end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-30)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-31)return show[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-32)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-33)end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-34)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-35)local function add_link(link_description, ul, is_mini, font_style)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-36)local l[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-37)if link_description.url then[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-38)l = {'[', '', ']'}[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-39)else[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-40)l = {'[[', '|', ']]'}[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-41)end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-42)ul:tag('li')[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-43):addClass('nv-' .. link_description.full)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-44):wikitext(l[1] .. link_description.link .. l[2])[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-45):tag(is_mini and 'abbr' or 'span')[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-46):attr('title', link_description.html_title)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-47):cssText(font_style)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-48):wikitext(is_mini and link_description.mini or link_description.full)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-49):done()[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-50):wikitext(l[3])[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-51):done()[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-52)end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-53)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-54)local function make_list(title_text, has_brackets, displayed_links, is_mini, font_style)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-55)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-56)local title = mw.title.new(mw.text.trim(title_text), cfg.title_namespace)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-57)if not title then[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-58)error(cfg.invalid_title .. title_text)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-59)end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-60)local talkpage = title.talkPageTitle and title.talkPageTitle.fullText or ''[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-61)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-62)-- TODO: Get link_descriptions and show into the configuration module.[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-63)-- link_descriptions should be easier...[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-64)local link_descriptions = {[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-65){ ['mini'] = 'v', ['full'] = 'view', ['html_title'] = 'View this template',[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-66)['link'] = title.fullText, ['url'] = false },[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-67){ ['mini'] = 't', ['full'] = 'talk', ['html_title'] = 'Discuss this template',[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-68)['link'] = talkpage, ['url'] = false },[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-69){ ['mini'] = 'e', ['full'] = 'edit', ['html_title'] = 'Edit this template',[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-70)['link'] = 'Special:EditPage/' .. title.fullText, ['url'] = false },[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-71){ ['mini'] = 'h', ['full'] = 'hist', ['html_title'] = 'History of this template',[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-72)['link'] = 'Special:PageHistory/' .. title.fullText, ['url'] = false },[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-73){ ['mini'] = 'm', ['full'] = 'move', ['html_title'] = 'Move this template',[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-74)['link'] = mw.title.new('Special:Movepage'):fullUrl('target='..title.fullText), ['url'] = true },[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-75){ ['mini'] = 'w', ['full'] = 'watch', ['html_title'] = 'Watch this template', [](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-76)['link'] = title:fullUrl('action=watch'), ['url'] = true }[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-77)}[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-78)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-79)local ul = mw.html.create('ul')[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-80)if has_brackets then[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-81)ul:addClass(cfg.classes.brackets)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-82):cssText(font_style)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-83)end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-84)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-85)for i, _ in ipairs(displayed_links) do[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-86)if displayed_links[i] then add_link(link_descriptions[i], ul, is_mini, font_style) end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-87)end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-88)return ul:done()[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-89)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-90)end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-91)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-92)function p._navbar(args)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-93)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-94)-- TODO: We probably don't need both fontstyle and fontcolor...[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-95)local font_style = args.fontstyle[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-96)local font_color = args.fontcolor[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-97)local is_collapsible = args.collapsible[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-98)local is_mini = args.mini[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-99)local is_plain = args.plain[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-100)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-101)local collapsible_class = nil[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-102)if is_collapsible then[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-103)collapsible_class = cfg.classes.collapsible[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-104)if not is_plain then is_mini = 1 end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-105)if font_color then[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-106)font_style = (font_style or '') .. '; color: ' .. font_color .. ';'[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-107)end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-108)end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-109)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-110)local navbar_style = args.style[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-111)local div = mw.html.create():tag('div')[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-112)div[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-113):addClass(cfg.classes.navbar)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-114):addClass(cfg.classes.plainlinks)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-115):addClass(cfg.classes.horizontal_list)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-116):addClass(collapsible_class) -- we made the determination earlier[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-117):cssText(navbar_style)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-118)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-119)if is_mini then div:addClass(cfg.classes.mini) end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-120)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-121)local box_text = (args.text or cfg.box_text) .. ' '[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-122) -- the concatenated space guarantees the box text is separated[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-123)if not (is_mini or is_plain) then[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-124)div[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-125):tag('span')[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-126):addClass(cfg.classes.box_text)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-127):cssText(font_style)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-128):wikitext(box_text)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-129)end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-130)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-131)local template = args.template[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-132)local displayed_links = choose_links(template, args)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-133)local has_brackets = args.brackets[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-134)local title_arg = get_title_arg(is_collapsible, template)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-135)local title_text = args[title_arg] or (':' .. mw.getCurrentFrame():getParent():getTitle())[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-136)local list = make_list(title_text, has_brackets, displayed_links, is_mini, font_style)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-137)div:node(list)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-138)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-139)if is_collapsible then[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-140)local title_text_class[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-141)if is_mini then[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-142)title_text_class = cfg.classes.collapsible_title_mini[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-143)else[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-144)title_text_class = cfg.classes.collapsible_title_full[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-145)end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-146)div:done()[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-147):tag('div')[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-148):addClass(title_text_class)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-149):cssText(font_style)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-150):wikitext(args[1])[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-151)end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-152)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-153)local frame = mw.getCurrentFrame()[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-154)-- hlist -> navbar is best-effort to preserve old Common.css ordering.[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-155)return frame:extensionTag{[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-156)name = 'templatestyles', args = { src = cfg.hlist_templatestyles }[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-157)} .. frame:extensionTag{[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-158)name = 'templatestyles', args = { src = cfg.templatestyles }[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-159)} .. tostring(div:done())[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-160)end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-161)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-162)function p.navbar(frame)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-163)return p._navbar(require(['Module:Arguments'](https://freemwiki.com/wiki/Module:Arguments)).getArgs(frame))[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-164)end[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-165)[](https://freemwiki.com/index.php?oldid=579776&title=Module%3ANavbar#L-166)return p Retrieved from "[https://freemwiki.com/index.php?title=Module:Navbar&oldid=579776](https://freemwiki.com/index.php?title=Module:Navbar&oldid=579776)" * This page was last edited on 21 October 2025, at 06:18. * Content is available under [Creative Commons Attribution-ShareAlike 4.0](https://creativecommons.org/licenses/by-sa/4.0/) unless otherwise noted. FreemWiki is operated by **FINGERPOWER DIGITAL TECHNOLOGY LLC** (Colorado, Entity ID 20221978727). * [Privacy Policy](https://freemwiki.com/wiki/Privacy_Policy) * [About](https://freemwiki.com/wiki/About) * [Terms of Service](https://freemwiki.com/wiki/Terms_of_Service) * [Mobile view](https://freemwiki.com/index.php?title=Module:Navbar&oldid=579776&mobileaction=toggle_view_mobile)