Template:Namespace and pagename-detecting templates: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Gonnym
removed redirect links and fixed format for nested entries
Ookami (talk | contribs)
m 41 revisions imported
 
(12 intermediate revisions by 5 users not shown)
Line 22: Line 22:
* {{tlbare|Module other}}
* {{tlbare|Module other}}
* {{tlbare|Portal other}}
* {{tlbare|Portal other}}
* {{tlbare|Sandbox other}}
* {{tlbare|Template other}}
* {{tlbare|Template other}}
* {{tlbare|User other}}
* {{tlbare|User other}}
Line 34: Line 33:
* {{tlbare|Namespace detect showall}}
* {{tlbare|Namespace detect showall}}
* {{tlbare|Main talk other}}
* {{tlbare|Main talk other}}
** {{tlbare|Main talk other flex}}
* {{tlbare|Talkspace detect}}
* {{tlbare|Talkspace detect}}
  }}
  }}
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 ''or'' on any subpage (that is, a <code>../..</code> subpage).
   | 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 = [[Module:Page]]
   | 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}}
  | 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 = Others
| 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 =
Line 60: Line 76:


}}<noinclude>
}}<noinclude>
{{Documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 04:48, 3 September 2020