Template:Namespace detect see also: Difference between revisions

From Sarkarverse
Jump to navigation Jump to search
No edit summary
(clean up)
 
(2 intermediate revisions 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|SV other}} – For detecting "SV:" (policy) pages.
* {{tl|wikipedia other}} – For detecting "Sarkarverse:" 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 10: Line 10:
* {{tl|category other}} – For category templates.
* {{tl|category other}} – For category templates.
* {{tl|portal other}} – For portal templates.
* {{tl|portal other}} – For portal templates.
* {{tl|book other}} – For detecting book pages.
* {{tl|draft other}} – For detecting draft pages.
* {{tl|module other}} – For detecting module pages.
* {{tl|module other}} – For detecting module pages.


Line 31: Line 33:
Technical stuff:
Technical stuff:


* [[CV:Namespace]] – Lists all the namespaces.
* [[Sarkarverse: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 08:32, 17 May 2014

Easy to use namespace-detection templates:

More complex namespace-detection templates:

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.

Technical stuff:

Documentation icon Template documentation[view] [edit] [history] [purge]

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.

as:Template:Namespace detect see also ko:틀:이름공간 검출 틀 sl:Predloga:Namespace detect see also uk:Шаблон:Namespace detect see also