Difference between revisions of "Template:Editnotice explanation/doc"

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
m (update /doc)
imported>Paine Ellsworth
(document 2nd parameter)
Line 6: Line 6:
 
It can be placed at the top of talk pages of [[WP:Editnotice|editnotices]].  
 
It can be placed at the top of talk pages of [[WP:Editnotice|editnotices]].  
  
This template takes one optional parameter, which is the CSS class/id name of the editnotice, if one has been set (typically via the "id" and "class" parameters of {{tl|fmbox}}).
+
This template takes two optional parameters, the first of which is the CSS class/id name of the editnotice, if one has been set (typically via the "id" and "class" parameters of {{tl|fmbox}}).
  
 
* Example: <tt><nowiki>{{Editnotice explanation}}</nowiki></tt>
 
* Example: <tt><nowiki>{{Editnotice explanation}}</nowiki></tt>
 
* Example: <tt><nowiki>{{Editnotice explanation|idname}}</nowiki></tt>
 
* Example: <tt><nowiki>{{Editnotice explanation|idname}}</nowiki></tt>
 +
 +
The second optional parameter, {{para|2|fully protected}}, will remove template editors from this notice on talk pages of fully protected edit notices.
 +
 +
* Example: <tt><nowiki>{{Editnotice explanation|idname|fully protected}}</nowiki></tt>
  
 
=== See also ===
 
=== See also ===

Revision as of 13:25, 5 July 2015

This is the {{editnotice explanation}} template.

It can be placed at the top of talk pages of editnotices.

This template takes two optional parameters, the first of which is the CSS class/id name of the editnotice, if one has been set (typically via the "id" and "class" parameters of {{fmbox}}).

  • Example: {{Editnotice explanation}}
  • Example: {{Editnotice explanation|idname}}

The second optional parameter, |2=fully protected, will remove template editors from this notice on talk pages of fully protected edit notices.

  • Example: {{Editnotice explanation|idname|fully protected}}

See also

  • {{permprot}} – For the talk pages of protected pages other than editnotices.
  • {{interface explanation}} – For the talk pages of MediaWiki messages.