Module:Userbox: Difference between revisions
Content added Content deleted
(it's treating that as nowiki instead of wikitext, removing until I find the solution) |
(trying it this way) |
||
Line 38: | Line 38: | ||
-- Makes a category link. |
-- Makes a category link. |
||
if sort then |
if sort then |
||
return mw.ustring.format('[[Category:%s|%s]]', cat, sort) |
return mw.ustring.format('<includeonly>[[Category:%s|%s]]</includeonly>', cat, sort) |
||
else |
else |
||
return mw.ustring.format('[[Category:%s]]', cat) |
return mw.ustring.format('<includeonly>[[Category:%s]]</includeonly>', cat) |
||
end |
end |
||
end |
end |