Template:Namespace and pagename-detecting templates
From Anarchy Online Wiki [AOWiki]
Namespace and pagename-detecting templates |
---|
Namespace | |
---|
Pagename | {{#if:
| [[Template:{{{2}}}|{{{2}}}]]
| When on basepage
}} ({{#if:
| [[Template:{{{2}}}|{{{2}}}]]
| Basepage subpage
}}) | Detects and acts according to whether it is on a basepage, subpage, subsubpage or beyond. |
---|
{{#if:
| [[Template:{{{2}}}|{{{2}}}]]
| When pagename is
}} ({{#if:
| [[Template:{{{2}}}|{{{2}}}]]
| If pagename
}}) | For pattern matching on the pagename. |
---|
{{#if:
| [[Template:{{{2}}}|{{{2}}}]]
| pgn
}} | Can take apart and put together pagenames in several ways. |
---|
{{#if:
| [[Template:{{{2}}}|{{{2}}}]]
| IP-talk
}} | Returns IP-user talkpage, registered-user talkpage or non-user talkpage. |
---|
{{#if:
| [[Template:{{{2}}}|{{{2}}}]]
| IP-user other
}} | For detecting IP-user pages. |
---|
|
---|
|
Template documentation[create]
{{#if:|
[[Category:Template documentation pages{{#translation:}}]]
}}