Difference between revisions of "Template:Editnotices/Namespace/File/doc"
< Template:Editnotices | Namespace | File
Jump to navigation
Jump to search
imported>Btilm (→Usage: +accountcreators) |
imported>Rd232 (skin.css) |
||
| Line 11: | Line 11: | ||
:<tt><nowiki>#file-namespace-editnotice { display: none !important; } </nowiki></tt> | :<tt><nowiki>#file-namespace-editnotice { display: none !important; } </nowiki></tt> | ||
| − | into [[Special:Mypage/ | + | into [[Special:Mypage/skin.css]], which redirects to your current skin's CSS file (open in new tab/window to see). |
<includeonly> | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
</includeonly> | </includeonly> | ||
Revision as of 09:04, 19 February 2011
| This is a documentation subpage for Template:Editnotices/Namespace/File. It contains usage information, categories and other content that is not part of the original template page. |
Usage
- This template provides the editnotice for all File pages. It can only be edited by Administrators and accountcreators.
- 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
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).