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

From blackwiki
Jump to navigation Jump to search
imported>Rd232
imported>Technical 13
(HTML5 compliance.)
Line 3: Line 3:
  
 
=== Usage ===
 
=== Usage ===
* This template provides the [[WP:Editnotice|editnotice]] for all [[WP:Category|category]] pages.
+
* 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 <tt>".category-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>"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">
:<tt><nowiki>#category-namespace-editnotice { display: none !important; } </nowiki></tt>
+
#category-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). See [[Wikipedia:Skin]].
+
}
 +
</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

Usage

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.

See also