Module:NavboxUpgraded: Difference between revisions
EnWikiAdmin (talk | contribs) No edit summary |
EnWikiAdmin (talk | contribs) No edit summary |
||
Line 53: | Line 53: | ||
for item in sublist:gmatch("%*%s*(.-)\n?") do | for item in sublist:gmatch("%*%s*(.-)\n?") do | ||
if item ~= "" then | if item ~= "" then | ||
ul:tag('li'):wikitext(item) | |||
end | end | ||
end | end | ||
Line 63: | Line 63: | ||
return tostring(html) | return tostring(html) | ||
end | end | ||
Line 160: | Line 161: | ||
for item in list:gmatch("%*%s*(.-)\n?") do | for item in list:gmatch("%*%s*(.-)\n?") do | ||
if item ~= "" then | if item ~= "" then | ||
ul:tag('li'):wikitext(item) | |||
end | end | ||
end | end | ||
Line 181: | Line 182: | ||
return tostring(navbox) | return tostring(navbox) | ||
end | end | ||