Difference between revisions of "Template:Editnotice explanation"

From blackwiki
Jump to navigation Jump to search
imported>DannyS712
(move page movers before template editors; add logic for template-protected (yes, generally redundant, but see Template:Editnotices/Namespace/File talk, which is both protected by the title blacklist and individually template-protected))
imported>Denimalt
m (Changed locks per RFC)
 
Line 1: Line 1:
 
{{tmbox
 
{{tmbox
 
| type  = notice
 
| type  = notice
| image = {{#ifeq:{{{2|}}}|fully protected|[[File:Padlock.svg|45px]]|[[File:Padlock-pink.svg|45px]]}}
+
| image = {{#ifeq:{{{2|}}}|fully protected|[[File:Full-protection-shackle.svg|45px]]|[[File:Template-protection-shackle.svg|45px]]}}
 
| text =  
 
| text =  
 
{{#switch: {{#titleparts: {{FULLPAGENAME}} |2|0}}
 
{{#switch: {{#titleparts: {{FULLPAGENAME}} |2|0}}

Latest revision as of 02:11, 28 March 2020

Template documentation[view] [edit] [history] [purge]

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.