Difference between revisions of "Template:Namespace detect see also"

From Recidemia English
Jump to: navigation, search
m (1 revision)
m (1 revision)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
Easy to use namespace-detection templates:
 
Easy to use namespace-detection templates:
  
* {{tl|main other}} – For book page templates.
+
* {{tl|main other}} – For article templates.
 
* {{tl|talk other}} – For talk page templates.
 
* {{tl|talk other}} – For talk page templates.
 
* {{tl|user other}} – For user page templates.
 
* {{tl|user other}} – For user page templates.
* {{tl|wikibooks other}} – For project page templates.
+
* {{tl|wikipedia other}} – For detecting "Wikipedia:" pages.
* {{tl|subject other}} - For subject page templates.
 
 
* {{tl|file other}} – For file (image) templates.
 
* {{tl|file other}} – For file (image) templates.
 
* {{tl|template other}} – For detecting template pages.
 
* {{tl|template other}} – For detecting template pages.
 
* {{tl|help other}} – For help page templates.
 
* {{tl|help other}} – For help page templates.
 
* {{tl|category other}} – For category templates.
 
* {{tl|category other}} – For category templates.
* {{tl|wikijunior other}} – For Wikijunior templates.
+
* {{tl|portal other}} – For portal templates.
* {{tl|cookbook other}} – For Cookbook templates.
+
* {{tl|book other}} – For detecting book pages.
  
 
More complex namespace-detection templates:
 
More complex namespace-detection templates:
  
 
* {{tl|namespace detect}} – The very versatile one.
 
* {{tl|namespace detect}} – The very versatile one.
* {{tl|namespace detect showall}} – The extremely versatile one; has input reuse.
+
* {{tl|namespace detect showall}} – The extremely versatile one, has input reuse.
 
* {{tl|talkspace detect}} - For detecting talk pages on various namespaces.
 
* {{tl|talkspace detect}} - For detecting talk pages on various namespaces.
 
* {{tl|main talk other}} – Separates some namespaces.
 
* {{tl|main talk other}} – Separates some namespaces.
 +
* {{tl|main talk category other}} – Separates some namespaces.
  
 
Pagename-handling and detection templates:
 
Pagename-handling and detection templates:
  
* {{tl|basepage subpage}} – For detecting if on a basepage, subpage, or subsubpage.
+
* {{tl|basepage subpage}} – For detecting if on a basepage, subpage or subsubpage.
 +
* {{tl|pgn}} – Can take apart and put together pagenames in several ways.
 
* {{tl|if pagename}} – For pattern matching on the pagename.
 
* {{tl|if pagename}} – For pattern matching on the pagename.
* {{tl|IP-user other}} – For detecting IP-user pages.<noinclude>
+
* {{tl|if pagename multi}} – For pattern matching on the pagename, has input reuse.
 +
* {{tl|IP-user other}} – For detecting IP-user pages.
 +
* {{tl|IP-talk}} - Return: 1) IP user talk page 2) registered user talk page 3) not user talk page.
 +
 
 +
Technical stuff:
 +
 
 +
* [[Wikipedia:Namespace]] – Lists all the namespaces.
 +
* [[mw:Help:Magic words]] – About <code><nowiki>{{NAMESPACE}}</nowiki></code> etc.
 +
* [[mw:Help:Extension:ParserFunctions]] – About <code><nowiki>{{#ifeq:|||}}</nowiki></code> etc.<noinclude>
  
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 17:01, 15 May 2012

Easy to use namespace-detection templates:

More complex namespace-detection templates:

Pagename-handling and detection templates:

  • {{basepage subpage}} – For detecting if on a basepage, subpage or subsubpage.
  • {{pgn}} – Can take apart and put together pagenames in several ways.
  • {{if pagename}} – For pattern matching on the pagename.
  • {{if pagename multi}} – For pattern matching on the pagename, has input reuse.
  • {{IP-user other}} – For detecting IP-user pages.
  • {{IP-talk}} - Return: 1) IP user talk page 2) registered user talk page 3) not user talk page.

Technical stuff:

[create] Documentation icon Template documentation