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

From Zoophilia Wiki
Jump to navigationJump to search
meta>Davidgothberg
Adding {{book other}}.
meta>Davidgothberg
Adding {{IP-user other}}.
Line 5: Line 5:
* {{tl|if pagename}} – For pattern matching on the pagename.
* {{tl|if pagename}} – For pattern matching on the pagename.
* {{tl|if pagename multi}} – For pattern matching on the pagename, has input reuse.
* {{tl|if pagename multi}} – For pattern matching on the pagename, has input reuse.
* {{tl|IP-user other}} – For detecting IP-user pages.


Easy to use namespace-detection templates:
Easy to use namespace-detection templates:

Revision as of 22:28, 14 February 2010

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.
  • {{IP-user other}} – For detecting IP-user pages.

Easy to use namespace-detection templates:

More complex namespace-detection templates:

Technical stuff: