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

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
m (1 revision imported)
(rm deleted template from navbox)
Line 67: Line 67:
   | 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|If preview}}
   | group2 = {{tlbare|Redirect other}}
   | list2 = Detects whether page is viewed as a preview or not.  
   | list2 = Detects whether it is on a redirect or not.
   | group3 = {{tlbare|If IP}}
   | group3 = {{tlbare|If preview}}
   | list3 = Displays different content to IP users and logged-in users.
   | list3 = Detects whether page is viewed as a preview or not.  
   | group4 = {{tlbare|If autoconfirmed}}
   | group4 = {{tlbare|If IP}}
   | list4 = Displays different content to autoconfirmed and non-autoconfirmed users.
   | list4 = Displays different content to IP users and logged-in users.
   | group5 = {{tlbare|If extended confirmed}}
   | group5 = {{tlbare|If autoconfirmed}}
   | list5 = Displays different content to extended confirmed and non-extended confirmed users.
   | list5 = Displays different content to autoconfirmed and non-autoconfirmed users.
   | group6 = {{tlbare|If administrator}}
   | group6 = {{tlbare|If extended confirmed}}
   | list6 = Displays different content to admins and non-admins.
   | list6 = Displays different content to extended confirmed and non-extended confirmed users.
   | group7 = {{tlbare|If mobile}}
   | group7 = {{tlbare|If administrator}}
   | list7 = Displays different content to mobile users and desktop users.
   | list7 = Displays content only to admins.
   | group8 = {{tlbare|If checkuser}}
   | group8 = {{tlbare|If mobile}}
   | list8 = Displays different content to checkusers and non-checkusers.
   | list8 = Displays different content to mobile users and desktop users.
   | group9 = {{tlbare|Noscript}}
   | group9 = {{tlbare|Noscript}}
   | list9 = Detects whether page is viewed with a JavaScript-capable client or not.  
   | list9 = Detects whether page is viewed with a JavaScript-capable client or not.  

Revision as of 08:49, 26 July 2022