This module searches a Portal_talk: page's portal page, and returns an appropriate message based if {{Portal maintenance status}} is found in the page's wikitext, and which parameters are used. 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).

{{#invoke:Portal maintenance status|main}}
Looks for {{Portal maintenance status}} on a Portal_talk: page's related portal page.
Returns an appropriate message string if found or an empty string if not found, or an error if used in the wrong namespace.
{{#invoke:Portal maintenance status|historical}}
Looks for {{Historical}} on a Wikipedia_talk: page's related project page.
Returns yes if found or an empty string if not found, or an error if used in the wrong namespace.
{{#invoke:Portal maintenance status|featured}}
Looks for {{Featured portal}} on a Wikipedia_talk: page's related project page.
Returns yes if found or an empty string if not found, or an error if used in the wrong namespace.

If the portal contains {{Portal maintenance status|date=නොවැම්බර් 2024|manual=yes}}

Please take care when editing, especially if using automated editing software, and seek consensus before making major changes. Learn how to update the maintenance information here. (නොවැම්බර් 2024)

If the portal contains {{Portal maintenance status|date=නොවැම්බර් 2024|nonstandard=yes}}

  • This portal has a non-standard layout.
  • This portal's subpages should be checked. Subpages that are no longer needed should be reported here.
Please take care when editing, especially if using automated editing software. Learn how to update the maintenance information here. (නොවැම්බර් 2024)

If the portal contains {{Portal maintenance status|date=නොවැම්බර් 2024|incomplete=yes}}

  • This portal is under construction or incomplete.
  • This portal's subpages should be checked. Subpages that are no longer needed should be reported here.
Please take care when editing, especially if using automated editing software. Learn how to update the maintenance information here. (නොවැම්බර් 2024)

If the portal contains {{Portal maintenance status|date=නොවැම්බර් 2024|subpages=single}}

  • This portal has a single page layout. Any subpages are likely no longer needed.
Please take care when editing, especially if using automated editing software. Learn how to update the maintenance information here. (නොවැම්බර් 2024)

If the portal contains {{Portal maintenance status|date=නොවැම්බර් 2024|subpages=checked}}

  • This portal's subpages have been checked by an editor, and are needed.
Please take care when editing, especially if using automated editing software. Learn how to update the maintenance information here. (නොවැම්බර් 2024)

If the portal contains {{Portal maintenance status|date=නොවැම්බර් 2024|note=This is an example.}}

  • This portal's subpages should be checked. Subpages that are no longer needed should be reported here.
  • Additional notes: This is an example.
Please take care when editing, especially if using automated editing software. Learn how to update the maintenance information here. (නොවැම්බර් 2024)

If the portal contains {{Portal maintenance status|date=නොවැම්බර් 2024|manual=yes|nonstandard=yes|subpages=single|incomplete=yes|note=Lorem ipsum dolor sit amet.}}

  • This portal is manually maintained.
  • This portal has a non-standard layout.
  • This portal is under construction or incomplete.
  • This portal has a single page layout. Any subpages are likely no longer needed.
  • Additional notes: Lorem ipsum dolor sit amet.
Please take care when editing, especially if using automated editing software, and seek consensus before making major changes. Learn how to update the maintenance information here. (නොවැම්බර් 2024)

If the portal does not contain the template, there should be no output



If used in the wrong namespace, an error should be reported

Lua error: Wrong namespace.



"https://si.wikipedia.org/w/index.php?title=Module:Portal_maintenance_status/doc&oldid=439194" වෙතින් සම්ප්‍රවේශනය කෙරිණි