https://heald.nga.gov/mediawiki/index.php?title=Template:Pagename_detect_see_also&feed=atom&action=historyTemplate:Pagename detect see also - Revision history2024-03-29T11:54:49ZRevision history for this page on the wikiMediaWiki 1.35.2https://heald.nga.gov/mediawiki/index.php?title=Template:Pagename_detect_see_also&diff=1379&oldid=prevEmily Pugh: 1 revision2012-04-18T18:05:24Z<p>1 revision</p>
<p><b>New page</b></p><div>Pagename-handling and detection templates:<br />
<br />
* {{tl|basepage subpage}} – For detecting if on a basepage, subpage or subsubpage.<br />
* {{tl|pgn}} – Can take apart and put together pagenames in several ways.<br />
* {{tl|if pagename}} – For pattern matching on the pagename.<br />
* {{tl|if pagename multi}} – For pattern matching on the pagename, has input reuse.<br />
* {{tl|IP-user other}} – For detecting IP-user pages.<br />
* {{tl|IP-talk}} - Return: 1) IP user talk page 2) registered user talk page 3) not user talk page.<br />
<br />
Easy to use namespace-detection templates:<br />
<br />
* {{tl|main other}} – For article templates.<br />
* {{tl|talk other}} – For talk page templates.<br />
* {{tl|user other}} – For user page templates.<br />
* {{tl|wikipedia other}} – For detecting "Wikipedia:" pages.<br />
* {{tl|file other}} – For file (image) templates.<br />
* {{tl|template other}} – For detecting template pages.<br />
* {{tl|help other}} – For help page templates.<br />
* {{tl|category other}} – For category templates.<br />
* {{tl|portal other}} – For portal templates.<br />
* {{tl|book other}} – For detecting book pages.<br />
<br />
More complex namespace-detection templates:<br />
<br />
* {{tl|namespace detect}} – The very versatile one.<br />
* {{tl|namespace detect showall}} – The extremely versatile one, has input reuse.<br />
* {{tl|talkspace detect}} - For detecting talk pages on various namespaces.<br />
* {{tl|main talk other}} – Separates some namespaces.<br />
* {{tl|main talk category other}} – Separates some namespaces.<br />
<br />
Technical stuff:<br />
<br />
* [[Wikipedia:Namespace]] – Lists all the namespaces.<br />
* [[mw:Help:Magic words]] – About <code><nowiki>{{NAMESPACE}}</nowiki></code> etc.<br />
* [[mw:Help:Extension:ParserFunctions]] – About <code><nowiki>{{#ifeq:|||}}</nowiki></code> etc.<noinclude><br />
<br />
{{documentation}}<br />
<!-- Add categories and interwikis to the /doc subpage, not here! --><br />
</noinclude></div>Emily Pugh