Content deleted Content added
Dreamy Jazz (talk | contribs) ce |
add nominimum |
||
Line 95:
-- If no portals have been specified, display an error and add the page to a tracking category.
if not portals[1] then
if (args.nominimum == 'yes') or (args.nominimum == 'y') or (args.nominimum == 'true') then
root:wikitext('<strong class="error">No portals specified: please specify at least one portal</strong>[[Category:Portal templates without a parameter]]')▼
-- if nominimum as been set to yes (or similar), just add the cleanup category without a warning
root:wikitext('[[Category:Portal templates without a parameter]]')
else
▲ root:wikitext('<strong class="error">No portals specified: please specify at least one portal</strong>[[Category:Portal templates without a parameter]]')
end
return tostring(root)
end
|