Template:Template other: Difference between revisions

Jump to navigation Jump to search
m
+rel: Template:Namespace detect
(Created page with "{{#switch: <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | ...")
 
m (+rel: Template:Namespace detect)
Line 16: Line 16:
== Goal ==
== Goal ==
This template can be used to show a different text if it is not used on a page in the template namespace.  It can also be used for category suppression, to avoid that a page is categorized if it is not in the template namespace
This template can be used to show a different text if it is not used on a page in the template namespace.  It can also be used for category suppression, to avoid that a page is categorized if it is not in the template namespace
If more than one namespace need to be handled, use {{tl|namespace detect}}.


== Usage ==
== Usage ==
Line 53: Line 55:
* {{tl|help other}}
* {{tl|help other}}
* {{tl|category other}}
* {{tl|category other}}
* {{tl|namespace detect}} Handles several namespaces at once


}}
}}

Navigation menu