Template:Namespace and pagename-detecting templates
Namespace and pagename-detecting templates | |||||
---|---|---|---|---|---|
Namespace |
| ||||
Pagename | {{{title}}} Detects and acts according to whether it is on a basepage or on any subpage (that is, a ../.. subpage).For pattern matching on the pagename. Can take apart and put together pagenames in several ways. Returns IP-user talkpage, registered-user talkpage or non-user talkpage. For detecting IP-user pages. Pagename has an after-slash part (not in mainspace) Page is subpage /sandbox (template space) Page is subpage /testcases (template space) | ||||
Others | {{{title}}} Detects whether it is on a page with a stub template or not. Detects whether it is on a redirect or not. Detects whether page is viewed as a preview or not. Displays different content to IP users and logged-in users. Displays different content to autoconfirmed and non-autoconfirmed users. Displays different content to extended confirmed and non-extended confirmed users. Displays content only to admins. Displays different content to mobile users and desktop users. | ||||
Script error: The function "main" does not exist.