Modul:Portal-inline: Razlika med redakcijama

Izbrisana vsebina Dodana vsebina
mBrez povzetka urejanja
m odstranjena kategorizacija
Vrstica 13:
-- If no portals have been specified, display an error and add the page to a tracking category.
if not portals[1] then
root = '<span style="font-size:100%;" class="error">error: missing portal name.</span></strong>[[Category:Portal templates without a parameter]]'
return tostring(root)
end
Vrstica 21:
if not ((args.redlinks == 'yes') or (args.redlinks == 'y') or (args.redlinks == 'true') or (args.redlinks == 'include')) then
-- just return if redlinks is not "yes" or similar
root = ''
root = '[[Category:Portal templates all redlinked portals]]'
return tostring(root)
end
root = '[[Category:Portal templates all redlinked portals]]<br/>'
end