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

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
m (21 revisions)
 
(19 intermediate revisions by 10 users not shown)
Line 3: Line 3:
 
* {{tl|main other}} – For article templates.
 
* {{tl|main other}} – For article templates.
 
* {{tl|talk other}} – For talk page templates.
 
* {{tl|talk other}} – For talk page templates.
 +
* {{tl|book other}} – For detecting book pages.
 +
* {{tl|category other}} – For category templates.
 +
* {{tl|draft other}} – For detecting draft pages.
 
* {{tl|file other}} – For file (image) templates.
 
* {{tl|file other}} – For file (image) templates.
 +
* {{tl|help other}} – For help page templates.
 +
* {{tl|module other}} – For detecting module pages.
 +
* {{tl|portal other}} – For portal templates.
 
* {{tl|template other}} – For detecting template pages.
 
* {{tl|template other}} – For detecting template pages.
* {{tl|category other}} – For category templates.
+
* {{tl|user other}} – For user page templates.
 +
* {{tl|wikipedia other}} – For detecting "Wikipedia:" pages.
 +
 
 +
More complex namespace-detection templates:
  
 +
* {{tl|namespace detect}} – The very versatile one.
 +
* {{tl|namespace detect showall}} – The extremely versatile one, has input reuse.
 +
* {{tl|main talk category other}} – Separates some namespaces.
 
* {{tl|main talk other}} – Separates some namespaces.
 
* {{tl|main talk other}} – Separates some namespaces.
* {{tl|main talk category other}} – Separates some more namespaces.
+
* {{tl|talkspace detect}} – For detecting talk pages on various namespaces.
  
* {{tl|namespace detect}} – The very versatile one.
+
Pagename-handling and detection templates:
* {{tl|namespace detect showall}} – The extremely versatile one.
 
  
* {{tl|talkspace detect)) - For detecting talk pages on various namespaces.
+
* {{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 multi}} – For pattern matching on the pagename, has input reuse.
 +
* {{tl|IP-talk}} – Return: 1) IP user talk page 2) registered user talk page 3) not user talk page.
 +
* {{tl|IP-user other}} – For detecting IP-user pages.
  
 
Technical stuff:
 
Technical stuff:
Line 20: Line 36:
 
* [[mw:Help:Magic words]] – About <code><nowiki>{{NAMESPACE}}</nowiki></code> etc.
 
* [[mw:Help:Magic words]] – About <code><nowiki>{{NAMESPACE}}</nowiki></code> etc.
 
* [[mw:Help:Extension:ParserFunctions]] – About <code><nowiki>{{#ifeq:|||}}</nowiki></code> etc.<noinclude>
 
* [[mw:Help:Extension:ParserFunctions]] – About <code><nowiki>{{#ifeq:|||}}</nowiki></code> etc.<noinclude>
 
+
{{Documentation}}
{{documentation}}
+
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
 
</noinclude>
 
</noinclude>

Latest revision as of 10:19, 23 July 2016

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-talk}} – Return: 1) IP user talk page 2) registered user talk page 3) not user talk page.
  • {{IP-user other}} – For detecting IP-user pages.

Technical stuff:

Documentation icon Template documentation[create]