Module:Variable arguments: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 62: | Line 62: | ||
if string.lower(v) ~= "false" and string.lower(v) ~= "true" then | if string.lower(v) ~= "false" and string.lower(v) ~= "true" then | ||
result = result .. "<div style=\"margin-left: 10px;\"> | result = result .. string.format("<div style=\"margin-left: 10px;\">'''{{w|%s}}'''</div>\n", v) | ||
end | end | ||
i = i + 1 | i = i + 1 | ||
| Line 70: | Line 68: | ||
if result == "" then | if result == "" then | ||
result = "<div style=\"margin-left: 10px;\">{{w|{{ARTICLEROOTPAGENAME}}}}</div>\n" .. result | |||
result = "<div style=\"margin-left: 10px;\"> | |||
end | end | ||