Module:Template link general: Difference between revisions
From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
Content added Content deleted
Artoria2e5 (talk | contribs) mNo edit summary |
Artoria2e5 (talk | contribs) (accept empty, unstrip non-nil only) |
||
Line 96: | Line 96: | ||
for i = 2, 11 do |
for i = 2, 11 do |
||
local ii = tostring(i) |
local ii = tostring(i) |
||
local val = |
local val = args[ii] |
||
if |
if val ~= nil then break else val = mw.text.unstripNoWiki(val) end |
||
if not _ne(args.yeswiki) then val = nw(val) end |
if not _ne(args.yeswiki) 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 |