When on basepage | Detects and acts according to whether it is on a basepage, 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. |
---|
Basepage subpage | Top page not a (../..) subpage |
---|
Subpage other | Pagename has an after-slash part (not in mainspace) |
---|
Sandbox other | Page is subpage /sandbox (template space) |
---|