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

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(Adding {{pgn}} to the "Pagename-handling and detection templates" section.)
(Adding {{book other}} for the new "Book:" namespace.)
Line 10: Line 10:
 
* {{tl|category other}} – For category templates.
 
* {{tl|category other}} – For category templates.
 
* {{tl|portal other}} – For portal templates.
 
* {{tl|portal other}} – For portal templates.
 +
* {{tl|book other}} – For detecting book pages.
  
 
More complex namespace-detection templates:
 
More complex namespace-detection templates:

Revision as of 23:26, 29 December 2009

Easy to use namespace-detection templates:

More complex namespace-detection templates:

Pagename-handling and detection templates:

  • {{pgn}} – Can take apart and put together pagenames in several ways.
  • {{basepage subpage}} – For detecting if on a basepage, subpage or subsubpage.
  • {{if pagename}} – For pattern matching on the pagename.
  • {{if pagename multi}} – For pattern matching on the pagename, has input reuse.

Technical stuff:

Documentation icon Template documentation[create]