Difference between revisions of "Template:Editnotices/Namespace/File/doc"

From blackwiki
Jump to navigation Jump to search
imported>Rd232
(skin.css)
imported>Technical 13
(per edit request.)
Line 3: Line 3:
  
 
=== Usage ===
 
=== Usage ===
* This template provides the [[WP:Editnotice|editnotice]] for all [[Help:File page|File page]]s. It can only be edited by [[WP:ADMIN|Administrators]] and [[Wikipedia:User_access_levels#Accountcreator|accountcreators]].
+
* This template provides the [[WP:Editnotice|editnotice]] for all [[Help:File page|File page]]s. It can only be edited by {{lc:{{Sop}}}}s and {{lc:{{TE|icon=no}}}}s.
 
* The message is not shown if the page does not exist, to avoid distracting from the "use the upload form" message (which is provided by [[MediaWiki:Newarticletext]]).
 
* The message is not shown if the page does not exist, to avoid distracting from the "use the upload form" message (which is provided by [[MediaWiki:Newarticletext]]).
  
 
=== Hiding the message ===
 
=== Hiding the message ===
This template is marked with the CSS id and CSS class name <tt>".file-namespace-editnotice"</tt>, so that editors can apply their own CSS customisation if they wish, in particular to hide it (see [[WP:CSSHIDE]] for details). To hide the message, add
+
This template is marked with the CSS id and CSS class name <code>".file-namespace-editnotice"</code>, so that editors can apply their own CSS customisation if they wish, in particular to hide it (see [[WP:CSSHIDE]] for details). To hide the message, add
  
:<tt><nowiki>#file-namespace-editnotice { display: none !important; } </nowiki></tt>
+
:<code><nowiki>#file-namespace-editnotice { display: none !important; } </nowiki></code>
  
 
into [[Special:Mypage/skin.css]],  which redirects to your current skin's CSS file (open in new tab/window to see).
 
into [[Special:Mypage/skin.css]],  which redirects to your current skin's CSS file (open in new tab/window to see).

Revision as of 22:08, 6 January 2015

Usage

Hiding the message

This template is marked with the CSS id and CSS class name ".file-namespace-editnotice", so that editors can apply their own CSS customisation if they wish, in particular to hide it (see WP:CSSHIDE for details). To hide the message, add

#file-namespace-editnotice { display: none !important; }

into Special:Mypage/skin.css, which redirects to your current skin's CSS file (open in new tab/window to see).