Template:Pagename detect see also: Difference between revisions

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search
m (1 revision)
 
(No difference)

Latest revision as of 11:45, 3 October 2014

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-talk}} – Return: 1) IP user talk page 2) registered user talk page 3) not user talk page.
  • {{IP-user other}} – For detecting IP-user pages.

Easy to use namespace-detection templates:

More complex namespace-detection templates:

Technical stuff:

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}