Difference between revisions of "Template:Namespace detect see also"
From LIMSWiki
Jump to navigationJump to searchShawndouglas (talk | contribs) (Added template to support citation documentation.) |
Shawndouglas (talk | contribs) m (Wiki) |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
* {{tl|talk other}} – For talk page templates. | * {{tl|talk other}} – For talk page templates. | ||
* {{tl|user other}} – For user page templates. | * {{tl|user other}} – For user page templates. | ||
* {{tl| | * {{tl|limswiki other}} – For detecting "LIMSWiki:" pages. | ||
* {{tl|file other}} – For file (image) templates. | * {{tl|file other}} – For file (image) templates. | ||
* {{tl|template other}} – For detecting template pages. | * {{tl|template other}} – For detecting template pages. | ||
Line 29: | Line 29: | ||
Technical stuff: | Technical stuff: | ||
* [[ | * [[LIMSWiki:Namespace]] – Lists all the namespaces. | ||
* [[mw:Help:Magic words]] – About <code><nowiki>{{NAMESPACE}}</nowiki></code> etc. | * [[mw:Help:Magic words]] – About <code><nowiki>{{NAMESPACE}}</nowiki></code> etc. | ||
* [[mw:Help:Extension:ParserFunctions]] – About <code><nowiki>{{#ifeq:|||}}</nowiki></code> etc.<noinclude> | * [[mw:Help:Extension:ParserFunctions]] – About <code><nowiki>{{#ifeq:|||}}</nowiki></code> etc.<noinclude> |
Latest revision as of 15:06, 22 October 2013
Easy to use namespace-detection templates:
- {{main other}} – For article templates.
- {{talk other}} – For talk page templates.
- {{user other}} – For user page templates.
- {{limswiki other}} – For detecting "LIMSWiki:" 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:
- LIMSWiki:Namespace – Lists all the namespaces.
- mw:Help:Magic words – About
{{NAMESPACE}}
etc. - mw:Help:Extension:ParserFunctions – About
{{#ifeq:|||}}
etc.
[edit] [ ] Template documentation
This is the {{namespace detect see also}} template.
It is used in the "See also" section of the documentation of the namespace-detection templates. It takes no parameters.
If you update this template, then you should probably also update {{pagename detect see also}}. That template holds almost the same list of templates, but with the pagename-detection templates at the top.
The above documentation is transcluded from Template:Namespace detect see also/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |