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

From Zoophilia Wiki
Jump to navigationJump to search
meta>Davidgothberg
Change of wording.
meta>Davidgothberg
Adding {{pgn}}.
Line 1: Line 1:
Pagename-detection templates:
Pagename-handling and detection templates:


* {{tl|pgn}} – Can take apart and put together pagenames in several ways.
* {{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|if pagename}} – For pattern matching on the pagename.
* {{tl|if pagename}} – For pattern matching on the pagename.

Revision as of 09:12, 21 November 2009

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.

Easy to use namespace-detection templates:

More complex namespace-detection templates:

Technical stuff: