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:

"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Pagename_detect_see_also&oldid=172559" වෙතින් සම්ප්‍රවේශනය කෙරිණි