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

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
(normalize)
imported>DannyS712
(testing)
Line 1: Line 1:
<!--  
+
{{tmbox
 
+
| type  = notice
  Add your experimental template code here.
+
| image = {{#ifeq:{{{2|}}}|fully protected|[[File:Padlock.svg|45px]]|[[File:Padlock-pink.svg|45px]]}}
 
+
| text =
--><noinclude>
+
{{#switch: {{#titleparts: {{FULLPAGENAME}} |2|0}}
 +
| Template talk:Editnotices/Namespace =
 +
  This is the talk page of the namespace notice for the '''{{#titleparts: {{FULLPAGENAME}} |0|3}}''' space.
 +
| Template talk:Editnotices/Group =
 +
  This is the talk page of the group notice for [[{{#titleparts: {{FULLPAGENAME}} |0|3}}]] and all its subpages.
 +
| Template talk:Editnotices/Page =
 +
  This is the talk page of the page notice for [[{{#titleparts: {{FULLPAGENAME}} |0|3}}]].
 +
| #default =
 +
  '''Warning!''' It seems this is the talk page of an editnotice with an '''invalid name'''.
 +
}} <br /> [[{{SUBJECTPAGENAME}}]] can only be edited by [[Wikipedia:Administrators|administrators]]{{#ifeq:{{{2|}}}|fully protected|.|{{#ifeq:{{{2|}}}|template protected||, [[Wikipedia:Page mover|page movers]],}} and [[Wikipedia:Template editor|template editors]].}} All [[WP:Editnotice|editnotices]] {{#ifeq:{{SUBPAGENAME}}|User||{{#ifeq:{{SUBPAGENAME}}|User talk||(except those in userspace) }}}} are [[Wikipedia:Protection policy|protected]] via [[MediaWiki:Titleblacklist]], so the "protection" status as set by the protection tab is mostly irrelevant. To request a change to the page, add {{#ifeq:{{{2|}}}|fully protected|{{tl|edit fully-protected}}|{{tl|edit template-protected}}}} to this page, followed by a description of your request. {{{{{subst|}}}#if:{{{1|}}}| [[{{SUBJECTPAGENAME}}]] is marked with the CSS id and CSS class name <kbd>".{{{1}}}"</kbd>, so that editors can apply their own CSS customisation if they wish, in particular to hide it (see [[WP:CSSHIDE]].)|}}
 +
}}<noinclude>
 +
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 00:00, 8 June 2019

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.