Template:Strongbad/doc
{{hatnote|No relation to {{tl|Homestar Runner}}.}}
{{Documentation subpage}}
{{mbox
| type = content
| text = This template should not be used in mainspace (the article namespace).
}}
This template is used to insert a quick and easy warning or negative notice with high visibility (because it is red and emphasized) on project and discussion pages (like the following sentence). {{strongbad|1=This template cannot be used in articles.}} In situations where color is not relevant (color blindness, screen readers, etc.), it renders exactly the same as {{tlx|strong}} (to which it is a CSS-styled call). This template is only for use in template documentation, guidelines, and other Wikipedia-internal purposes. It is the opposite of the {{tlx|stronggood}} template.
Usage
:{{tlnull|strongbad|important text}}
or, if the important text contains an equals sign:
:{{tlnull|strongbad|1{{=}}important text}}
These both render as:
:{{strongbad|important text}}
It is safest to always use the {{para|1}} syntax.
This template puts intentional and explicit {{tag|strong}} (importance, seriousness, or urgency) HTML markup around the text provided as the first parameter.
Because some people are color blind, and some use screen readers, this template should not be used in a manner in which only the color indicates the difference between the content being marked up and other content; it's simply a visual aid for those who can use it.
=Parameters=
See {{slink|Template:Strong#Optional parameters}}
See also
- {{tlx|strong}} – same but {{strong|not red}} (same color as surrounding text, usually black)
- {{tlx|stronggood}} – same but {{stronggood|green}}
- {{tlx|em}} – for {{em|italic}} rather than bold semantic emphasis
{{Xt/see also|sb=no}}
{{Semantic markup templates|show}}
Category:Semantic markup templates
Category:Notice and warning templates
}}}}