Difference between revisions of "Template:DrugTemplateNotice"

From blackwiki
Jump to navigation Jump to search
imported>Anypodetos
(I know this is important, but no need to shout)
imported>Zzuuzz
m (Reverted edits by 83.31.194.232 (talk) to last version by Andy M. Wang)
 
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{fmbox
+
{{editnotice
| type = editnotice
+
| expiry = {{{expiry|}}}
| image = [[File:Ambox important.svg|40px|link=]]
+
| id = DrugTemplateNotice
| text='''Please note''' that the standard de-limiter between items is a "bullet", preceded by a non-breaking space, and followed by a normal space. This may be added in three ways (copy direct from this window, do not go into edit mode to copy)
+
| class = DrugTemplateNotice
# using " • " (without the quotes)
+
| image = Ambox important.svg
# using <nowiki>{{subst:•}}</nowiki>
+
| text='''Please note''' that the following delimiters:
# using <nowiki>{{•}}</nowiki><br />
+
 
The final one tends to look "neater" on the edit window - but excessive use of the unsubtituted bullet template has been known to slow page loads, and in some cases prevent the whole page from rendering. Thank You.}}
+
* using "&amp;nbsp;" (without the quotes)
 +
* using <nowiki>{{subst:•}}</nowiki>
 +
* using <nowiki>{{•}}</nowiki><br />
 +
 
 +
are '''''deprecated''''' for use in Navboxes. Please see [[WP:HLIST]] for a more accessible, standards-compliant method of making lists in navboxes. Thank you.}}
 +
<noinclude>{{Documentation}}
 +
<!-- Add categories to the /doc subpage, not here! -->
 +
</noinclude>

Latest revision as of 21:06, 14 February 2019

Template documentation[view] [edit] [history] [purge]

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