Module:Path nav
From The Observatory
Documentation for this module may be created at Module:Path nav/doc
local p = {}
function p.main(frame)
local template = frame:getParent().args
local page = template[1] or ''
local step = template[2] or ''
local html = mw.html.create()
local plank = html:tag('div')
:addClass( 'd-none px-3 py-2 mb-2 align-items-center rounded' )
:addClass( 'flex-column flex-lg-row justify-content-between guide-wrapper' )
:attr( 'data-guide', page )
:css({
['background-color'] = '#e9e9ed'
})
:wikitext( '[[' .. page .. ']]' )
end
return p