Template:Strong
{{{1}}}
{{#ifeq:strong |doc
|
{{#ifeq:show |show
|This is a documentation subpage for Template:Strong{{#if:||.}} It may contain usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Template |User |template template page |{{#if:Template |template page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:Template:Strong | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
This template is used on approximately 903,000 pages, or roughly 172328% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
Purpose
The Strong template makes it faster and easier to apply the {{#switch:pair
|c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|strong|strong}}{{#if:| {{{attribs}}}}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:strong|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:strong|!--|-->|</strong>}} }}
importance, seriousness, or urgency HTML element to text, and more importantly to indicate to human editors and Wikipedia bots they should not use'''...'''
or{{#switch:pair |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|b|b}}{{#if:| {{{attribs}}}}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:b|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:b|!--|-->|</b>}} }}
typographic boldfacing to replace the intentional and semantically meaningful{{#switch:open |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|strong|strong}}{{#if:| {{{attribs}}}}} }}{{#switch:open |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:strong|!--||>}}... }}{{#switch:open |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:strong|!--|-->|</strong>}} }}
. The{{#switch:pair |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|strong|strong}}{{#if:| {{{attribs}}}}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:strong|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:strong|!--|-->|</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 sheets, apps, and text-to-speech screen readers. It is semantic markup, i.e. markup that conveys meaning or context, not just visual appearance.
Simple boldfacing ('''...'''
or {{#switch:pair
|c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|b|b}}{{#if:| {{{attribs}}}}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:b|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:b|!--|-->|</b>}} }}
) is purely typographic and is semantically meaningless. Boldface ({{#switch:pair |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|b|b}}{{#if:| {{{attribs}}}}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:b|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:b|!--|-->|</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
{{strong|important text}}
or, if the important text contains an equals sign:
{{strong|1=important text}}
These both render as:
- important text
This template puts intentional and explicit {{#switch:pair
|c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|strong|strong}}{{#if:| {{{attribs}}}}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:strong|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:strong|!--|-->|</strong>}} }}
(importance, seriousness, or urgency) HTML markup around the text provided as the first parameter. It is safest to always use the|{{SAFESUBST:#if:1|1=}}
syntax.
Optional parameters
Advanced HTML values can be passed through the template to the HTML code:
|{{SAFESUBST:#if:role|role=}}
takes a WAI-ARIA role; addsrole="rolename"
to the HTML code|{{SAFESUBST:#if:class|class=}}
takes a class name (or multiple class names, separated by spaces); addsclass="classname[s]"
to the HTML code|{{SAFESUBST:#if:style|style=}}
takes inline CSS input; addsstyle="CSS directive[s]"
to the HTML code|{{SAFESUBST:#if:id|id=}}
takes a valid, unique HTML id (must begin with an alphabetic letter); addsid="name"
to the HTML code|{{SAFESUBST:#if:title|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{{strong}}
span
Use cases
This template is made to mark important words or phrases in a text, in a way that is (unlike simply boldfacing it) 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 {{#if:|}}[[wikt:scannability{{#if:|#{{{lang}}}}}|scannability]]{{#if: |[[wikt:{{{2}}}{{#if:|#{{{lang}}}}}|{{{2}}}]]}}{{#if: |[[wikt:{{{3}}}{{#if:|#{{{lang}}}}}|{{{3}}}]]}}{{#if: |[[wikt:{{{4}}}{{#if:|#{{{lang}}}}}|{{{4}}}]]}}{{#if: |[[wikt:{{{5}}}{{#if:|#{{{lang}}}}}|{{{5}}}]]}}{{#if: |[[wikt:{{{6}}}{{#if:|#{{{lang}}}}}|{{{6}}}]]}}{{#if: |[[wikt:{{{7}}}{{#if:|#{{{lang}}}}}|{{{7}}}]]}}{{#if: |[[wikt:{{{8}}}{{#if:|#{{{lang}}}}}|{{{8}}}]]}}{{#if: |[[wikt:{{{9}}}{{#if:|#{{{lang}}}}}|{{{9}}}]]}}{{#if: |[[wikt:{{{10}}}{{#if:|#{{{lang}}}}}|{{{10}}}]]}}{{#if: |[[wikt:{{{11}}}{{#if:|#{{{lang}}}}}|{{{11}}}]]}}{{#if: |[[wikt:{{{12}}}{{#if:|#{{{lang}}}}}|{{{12}}}]]}}{{#if: |[[wikt:{{{13}}}{{#if:|#{{{lang}}}}}|{{{13}}}]]}}{{#if: |[[wikt:{{{14}}}{{#if:|#{{{lang}}}}}|{{{14}}}]]}}{{#if: |[[wikt:{{{15}}}{{#if:|#{{{lang}}}}}|{{{15}}}]]}}{{#if: |[[wikt:{{{16}}}{{#if:|#{{{lang}}}}}|{{{16}}}]]}}{{#if: |[[wikt:{{{17}}}{{#if:|#{{{lang}}}}}|{{{17}}}]]}}{{#if: |[[wikt:{{{18}}}{{#if:|#{{{lang}}}}}|{{{18}}}]]}}{{#if: |[[wikt:{{{19}}}{{#if:|#{{{lang}}}}}|{{{19}}}]]}}{{#if: |[[wikt:{{{20}}}{{#if:|#{{{lang}}}}}|{{{20}}}]]}}{{#if:|}}, drawing the eye from elsewhere on the page to words marked up with the template.
Typical uses on Wikipedia:
- In the lead section of an article, the article's title can be marked with
{{strong}}
. Example: "The soma is the bulbous end of a neuron." {{#if: | {{{alt}}} | {{#if:||{{#if:{{safesubst:#switch:
|no |n |f |false |off |0 = | = |¬ = |yes |y |t |true |on |1 = yes |#default = yes
}}|{{#if: {{safesubst:#switch:
|no |n |f |false |off |0 = | = |¬ = |yes |y |t |true |on |1 = yes |#default = yes
}} | s | S }}ince | {{#if: {{safesubst:#switch:
|no |n |f |false |off |0 = | = |¬ = |yes |y |t |true |on |1 = yes |#default = yes
}} | a | A }}s of}}}} {{#if:|{{{pre}}} }}{{#if: | {{#ifeq:|us|Template:MONTHNAME {{#expr:{{{3}}}}}, |{{#expr:{{{3}}}}} Template:MONTHNAME }}July 2022|{{#if: |Template:MONTHNAME }}July 2022}}}}{{#if:|{{{post}}}}}[{{#if:|{{{url}}} [ref]|https://www.mirrorplay.net/fae/w/index.php?title=Strong&action=edit [update]}}]{{#ifeq:{{ safesubst:#if:
| {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Strong}}|1}} | {{ safesubst:#if:|{{{1}}}|Template:Strong}}
}}|Wikipedia:Template messages||{{#ifexpr:{{#if:Template|0|1}}+{{#ifeq:yes|yes|0|1}}
|{{#if:{{#if: {{#ifexpr: July 2022 = 1 }} |{{#ifexpr:{{#time:U|July 2022}} > {{#time:U}} | the future | {{#ifexpr: {{#time:Y|July 2022}} > 2004 | July 2022 | {{#ifexpr: {{#time:Y|July 2022}} > 1989 | {{#time:Y|July 2022}} | before 1990 }}}}}} |{{#ifexpr: July 2022 > 2004 | {{#ifexpr:{{#time:U|{{#if: | Template:MONTHNAME}} July 2022}} > {{#time:U}} | the future| {{#if: | Template:MONTHNAME }} July 2022}} | {{#ifexpr:July 2022 > 1989 | July 2022 | before 1990 }}}}}} |[[Category:Articles containing potentially dated statements from {{#if: {{#ifexpr: July 2022 = 1 }} |{{#ifexpr:{{#time:U|July 2022}} > {{#time:U}} | the future | {{#ifexpr: {{#time:Y|July 2022}} > 2004 | July 2022 | {{#ifexpr: {{#time:Y|July 2022}} > 1989 | {{#time:Y|July 2022}} | before 1990 }}}}}} |{{#ifexpr: July 2022 > 2004 | {{#ifexpr:{{#time:U|{{#if: | Template:MONTHNAME}} July 2022}} > {{#time:U}} | the future| {{#if: | Template:MONTHNAME }} July 2022}} | {{#ifexpr:July 2022 > 1989 | July 2022 | before 1990 }}}}}}]]{{#ifexist:Category:Articles containing potentially dated statements from {{#if: {{#ifexpr: July 2022 = 1 }} |{{#ifexpr:{{#time:U|July 2022}} > {{#time:U}} | the future | {{#ifexpr: {{#time:Y|July 2022}} > 2004 | July 2022 | {{#ifexpr: {{#time:Y|July 2022}} > 1989 | {{#time:Y|July 2022}} | before 1990 }}}}}} |{{#ifexpr: July 2022 > 2004 | {{#ifexpr:{{#time:U|{{#if: | Template:MONTHNAME}} July 2022}} > {{#time:U}} | the future| {{#if: | Template:MONTHNAME }} July 2022}} | {{#ifexpr:July 2022 > 1989 | July 2022 | before 1990 }}}}}} ||}} |[[Category:{{#if: ||Articles containing potentially dated statements}}]]}}{{#if:All articles containing potentially dated statements |}}}}}}, there is no consensus either for or against this use.[1]
- After the lead, it 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
{{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 should be used (but {{#if: | {{{alt}}} | {{#if:||{{#if:{{safesubst:#switch:
|no |n |f |false |off |0 = | = |¬ = |yes |y |t |true |on |1 = yes |#default = yes
}}|{{#if: {{safesubst:#switch: y
|no |n |f |false |off |0 = | = |¬ = |yes |y |t |true |on |1 = yes |#default = yes
}} | s | S }}ince | {{#if: {{safesubst:#switch: y
|no |n |f |false |off |0 = | = |¬ = |yes |y |t |true |on |1 = yes |#default = yes
}} | a | A }}s of}}}} {{#if:|{{{pre}}} }}{{#if: | {{#ifeq:|us|Template:MONTHNAME {{#expr:{{{3}}}}}, |{{#expr:{{{3}}}}} Template:MONTHNAME }}July 2021|{{#if: |Template:MONTHNAME }}July 2021}}}}{{#if:|{{{post}}}}}[{{#if:|{{{url}}} [ref]|https://www.mirrorplay.net/fae/w/index.php?title=Strong&action=edit [update]}}]{{#ifeq:{{ safesubst:#if:
| {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Strong}}|1}} | {{ safesubst:#if:|{{{1}}}|Template:Strong}}
}}|Wikipedia:Template messages||{{#ifexpr:{{#if:Template|0|1}}+{{#ifeq:yes|yes|0|1}}
|{{#if:{{#if: {{#ifexpr: July 2021 = 1 }} |{{#ifexpr:{{#time:U|July 2021}} > {{#time:U}} | the future | {{#ifexpr: {{#time:Y|July 2021}} > 2004 | July 2021 | {{#ifexpr: {{#time:Y|July 2021}} > 1989 | {{#time:Y|July 2021}} | before 1990 }}}}}} |{{#ifexpr: July 2021 > 2004 | {{#ifexpr:{{#time:U|{{#if: | Template:MONTHNAME}} July 2021}} > {{#time:U}} | the future| {{#if: | Template:MONTHNAME }} July 2021}} | {{#ifexpr:July 2021 > 1989 | July 2021 | before 1990 }}}}}} |[[Category:Articles containing potentially dated statements from {{#if: {{#ifexpr: July 2021 = 1 }} |{{#ifexpr:{{#time:U|July 2021}} > {{#time:U}} | the future | {{#ifexpr: {{#time:Y|July 2021}} > 2004 | July 2021 | {{#ifexpr: {{#time:Y|July 2021}} > 1989 | {{#time:Y|July 2021}} | before 1990 }}}}}} |{{#ifexpr: July 2021 > 2004 | {{#ifexpr:{{#time:U|{{#if: | Template:MONTHNAME}} July 2021}} > {{#time:U}} | the future| {{#if: | Template:MONTHNAME }} July 2021}} | {{#ifexpr:July 2021 > 1989 | July 2021 | before 1990 }}}}}}]]{{#ifexist:Category:Articles containing potentially dated statements from {{#if: {{#ifexpr: July 2021 = 1 }} |{{#ifexpr:{{#time:U|July 2021}} > {{#time:U}} | the future | {{#ifexpr: {{#time:Y|July 2021}} > 2004 | July 2021 | {{#ifexpr: {{#time:Y|July 2021}} > 1989 | {{#time:Y|July 2021}} | before 1990 }}}}}} |{{#ifexpr: July 2021 > 2004 | {{#ifexpr:{{#time:U|{{#if: | Template:MONTHNAME}} July 2021}} > {{#time:U}} | the future| {{#if: | Template:MONTHNAME }} July 2021}} | {{#ifexpr:July 2021 > 1989 | July 2021 | before 1990 }}}}}} ||}} |[[Category:{{#if: ||Articles containing potentially dated statements}}]]}}{{#if:All articles containing potentially dated statements |}}}}}} 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: "Support, because of this and that reasons [...]" or "Oppose, because of this and that reasons [...]".
When this template should not be used
Because {{strong}}
is strictly for semantic (meaningful) importance, it should not be used for layout, typography conventions and such. In these different cases, bold '''...'''
(which resolves to {{#switch:pair
|c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:|b|b}}{{#if:| {{{attribs}}}}} }}{{#switch:pair |c|close = |e|empty|s|single|v|void = /> |o|open = > |p|pair = {{#ifeq:b|!--||>}}... }}{{#switch:pair |e|empty|s|single|v|void |o|open = |c|close |p|pair = {{#ifeq:b|!--|-->|</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{{em}}
instead. Avoid using{{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
{{strongbad}}
– same but red{{stronggood}}
– same but green{{em}}
– for italic rather than bold semantic emphasis
Notes
| {{#iferror: {{#ifexpr: 1 > 1 }} |style="column-width: {{{1}}};"}} | {{#if: |style="column-width: {{{colwidth}}};"}} }}>
- ↑ The style guidelines at MOS:BOLDTITLE and MOS:BOLDSYN recommend regular bolding. The use of this template has been briefly discussed in 2018 and in 2022.
{{#if:{{#ifeq:Strong|sandbox|1}}{{#ifeq:Strong|doc|1}}|| }}