{{{1}}}

توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

Purpose

This template make it faster and easier to apply الگو:(X)HTML's <strong>...</strong> strong emphasis markup to text, and more importantly to indicate to human and bot editors they should not use '''...''' or <b>...</b> typographic boldfacing to replace the intentional and semantically meaningful <strong>. Strong emphasis 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 said to be semantic markup, i.e. markup that conveys meaning or context, not just visual appearance. Simple boldfacing is purely typographic and is semantically meaningless. It 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 careless replacement by bots and human editors.

Usage

{{strong|text to be emphasized}}

or, if the text to be emphasized contains an equals sign:

{{strong|1=text to be emphasized}}

These both render as:

text to be emphasized

This template puts intentional and explicit <strong>...</strong> (strong emphasis) [X]HTML markup around the text provided as the first parameter. It is safest to always use the |1= syntax.

Optional parameters

Advanced HTML values can be passed through the template to the HTML code:

  • |class= takes a class name (or multiple class names, separated by commas); adds class="classname[s]" to the HTML code
  • |style= takes inline CSS input; addes style="CSS directive[s]" to the HTML code
  • |id= takes a valid, unique HTML id (must begin with an alphabetic letter); adds id="name" to the HTML code
  • |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 strongly emphasize important words or phrases in a text, in a way that is (unlike simply boldfacing it) semantically meaningful markup. With this technique, the emphasized 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 emphasis, 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 strong vocal emphasis). Use of this template has a strong effect on scannability, 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 and its synonyms should be emphasized with {{strong}}. Example: "The soma, or perikaryon, or cyton, is the bulbous end of a neuron." تا تاریخ February ۲۰۱۲, this is not yet common, but users should not revert it (nor criticize anyone for not using it).
  • 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 text that would be strongly emphasized for contextual reasons if the passage were spoken rather than written (e.g., because it indicates shouting).
  • Outside of articles, it should be used (but تا تاریخ February ۲۰۱۲ 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) emphasis, it should not be used for layout, typography conventions and such. In these different cases, bold '''...''' (which resolves to <b>...</b> in the browser or other user agent) should be used instead. It should also not be used when the text to which it is applied is already 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 already wikilinked, since the link markup acts as a form of emphasis itself.

See also

Template Example output Use
{{strong}} strong semantic emphasis To indicate <strong> emphasis instead of (or as well as) simple typographical boldfacing.
{{strongbad}} "Never use..." Same as {{strong}} but in red.
{{stronggood}} "Only use..." Same as {{strong}} but in green.
{{em}} mild semantic emphasis As per {{strong}} but for the milder <em> emphasis (instead of / as well as typographical italicization).
{{var}} strIllustratePrefix To indicate text is a variable name. Use for any variables except those whose names include "I" (uppercase&nbsp;i) and/or "l" (lowercase&nbsp;L), where {{varserif}} below should be used instead to ensure a distinction between these letters is noticeable.
{{varserif}} strIllustratePrefix (see {{var}} above).
{{wikivar}}
purge rev-ID : -   b: c: m: n: q: s: t: w: wikt: ?version all messages
$wgMagicWordsEn at CVS Language.php   meta:help:Variable, meta:Global variables
method a method b generates
common namespaces [-2 - 15] / used at all MediaWiki projects
{{ns:-2}} {{ns:Media}}  مدیا
{{ns:-1}} {{ns:Special}}  ویژه
(Main) – MediaWiki:Blanknamespace – ‏(مقاله)
{{ns:1}} {{ns:Talk}}  بحث
{{ns:2}} {{ns:User}}  کاربر
{{ns:3}} {{ns:User_talk}}  بحث کاربر
{{ns:4}} {{ns:Project}}  ویکی‌پدیا
{{ns:5}} {{ns:Project_talk}}  بحث ویکی‌پدیا
{{ns:6}} {{ns:Image}}  پرونده
{{ns:7}} {{ns:Image_talk}}  بحث پرونده
{{ns:8}} {{ns:MediaWiki}}  مدیاویکی
{{ns:9}} {{ns:MediaWiki_talk}}  بحث مدیاویکی
{{ns:10}} {{ns:Template}}  الگو
{{ns:11}} {{ns:Template_talk}}  بحث الگو
{{ns:12}} {{ns:Help}}  راهنما
{{ns:13}} {{ns:Help_talk}}  بحث راهنما
{{ns:14}} {{ns:Category}}  رده
{{ns:15}} {{ns:Category_talk}}  بحث رده
reserved namespaces
{{ns:16}}    
{{ns:17}}    
{{ns:98}}    
{{ns:99}}    
custom namespaces
{{ns:100}}    درگاه
{{ns:101}}    بحث درگاه
{{ns:102}}    
{{ns:103}}    
{{ns:104}}    
{{ns:105}}    
{{ns:106}}    
{{ns:107}}    
{{ns:121}}    
{{ns:122}}    
{{ns:127}}    
{{ns:128}}    
{{ns:2147483646}}    
{{ns:2147483647}}    
variables
{{CURRENTDAY}}  ۳۰
{{CURRENTDAY2}}  ۳۰
{{CURRENTDAYNAME}}  دوشنبه
{{CURRENTDOW}}  ۱
{{CURRENTMONTH}}  ۱۲
{{CURRENTMONTHABBREV}}  دسامبر
{{CURRENTMONTHNAME}}  دسامبر
{{CURRENTMONTHNAMEGEN}}  دسامبر
{{CURRENTTIME}}  ۰۴:۴۷
{{CURRENTWEEK}}  ۱
{{CURRENTYEAR}}  ۲۰۲۴
{{FULLPAGENAME}}  الگو:تأکید زیاد
{{FULLPAGENAMEE}}  %D8%A7%D9%84%DA%AF%D9%88:%D8%AA%D8%A3%DA%A9%DB%8C%D8%AF_%D8%B2%DB%8C%D8%A7%D8%AF 1
{{NAMESPACE}}  الگو
{{NAMESPACEE}}  %D8%A7%D9%84%DA%AF%D9%88 1
{{NUMBEROFARTICLES}}  ۱٬۰۲۳٬۷۶۶
{{NUMBEROFFILES}}  ۹۴٬۷۴۹
{{PAGENAME}}  تأکید زیاد
{{PAGENAMEE}}  %D8%AA%D8%A3%DA%A9%DB%8C%D8%AF_%D8%B2%DB%8C%D8%A7%D8%AF 1
{{SCRIPTPATH}}  /w 1
{{SERVER}}  //fa.wikipedia.org
{{SERVERNAME}}  fa.wikipedia.org
{{SITENAME}}  ویکی‌پدیا
predefined templates
{{FULLURL:}}  
{{FULLURLE:}}  
{{GRAMMAR:}}  GRAMMAR CVS /languages/
{{INT:}}  
{{LC:}}  
{{LCFIRST:}}  
{{LOCALURL:}}  
{{LOCALURLE:}}  
{{MSG:}}  
{{MSGNW:}}  
{{NS:}}  
{{PLURAL:}}  
{{REVISIONID:}}  
{{REVISIONID}}  -
{{SUBST:}}  
{{UC:}}  
{{UCFIRST:}}  
1 this documentation displays this value LTR (left to right)
 | common reserved custom namespacesvariablespredefined templates
  
purge rev-ID : -   b: c: m: n: q: s: t: w: wikt: ?version all messages
$wgMagicWordsEn at CVS Language.php   meta:help:Variable, meta:Global variables
method a method b generates
common namespaces [-2 - 15] / used at all MediaWiki projects
{{ns:-2}} {{ns:Media}}  مدیا
{{ns:-1}} {{ns:Special}}  ویژه
(Main) – MediaWiki:Blanknamespace – ‏(مقاله)
{{ns:1}} {{ns:Talk}}  بحث
{{ns:2}} {{ns:User}}  کاربر
{{ns:3}} {{ns:User_talk}}  بحث کاربر
{{ns:4}} {{ns:Project}}  ویکی‌پدیا
{{ns:5}} {{ns:Project_talk}}  بحث ویکی‌پدیا
{{ns:6}} {{ns:Image}}  پرونده
{{ns:7}} {{ns:Image_talk}}  بحث پرونده
{{ns:8}} {{ns:MediaWiki}}  مدیاویکی
{{ns:9}} {{ns:MediaWiki_talk}}  بحث مدیاویکی
{{ns:10}} {{ns:Template}}  الگو
{{ns:11}} {{ns:Template_talk}}  بحث الگو
{{ns:12}} {{ns:Help}}  راهنما
{{ns:13}} {{ns:Help_talk}}  بحث راهنما
{{ns:14}} {{ns:Category}}  رده
{{ns:15}} {{ns:Category_talk}}  بحث رده
reserved namespaces
{{ns:16}}    
{{ns:17}}    
{{ns:98}}    
{{ns:99}}    
custom namespaces
{{ns:100}}    درگاه
{{ns:101}}    بحث درگاه
{{ns:102}}    
{{ns:103}}    
{{ns:104}}    
{{ns:105}}    
{{ns:106}}    
{{ns:107}}    
{{ns:121}}    
{{ns:122}}    
{{ns:127}}    
{{ns:128}}    
{{ns:2147483646}}    
{{ns:2147483647}}    
variables
{{CURRENTDAY}}  ۳۰
{{CURRENTDAY2}}  ۳۰
{{CURRENTDAYNAME}}  دوشنبه
{{CURRENTDOW}}  ۱
{{CURRENTMONTH}}  ۱۲
{{CURRENTMONTHABBREV}}  دسامبر
{{CURRENTMONTHNAME}}  دسامبر
{{CURRENTMONTHNAMEGEN}}  دسامبر
{{CURRENTTIME}}  ۰۴:۴۷
{{CURRENTWEEK}}  ۱
{{CURRENTYEAR}}  ۲۰۲۴
{{FULLPAGENAME}}  الگو:تأکید زیاد
{{FULLPAGENAMEE}}  %D8%A7%D9%84%DA%AF%D9%88:%D8%AA%D8%A3%DA%A9%DB%8C%D8%AF_%D8%B2%DB%8C%D8%A7%D8%AF 1
{{NAMESPACE}}  الگو
{{NAMESPACEE}}  %D8%A7%D9%84%DA%AF%D9%88 1
{{NUMBEROFARTICLES}}  ۱٬۰۲۳٬۷۶۶
{{NUMBEROFFILES}}  ۹۴٬۷۴۹
{{PAGENAME}}  تأکید زیاد
{{PAGENAMEE}}  %D8%AA%D8%A3%DA%A9%DB%8C%D8%AF_%D8%B2%DB%8C%D8%A7%D8%AF 1
{{SCRIPTPATH}}  /w 1
{{SERVER}}  //fa.wikipedia.org
{{SERVERNAME}}  fa.wikipedia.org
{{SITENAME}}  ویکی‌پدیا
predefined templates
{{FULLURL:}}  
{{FULLURLE:}}  
{{GRAMMAR:}}  GRAMMAR CVS /languages/
{{INT:}}  
{{LC:}}  
{{LCFIRST:}}  
{{LOCALURL:}}  
{{LOCALURLE:}}  
{{MSG:}}  
{{MSGNW:}}  
{{NS:}}  
{{PLURAL:}}  
{{REVISIONID:}}  
{{REVISIONID}}  -
{{SUBST:}}  
{{UC:}}  
{{UCFIRST:}}  
1 this documentation displays this value LTR (left to right)
 | common reserved custom namespacesvariablespredefined templates
To display wikicode variables and magic words as they would appear in code.
{{para}} |title=  |year=2008 To display template parameters with or without values.
{{param}} {{{title}}}  {{{title|alt}}}  etc. To display parameters as used in code (i.e. with triple braces), especially to indicate relationships between them. May be combined with {{para}} above.
{{tlx}} etc. {{Template|first parameter|...}} To display a template call (with or without parameters and values) as code.
{{tag}} "With HTML <img>...</img> tags..." To render عنصر اچ‌تی‌ام‌الs ("tags") as prose.
{{code}} "Always include the alt= parameter..." To indicate text is source code. To nest other templates within {{code}}, use <code>...</code>.
{{syntaxhighlight}} (or {{sxhl}})  Wrapper for <syntaxhighlight>...</syntaxhighlight>, but will wrap overflowing text.
{{deprecated code}} "Do not use <blink>...</blink>..." (or {{dc2}})&nbsp; To indicate deprecated source code in template documentation, articles on HTML specs, etc.
{{pre}} For larger blocks of source code and other pre-formatted text.
{{bq}} For indented blocks of content, such as block quotations, examples, poems, etc.
{{kbd}} user input To indicate user input.
{{key press}} CtrlX To indicate specific keystroke/s input.
{{pskeypress}} × To indicate PlayStation-style gamepad key presses.
{{samp}} example output To indicate sample or example output.