When on basepage | Detects and acts according to whether it is on a basepage (that is, not a ../.. subpage), subpage, subsubpage or beyond. |
---|
When pagename is | For pattern matching on the pagename. |
---|
pgn | Can take apart and put together pagenames in several ways. |
---|
IP-talk | Returns IP-user talkpage, registered-user talkpage or non-user talkpage. |
---|
IP-user other | For detecting IP-user pages. |
---|
Subpage other | Pagename has an after-slash part (not in mainspace) |
---|
Sandbox other | Page is subpage /sandbox (template space) |
---|
Testcases other | Page is subpage /testcases (template space) |
---|