Template:Portal maintenance status/testcases
Jump to navigation
Jump to search
![]() | This is the template test cases page for the sandbox of Template:Portal maintenance status. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Contents
Template testcases
Date
Manual
Non-standard
Incomplete
Subpages
Upgrade
Multiple flags
Embed
Module testcases
![]() | This is the template test cases page for the sandbox of Module:Portal maintenance status. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
main function
Module:Portal maintenance status | Module:Portal maintenance status/sandbox |
---|---|
If the portal contains {{Portal maintenance status}}
| |
If the portal contains {{Portal maintenance status|manual=yes}}
| |
If the portal contains {{Portal maintenance status|manual=yes|maintainer1=Example}}
| |
If the portal contains {{Portal maintenance status|nonstandard=yes}}
| |
If the portal contains {{Portal maintenance status|manual=yes|nonstandard=yes}}
| |
If the portal contains {{Portal maintenance status|subpages=single}}
| |
If the portal contains {{Portal maintenance status|subpages=checked}}
| |
If the portal contains {{Portal maintenance status|manual=yes|nonstandard=yes|subpages=single}}
| |
If the portal contains {{Portal maintenance status|manual=yes|nonstandard=yes|subpages=checked}}
| |
If the portal contains {{Portal maintenance status|manual=yes|nonstandard=yes|incomplete=yes}}
| |
If the portal contains {{Portal maintenance status|upgrade=yes}}
| |
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 in Module:Portal_maintenance_status at line 45: attempt to index field '?' (a nil value). | Lua error in Module:Portal_maintenance_status/sandbox at line 45: attempt to index field '?' (a nil value). |
If the portal contains {{Portal maintenance status|note=Some note}}
| |
If the portal contains {{Portal maintenance status|note=Some note with a {{tl|tl}} template}}
| |
If the portal contains {{Portal maintenance status|note=Some note with {{tl|tl}} and {{tlx|tlx}} templates}}
| |
historical function
Module:Portal maintenance status | Module:Portal maintenance status/sandbox |
---|---|
If the project page contains {{Historical}}
| |
yes | yes |
If the project page contains {{Historical|foo}}
| |
yes | yes
|
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. | Lua error: Wrong namespace. |