Difference between revisions of "Template:DrugTemplateNotice/doc"

From blackwiki
Jump to navigation Jump to search
imported>Newslinger
(Add {{Editnotice templates}})
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 5: Line 5:
  
 
=== Hiding the message ===
 
=== Hiding the message ===
This template is marked with the CSS id and CSS class name <tt>"DrugTemplateNotice"</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>"DrugTemplateNotice"</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>#DrugTemplateNotice { display: none !important; } </nowiki></tt>
+
:<kbd><nowiki>#DrugTemplateNotice { 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). See [[Wikipedia:Skin]].
 
into [[Special:Mypage/skin.css]], which redirects to your current skin's CSS file (open in new tab/window to see). See [[Wikipedia:Skin]].

Revision as of 15:35, 5 August 2018

This template provides an editnotice which can be used for articles using many bullets (e.g. drug-related list articles).

Hiding the message

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

#DrugTemplateNotice { 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.

See also