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

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
(fully protected)
imported>Zyxw
m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB)
 
Line 6: Line 6:
  
 
=== Hiding the message ===
 
=== Hiding the message ===
This template is marked with the CSS id and CSS class name <tt>".module-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 <kbd>".module-namespace-editnotice"</kbd>, 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>#module-namespace-editnotice { display: none !important; } </nowiki></tt>
+
:<kbd><nowiki>#module-namespace-editnotice { display: none !important; } </nowiki></kbd>
  
 
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).

Latest revision as of 15:42, 5 August 2018

Usage

Hiding the message

This template is marked with the CSS id and CSS class name ".module-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

#module-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).