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

From blackwiki
Jump to navigation Jump to search
imported>Rd232
(Created page with '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === * This template provides the [[WP:Editnotice|editn...')
 
imported>Rd232
Line 4: Line 4:
 
=== 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]].
 
* This template provides the [[WP:Editnotice|editnotice]] for all [[Help:File page|File page]]s. It can only be edited by [[WP:ADMIN|Administrators]].
 +
* 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 ===

Revision as of 09:30, 6 November 2009

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/monobook.css, which identifies your monobook.css (open in new tab/window to see). Note that this assumes you're using the Monobook skin; see Wikipedia:Skin if you're not.