Template:User other: Difference between revisions

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 user namespace, the namespace used for user pages.  It can also be used for category suppression, to avoid that a page is categorized if it is not in the user namespace
This template can be used to show a different text if it is not used on a page in the user namespace, the namespace used for user pages.  It can also be used for category suppression, to avoid that a page is categorized if it is not in the user namespace
If more than one namespace need to be handled, use {{tl|namespace detect}}.


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


}}
}}