Module:Template link general: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
Artoria2e5 (talk | contribs) (Okay.... ns check) |
Artoria2e5 (talk | contribs) (Don't use nowiki by default -- this might be breaking, but fixes the 124 and 61 test cases) |
||
Line 102: | Line 102: | ||
local val = args[ii] |
local val = args[ii] |
||
if val ~= nil then val = mw.text.unstripNoWiki(val) else break end |
if val ~= nil then val = mw.text.unstripNoWiki(val) else break end |
||
if not _ne(args. |
if not _ne(args.nowiki) then val = nw(val) end |
||
if italic then val = '<span style="font-style:italic;">' .. val .. '</span>' end |
if italic then val = '<span style="font-style:italic;">' .. val .. '</span>' end |
||
textPart = textPart .. '|' .. val |
textPart = textPart .. '|' .. val |