Module:Portal maintenance status/doc
![]() | This is a documentation subpage for Module:Portal maintenance status. It may contain usage information, categories and other content that is not part of the original module page. |
This module searches a Portal_talk: page's portal page, and returns an appropriate message if {{Maintained portal flag}} or {{Non-standard portal flag}} is found in the page wikitext.
An error is reported if this module is used outside of the Portal_talk namespace. It can be demonstrated, in any namespace, with the |demo=
and |demo2=
parameters, which take the name of templates to "find" (instead of actually searching a page).
Usage
{{#invoke:Portal maintenance status|main}}
Examples
If the portal contains {{Maintained portal flag}}
:
Script error: No such module "Portal flag talk auto".
If the portal contains {{Non-standard portal flag}}
:
Script error: No such module "Portal flag talk auto".
If the portal contains both {{Maintained portal flag}}
and {{Non-standard portal flag}}
:
Script error: No such module "Portal flag talk auto".
If the portal contains neither template, there is no output:
Script error: No such module "Portal flag talk auto".
If used in the wrong namespace, an error is reported:
Script error: No such module "Portal flag talk auto".
See also