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

From blackwiki
Jump to navigation Jump to search
imported>Anomie
(Create doc)
 
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)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
  
 
=== Usage ===
 
=== Usage ===
* This template provides the [[WP:Editnotice|editnotice]] for all Module pages. It can only be edited by [[WP:ADMIN|Administrators]] and [[Wikipedia:User_access_levels#Accountcreator|accountcreators]].
+
* This template provides the [[WP:Editnotice|editnotice]] for all Module pages. It can only be edited by [[WP:ADMIN|administrators]].
  
 
=== 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).