Module:Userbox: Difference between revisions

Content added Content deleted
(trying it this way)
(Reverted the last edit(s) to revision 112117 by MrJaroslavik)
Line 38: Line 38:
-- Makes a category link.
-- Makes a category link.
if sort then
if sort then
return mw.ustring.format('<includeonly>[[Category:%s|%s]]</includeonly>', cat, sort)
return mw.ustring.format('[[Category:%s|%s]]', cat, sort)
else
else
return mw.ustring.format('<includeonly>[[Category:%s]]</includeonly>', cat)
return mw.ustring.format('[[Category:%s]]', cat)
end
end
end
end