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

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
m (update /doc)
imported>Andrybak
 
(2 intermediate revisions by 2 users not shown)
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: <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.
 +
 
 +
* Example: <kbd><nowiki>{{Editnotice explanation|idname|fully protected}}</nowiki></kbd>
  
 
=== See also ===
 
=== See also ===
Line 15: Line 19:
 
* {{tl|permprot}} – For the talk pages of protected pages other than editnotices.
 
* {{tl|permprot}} – For the talk pages of protected pages other than editnotices.
 
* {{tl|interface explanation}} – For the talk pages of MediaWiki messages.
 
* {{tl|interface explanation}} – For the talk pages of MediaWiki messages.
 
+
<includeonly>{{Sandbox other||
<includeonly>
 
 
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
 
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
 
[[Category:Wikipedia editnotices]]
 
[[Category:Wikipedia editnotices]]
 
[[Category:Talk header templates]]
 
[[Category:Talk header templates]]
 
[[Category:Protection templates]]
 
[[Category:Protection templates]]
 
+
}}</includeonly>
</includeonly>
 

Latest revision as of 12:29, 15 August 2019

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.