Difference between revisions of "Template:Editnotices/Namespace/Category/doc"
< Template:Editnotices | Namespace | Category
Jump to navigation
Jump to search
imported>Rd232 (→Hiding the message: update) |
imported>Technical 13 (HTML5 compliance.) |
||
| Line 3: | Line 3: | ||
=== Usage === | === Usage === | ||
| − | * This template provides the [[ | + | * This template provides the [[Wikipedia:Editnotice|editnotice]] for all [[Wikipedia:Category|category]] pages. |
=== Hiding the message === | === Hiding the message === | ||
| − | This template is marked with the CSS id and CSS class name < | + | This template is marked with the CSS id and CSS class name <code>"category-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: |
| − | + | <syntaxhighlight lang="css"> | |
| − | + | #category-namespace-editnotice { | |
| − | + | display: none !important; | |
| − | into [[Special:Mypage/skin.css]], which | + | } |
| + | </syntaxhighlight> | ||
| + | into [[Special:Mypage/skin.css|your skin.css]], which will apply the effect to your current skin. To apply it to all skins, add the code to your [[Special:Mypage/common.css|your common.css]] instead. See [[Wikipedia:Skin]] for details. | ||
=== See also === | === See also === | ||
| − | |||
<includeonly> | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
</includeonly> | </includeonly> | ||
Revision as of 14:55, 11 December 2014
| 40px | This is a documentation subpage for Template:Editnotices/Namespace/Category. 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 category pages.
Hiding the message
This template is marked with the CSS id and CSS class name "category-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:
#category-namespace-editnotice {
display: none !important;
}
into your skin.css, which will apply the effect to your current skin. To apply it to all skins, add the code to your your common.css instead. See Wikipedia:Skin for details.