Difference between revisions of "Template:If usertalk of/doc"

From blackwiki
Jump to navigation Jump to search
imported>Funandtrvl
(add cat)
imported>Sardanaphalus
(template update, some formatting)
Line 2: Line 2:
 
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
 
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
  
This is the {{tl|if usertalk of}} meta-template.  It is used to customise a notice when it is being put on the user talk page of a page in the user's userspace.
+
This is the {{tl|If usertalk of}} meta-template.  It is used to customise a notice when it is being put on the user talk page of a page in the user's userspace.
  
 
== Usage ==
 
== Usage ==
This template usually takes two or three parameters, like this:
 
  
 +
This template usually takes two or three parameters:
 
<pre>
 
<pre>
{{if usertalk of | userspacepage | then | else }}
+
{{If usertalk of |(userspace page) |("then" action) |("else" action)}}
 
</pre>
 
</pre>
  
== See also ==
 
{{namespace detect see also}}
 
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
{{Namespace and pagename-detecting templates}}
<!--Categories below this line, please; interwikis at Wikidata-->
+
 
 +
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
 +
| <!--Categories below this line, please; interwikis at Wikidata-->
 +
[[Category:Talk namespace templates]]
 +
[[Category:Namespace manipulation templates]]
 
[[Category:Exclude in print]]
 
[[Category:Exclude in print]]
[[Category:Namespace manipulation templates]]
 
[[Category:Talk namespace templates]]
 
 
}}</includeonly>
 
}}</includeonly>

Revision as of 18:16, 22 December 2014

This is the {{If usertalk of}} meta-template. It is used to customise a notice when it is being put on the user talk page of a page in the user's userspace.

Usage

This template usually takes two or three parameters:

{{If usertalk of |(userspace page) |("then" action) |("else" action)}}