Jump to content

Module:Navbar: Difference between revisions

From Worldpedia, the free encyclopedia
Created page with "local p = {} function p.main(frame) local output = '<div class="navbar">' output = output .. '<a href="/wiki/Main_Page" class="navbar-item">Home</a>' output = output .. '<a href="/wiki/Help:Contents" class="navbar-item">Help</a>' output = output .. '<a href="/wiki/Special:RecentChanges" class="navbar-item">Recent Changes</a>' output = output .. '</div>' return output end return p"
Tags: Mobile edit Mobile web edit
m 1 revision imported from enwiki:Module:Navbar
Tags: Mobile edit Mobile web edit
 
(No difference)

Latest revision as of 23:12, 2 March 2025

Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab. This is a Lua implementation of {{Navbar}}. It is used in Module:Navbox.


local p = {}

function p.main(frame)
    local output = '<div class="navbar">'
    output = output .. '<a href="/wiki/Main_Page" class="navbar-item">Home</a>'
    output = output .. '<a href="/wiki/Help:Contents" class="navbar-item">Help</a>'
    output = output .. '<a href="/wiki/Special:RecentChanges" class="navbar-item">Recent Changes</a>'
    output = output .. '</div>'
    return output
end

return p