FANDOM


function link(name, preload)
 return ('[%s <span style="color:#ba0000">%s</span>]'):format(mw.title.new(name):fullUrl{action = 'edit', preload = preload}, name)
end
return {
article = function() return link('Asbox article test', 'Template:Asbox') end,
template = function() return link('Template:Asbox test', 'Template:Asbox') end,
subpage = function() return link('Template:Asbox/subpage test', 'Template:Asbox') end,
user = function() return link('User:Østfold test', 'Template:Østfold-geo-stub') end,
sync = function() return link('Module:Asbox/sandbox', 'Module:Asbox') end,
special = function(frame) return ('[%s %s]'):format(mw.title.new('Special:TemplateSandbox'):fullUrl{prefix = 'Module:Asbox/sandbox', page = (frame.args[1] or 'User:Codehydro/Asbox userspace testcase'):match'^%s*(.-)%s*$'}, frame.args[2] or 'click here') end
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.