Şablon:Namespace detect see also
Asayış
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.
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.
Technical stuff:
- Wikipedia:Namespace – Lists all the namespaces.
- mw:Help:Magic words – About
{{NAMESPACE}}
etc. - mw:Help:Extension:ParserFunctions – About
{{#ifeq:|||}}
etc.
[vıraze] Dokumantasyon