Template:Namespace and pagename-detecting templates
From WikiMD's Wellness Encyclopedia
| Namespace and pagename-detecting templates |
| Namespace | |
| Pagename |
|
| When on basepage | Detects and acts according to whether it is on a basepage or on any subpage (that is, a ../.. subpage). |
| When pagename is | For pattern matching on the pagename. |
| Module:Page | 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. |
|
|
| Others |
|
| Stub other | Detects whether it is on a page with a stub template or not. |
| Redirect other | Detects whether it is on a redirect or not. |
| If preview | Detects whether page is viewed as a preview or not. |
| If IP | Displays different content to IP users and logged-in users. |
| If autoconfirmed | Displays different content to autoconfirmed and non-autoconfirmed users. |
|
|
|