Module:Variable arguments: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary Tag: Manual revert |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 121: | Line 121: | ||
end | end | ||
result = "<div | result = "<div class=\"wikibanner\">\n" | ||
.. "<div class=\"wikibanner-image\">[[File:Wikipedia-logo.png|44px|none|link=|alt=]]</div>\n" | |||
.. "<div | .. "<div class=\"wikibanner-text\">" | ||
.. "<div | |||
.. string.format("English [[Wikipedia:Main Page|Wikipedia]] has %s on:\n%s</div>", (i > 1 and "articles" or "an article"), result) | .. string.format("English [[Wikipedia:Main Page|Wikipedia]] has %s on:\n%s</div>", (i > 1 and "articles" or "an article"), result) | ||
.. "{{clear}}</div>" | .. "{{clear}}</div>" | ||
.. mw.getCurrentFrame():extensionTag("templatestyles", "", { | |||
src = "Module:Variable arguments/styles.css" | |||
}) | |||
return frame:preprocess(yesno(debugg) == true and "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>" or result) | return frame:preprocess(yesno(debugg) == true and "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>" or result) | ||
end | end | ||
return p | return p | ||