Content deleted Content added
MusikBot II (talk | contribs) m Protected "Module:Portal bar/sandbox": High-risk template or module: 1029 transclusions (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite)) |
better implementation of nbsp |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1:
-- This module implements {{portal bar}}.
require('
-- determine whether we're being called from a sandbox
Line 61:
header:wikitext(':')
end
local container = nav:tag('
container:addClass(sandboxVersion('portal-bar-content'))
if related then
Line 69:
for _, portal in ipairs( portals ) do
container
:tag( '
:addClass(sandboxVersion('portal-bar-item'))
:wikitext( string.format('<span class="nowrap">[[File:%s|%s]]
getImageName(portal,true), size, portal, portal))
end
|