View source for Module:Delimited tag
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local p = {}
function p.output(f)
local args = f
if f == mw.getCurrentFrame() then
args = require('Module:ProcessArgs').merge(true)
end
local tag = function(txt)
return '<' .. args['tag'] .. (args['wordbreak'] and ' style="word-break:break-all"' or '') .. '>' .. txt .. '</' .. args['tag'] .. '>'
end
local listLevel = args['list-level'] or '**'
local output = tag(assert(args[1], 'No tag text provided.?'))
local finalDelimiterValues = {
['none'] = '<nowiki/>',
['comma'] = ', ',
[','] = ', ',
['and'] = ', and ',
['&'] = ' & ',
000
1:0
Template used on this page:
Return to Module:Delimited tag.