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

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
(document 2nd parameter)
imported>Zyxw
m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB)
Line 8: Line 8:
 
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}}).
 
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: <kbd><nowiki>{{Editnotice explanation}}</nowiki></kbd>
* Example: <tt><nowiki>{{Editnotice explanation|idname}}</nowiki></tt>
+
* Example: <kbd><nowiki>{{Editnotice explanation|idname}}</nowiki></kbd>
  
 
The second optional parameter, {{para|2|fully protected}}, will remove template editors from this notice on talk pages of fully protected edit notices.
 
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>
+
* Example: <kbd><nowiki>{{Editnotice explanation|idname|fully protected}}</nowiki></kbd>
  
 
=== See also ===
 
=== See also ===

Revision as of 15:42, 5 August 2018

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.