ಟೆಂಪ್ಲೇಟು:Pagename detect see also
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-user other}}
– For detecting IP-user pages.{{IP-talk}}
- Return: 1) IP user talk page 2) registered user talk page 3) not user talk page.
Easy to use namespace-detection templates:
{{Main other}}
– For article templates.{{Talk other}}
– For talk page templates.{{User other}}
– For user page templates.{{Wikipedia other}}
– For detecting "Wikipedia:" pages.{{File other}}
– For file (image) templates.{{Template other}}
– For detecting template pages.{{Help other}}
– For help page templates.{{Category other}}
– For category templates.{{Portal other}}
– For portal templates.{{Book other}}
– For detecting book pages.
More complex namespace-detection templates:
{{Namespace detect}}
– The very versatile one.{{Namespace detect showall}}
– The extremely versatile one, has input reuse.{{Talkspace detect}}
- For detecting talk pages on various namespaces.{{Main talk other}}
– Separates some namespaces.{{Main talk category other}}
– Separates some namespaces.
Technical stuff:
- Wikipedia:Namespace – Lists all the namespaces.
- mw:Help:Magic words – About
{{NAMESPACE}}
etc. - mw:Help:Extension:ParserFunctions – About
{{#ifeq:|||}}
etc.