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

From Zoophilia Wiki
Jump to navigationJump to search
meta>Trialpears
Add stub other, feel free to modify made a new category that could be used by BLP other or redirect other if those are created
Ookami (talk | contribs)
m 41 revisions imported
 
(2 intermediate revisions by 2 users not shown)
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 (that is, not a <code>../..</code> subpage), 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.
Line 59: Line 59:
  }}
  }}


| group3 = Page type
| group3 = Others
| list3 = {{navbox|subgroup
| list3 = {{navbox|subgroup
   | groupstyle = line-height:1.2em; font-weight:normal; background:transparent;
   | groupstyle = line-height:1.2em; font-weight:normal; background:transparent;
Line 65: Line 65:
   | group1 = {{tlbare|Stub other}}
   | group1 = {{tlbare|Stub other}}
   | list1 = Detects whether it is on a page with a stub template or not.  
   | 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.
  }}
  }}



Latest revision as of 04:48, 3 September 2020