Template:Namespace and pagename-detecting templates: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Colonies Chris updated for changed name - avoiding template redirect |
meta>DePiep rm double |
||
Line 42: | Line 42: | ||
| liststyle = line-height:1.2em | | liststyle = line-height:1.2em | ||
| group1 = {{tlbare|When on basepage}} | | group1 = {{tlbare|When on basepage}} | ||
| list1 = Detects and acts according to whether it is on a basepage, subpage, subsubpage or beyond. | | list1 = Detects and acts according to whether it is on a basepage (that is, not a <code>../..</code> subpage), subpage, subsubpage or beyond. | ||
| group2 = {{tlbare|When pagename is}} | | group2 = {{tlbare|When pagename is}} | ||
| list2 = For pattern matching on the pagename. | | list2 = For pattern matching on the pagename. | ||
| group3 = {{tlbare|pgn}} | | group3 = {{tlbare|pgn}} | ||
| list3 = Can take apart and put together pagenames in several ways. | | list3 = Can take apart and put together pagenames in several ways. | ||
| group4 = {{tlbare|IP-talk}} | | group4 = {{tlbare|IP-talk}} | ||
| list4 = Returns IP-user talkpage, registered-user talkpage or non-user talkpage. | | list4 = Returns IP-user talkpage, registered-user talkpage or non-user talkpage. | ||
| group5 = {{tlbare|IP-user other}} | | group5 = {{tlbare|IP-user other}} | ||
| list5 = For detecting IP-user pages. | | list5 = For detecting IP-user pages. | ||
| group6 = {{tlbare|Subpage other}} | |||
| group6 | | list6 = Pagename has an after-slash part (not in mainspace) | ||
| group7 = {{tlbare|Sandbox other}} | |||
| list7 = Page is subpage /sandbox (template space) | |||
| | |||
| | |||
| | |||
}} | }} | ||