Template:Namespace and pagename-detecting templates

From Zoophilia Wiki
Revision as of 05:49, 18 September 2011 by meta>Davidgothberg (Moving {{basepage subpage}} above {{pgn}}, since {{basepage subpage}} is much easier to understand and more widely used. Thus it is better if people see that one first.)
Jump to navigationJump to search

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.

Easy to use namespace-detection templates:

More complex namespace-detection templates:

Technical stuff: