Template:Namespace and pagename-detecting templates: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus m caps |
m 41 revisions imported |
||
(26 intermediate revisions by 9 users not shown) | |||
Line 2: | Line 2: | ||
| name = Namespace and pagename-detecting templates | | name = Namespace and pagename-detecting templates | ||
| state = {{{state|{{{1|<noinclude>expanded</noinclude>}}}}}} | | state = {{{state|{{{1|<noinclude>expanded</noinclude>}}}}}} | ||
| | | bodyclass=hlist | ||
| title = Namespace and pagename-detecting templates | | title = Namespace and pagename-detecting templates | ||
| group1 = [[Wikipedia:Namespace|Namespace]] | | group1 = [[Wikipedia:Namespace|Namespace]] | ||
Line 10: | Line 9: | ||
{{Navbox |child | {{Navbox |child | ||
|groupstyle=font-weight:normal; | |groupstyle=font-weight:normal; | ||
| group1 = Particular | |||
| group1 = | |||
| list1 = | | list1 = | ||
* {{tlbare| | * {{tlbare|Main other}} | ||
* {{tlbare| | * {{tlbare|Talk other}} | ||
* {{tlbare| | * {{tlbare|Book other}} | ||
* {{tlbare| | * {{tlbare|Category other}} | ||
* {{tlbare| | * {{tlbare|Draft other}} | ||
* {{tlbare| | * {{tlbare|File other}} | ||
* {{tlbare| | ** {{tlbare|Is Commons}} | ||
* {{tlbare| | * {{tlbare|Help other}} | ||
* {{tlbare| | * {{tlbare|Module other}} | ||
* {{tlbare| | * {{tlbare|Portal other}} | ||
* {{tlbare| | * {{tlbare|Template other}} | ||
* {{tlbare| | * {{tlbare|User other}} | ||
* {{tlbare|Wikipedia other}} | |||
* {{tlbare|Single namespace}} | |||
* {{tlbare|If talkspace of}} | |||
* {{tlbare|If usertalk of}} | |||
| group2 = More generic | | group2 = More generic | ||
| list2 = | | list2 = | ||
* {{tlbare| | * {{tlbare|Namespace detect}} | ||
* {{tlbare| | * {{tlbare|Namespace detect showall}} | ||
* {{tlbare| | * {{tlbare|Main talk other}} | ||
* {{tlbare| | ** {{tlbare|Main talk other flex}} | ||
* {{tlbare| | * {{tlbare|Talkspace detect}} | ||
}} | }} | ||
< | | group2 = [[Wikipedia:Page name|Pagename]] | ||
| list2 = {{navbox|subgroup | |||
| groupstyle = line-height:1.2em; font-weight:normal; background:transparent; | |||
| liststyle = line-height:1.2em | |||
| group1 = {{tlbare|When on basepage}} | |||
| list1 = Detects and acts according to whether it is on a basepage ''or'' on any subpage (that is, a <code>../..</code> subpage). | |||
| group2 = {{tlbare|When pagename is}} | |||
| list2 = For pattern matching on the pagename. | |||
| group3 = [[Module:Page]] | |||
| list3 = Can take apart and put together pagenames in several ways. | |||
| group4 = {{tlbare|IP-talk}} | |||
| list4 = Returns IP-user talkpage, registered-user talkpage or non-user talkpage. | |||
| group5 = {{tlbare|IP-user other}} | |||
| list5 = For detecting IP-user pages. | |||
| group6 = {{tlbare|Subpage other}} | |||
| list6 = Pagename has an after-slash part (not in mainspace) | |||
| group7 = {{tlbare|Sandbox other}} | |||
| list7 = Page is subpage /sandbox (template space) | |||
| group8 = {{tlbare|Testcases other}} | |||
| list8 = Page is subpage /testcases (template space) | |||
}} | |||
| group3 = | | group3 = Others | ||
| list3 = | | list3 = {{navbox|subgroup | ||
| groupstyle = line-height:1.2em; font-weight:normal; background:transparent; | |||
| | | liststyle = line-height:1.2em | ||
| | | group1 = {{tlbare|Stub other}} | ||
| list1 = Detects whether it is on a page with a stub template or not. | |||
| group2 = {{tlbare|Preview other}} | |||
| list2 = Detects whether page is viewed as a preview or not. | |||
}} | }} | ||
| below = | | below = | ||
* [[Wikipedia:Namespace]] | * [[Wikipedia:Namespace]] | ||
Line 60: | Line 76: | ||
}}<noinclude> | }}<noinclude> | ||
{{ | {{documentation}} | ||
</noinclude> | </noinclude> |