Template:Namespace detect see also
Jump to navigation
Jump to search
Easy to use namespace-detection templates:
- {{main other}} – For article templates.
- {{talk other}} – For talk page templates.
- {{book other}} – For detecting book pages.
- {{category other}} – For category templates.
- {{draft other}} – For detecting draft pages.
- {{file other}} – For file (image) templates.
- {{help other}} – For help page templates.
- {{module other}} – For detecting module pages.
- {{portal other}} – For portal templates.
- {{template other}} – For detecting template pages.
- {{user other}} – For user page templates.
- {{wikipedia other}} – For detecting "Wikipedia:" pages.
More complex namespace-detection templates:
- {{namespace detect}} – The very versatile one.
- {{namespace detect showall}} – The extremely versatile one, has input reuse.
- {{main talk category other}} – Separates some namespaces.
- {{main talk other}} – Separates some namespaces.
- {{talkspace detect}} – For detecting talk pages on various namespaces.
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.
Technical stuff:
- Wikipedia:Namespace – Lists all the namespaces.
- mw:Help:Magic words – About
{{NAMESPACE}}
etc. - mw:Help:Extension:ParserFunctions – About
{{#ifeq:|||}}
etc.
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}