Editing
Template:Strong/doc
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Documentation subpage}} {{High-use}} <!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> == Purpose == The {{Strong|Strong template}} makes it faster and easier to apply the {{tag|strong}} {{strong|importance, seriousness, or urgency}} [[HTML element]] to text, and more importantly to indicate to human editors and [[Wikipedia:Bots|Wikipedia bot]]s they should not use <code><nowiki>'''...'''</nowiki></code> or {{tag|b}} typographic boldfacing to replace the intentional and [[Semantic Web|semantically meaningful]] {{tag|strong|open}}. The {{tag|strong}} element is usually rendered visually in a bold (heavy) typeface by default on graphical browsers, but can be parsed and acted upon in customizable ways with [[Style sheet (web development)|style sheets]], [[Application software|apps]], and text-to-speech [[screen reader]]s. It is [[semantic markup]], i.e. markup that conveys meaning or context, not just visual appearance. Simple boldfacing (<code><nowiki>'''...'''</nowiki></code> or {{tag|b}}) is purely typographic and is semantically meaningless. Boldface ({{tag|b}}) is most often used for headings, but has a few other uses (such as for book or film titles and the like, which are usually italicized, when they appear in an already-italicized passage). The average reader, and average editor, do not and need not care about this distinction most of the time, but it can be important and editors who understand it can use this template as a baseline insurance against accidental or uninformed replacement by bots and human editors, as well as to add [[web accessibility]]. == Usage == :{{tlnull|strong|<var>important text</var>}} or, if the important text contains an equals sign: :{{tlnull|strong|'''1{{=}}'''<var>important text</var>}} These both render as: :{{strong|important text}} This template puts intentional and explicit {{tag|strong}} (importance, seriousness, or urgency) HTML markup around the text provided as the first parameter. It is safest to always use the {{para|1}} syntax. ===Optional parameters=== Advanced HTML values can be passed through the template to the HTML code: * {{para|role}} takes a WAI-ARIA role; adds <code>role="<var>rolename</var>"</code> to the HTML code * {{para|class}} takes a class name (or multiple class names, separated by spaces); adds <code>class="<var>classname[s]</var>"</code> to the HTML code * {{para|style}} takes inline CSS input; adds <code>style="<var>CSS directive[s]</var>"</code> to the HTML code * {{para|id}} takes a valid, unique HTML id (must begin with an alphabetic letter); adds <code>id="<var>name</var>"</code> to the HTML code * {{para|title}} takes text, which cannot be marked up in any way, and displays it as a pop-up "tooltip" when the cursor hovers over the {{tnull|strong}} span ===Use cases=== {{more|Wikipedia:WikiProject Usability/Scannability}} This template is made to mark important words or phrases in a text, in a way that is (unlike simply boldfacing it) [[Semantic markup|semantically meaningful markup]]. With this technique, the important text strongly stands out from the rest in most if not all visual browsers and some text-to-speech screen readers (which usually ignore purely typographic boldfacing), and can also be parsed by user agents and other software as definitively indicating importance, not just some typographic boldface effect for appearance's sake. It should therefore only be used very sparingly in articles to highlight the most important words or phrases in the entire article (and, rarely in encyclopedic writing, to represent relative importance). Use of this template has a strong effect on {{Linktext|scannability}}, drawing the eye from elsewhere on the page to words marked up with the template. Typical uses on Wikipedia: * In the [[WP:LEAD|lead section of an article]], the article's title can be marked with {{tnull|strong}}. Example: "The {{strong|soma}} is the bulbous end of a neuron." {{As of|July 2022}}, there is no consensus either for or against this use.<ref>The style guidelines at [[MOS:BOLDTITLE]] and [[MOS:BOLDSYN]] recommend regular bolding. The use of this template has been briefly discussed [[Wikipedia talk:Manual of Style/Lead section/Archive 20#Shouldn't we use semantic markup in the lead?|in 2018]] and [[Template talk:Strong#Use in lead sections of articles|in 2022]].</ref> * After the lead, it {{em|can}} be used to highlight crucial terms of importance only slightly secondary to that of the article title and its synonyms. For example, the article on a viral infection might use {{tnull|strong}} to highlight the names of two identified strains of the disease in a "Varieties" section, as an aid to scannability. * In unusual cases (most often direct quotations) it is used to represent contextually important text, if the passage were spoken rather than written (e.g., because it indicates shouting). * Outside articles, it {{em|should}} be used (but {{as of|July 2021|lc=y}} isn't yet common) in polls, XfD processes, RfX votes, and similar comments and debates where users indicate that they approve of or disagree with a view or proposal. Example: "{{strong|Support}}, because of this and that reasons [...]" or "{{strong|Oppose}}, because of this and that reasons [...]". == When this template should not be used == Because {{tnull|strong}} is strictly for semantic (meaningful) importance, it should not be used for layout, typography conventions and such. In these different cases, bold <code><nowiki>'''...'''</nowiki></code> (which resolves to {{tag|b}} in the browser or other user agent) should be used instead. It also should not be used when the text to which it is applied is boldfaced for some other reason (e.g., it is part of a heading); in such cases use {{tlx|em}} instead. Avoid using {{tnull|strong}} in non-quoted sentences that end in an exclamation point. And it is usually excessive to use it on terms that are Wikilinked, since the link markup acts to indicate importance itself. ==See also== * {{tlx|strongbad}} β same but red * {{tlx|stronggood}} β same but green * {{tlx|em}} β for italic rather than bold semantic emphasis<br /> == Notes == {{Reflist}} {{Semantic markup templates|show}} <includeonly>{{Sandbox other|| <!-- CATEGORIES BELOW THIS LINE, PLEASE: --> [[Category:Semantic markup templates]] [[Category:Wikipedia XHTML tag-replacing templates]] }}</includeonly>
Summary:
Please note that all contributions to Mirrorplay: Fae are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
MPFae:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information