Difference between revisions of "Template:DrugTemplateNotice"

From blackwiki
Jump to navigation Jump to search
imported>Rd232
(add CSS)
imported>Pigsonthewing
(WP:HLIST)
Line 4: Line 4:
 
| class = DrugTemplateNotice
 
| class = DrugTemplateNotice
 
| image = [[File:Ambox important.svg|40px|link=]]
 
| image = [[File:Ambox important.svg|40px|link=]]
| 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)
+
| text='''Please note''' that the follwoing de-limiters:
# using " • " (without the quotes)
+
 
# using <nowiki>{{subst:•}}</nowiki>
+
* using "&amp;nbsp;• " (without the quotes)
# using <nowiki>{{•}}</nowiki><br />
+
* using <nowiki>{{subst:•}}</nowiki>
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 <nowiki>{{•}}</nowiki><br />
<noinclude>
+
 
{{Documentation}}
+
are '''''deprecated'''''. Please see [[WP:HLIST]] for a more accessible, standards-complaint method of making lists in navboxes. Thank You.}}
 +
<noinclude>{{Documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 19:52, 19 January 2012

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