Editing Template:Em/doc

From Guild of Archivists
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.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{High-use|1,300+}}
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->


==Purpose==
==Purpose==
This template makes it faster and easier to apply [X]HTML's {{tag|em}} {{em|emphasis}} markup to text, and more importantly to indicate to human and bot editors they should not use <code><nowiki>''...''</nowiki></code> or {{tag|i}} typographic italicization to replace the intentional and semantically meaningful <code><nowiki><em></nowiki></code>.  Strong emphasis is usually rendered visually in an italic (oblique a.k.a. slanted) 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 italicizing is purely typographic and is semantically meaningless. It is most often used for titles publications (books, films, albums, etc.), foreign words and phrases, words as words (when quotation marks are not used for that purpose), names of ships, scientific names of organisms and other cases where stylistic conventions demand italics, but they convey no sense of emphasis.  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.
This template makes it faster and easier to apply &#91;[[XHTML|X]]&#93;[[HTML]]'s {{tag|em}} {{em|emphasis}} markup to text, and more importantly to indicate to human and bot editors they should not use <code><nowiki>''...''</nowiki></code> or {{tag|i}} typographic italicization to replace the intentional and semantically meaningful <code><nowiki><em></nowiki></code>.  Strong emphasis is usually rendered visually in an italic (oblique a.k.a. slanted) 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 italicizing is purely typographic and is semantically meaningless. It is most often used for titles publications (books, films, albums, etc.), foreign words and phrases, [[words as words]] (when quotation marks are not used for that purpose), names of ships, [[Binomial nomenclature|scientific names of organisms]] and other cases where stylistic conventions demand italics, but they convey no sense of emphasis.  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==
==Usage==
Line 23: Line 24:


===Use cases===
===Use cases===
This template is made to mildly emphasize an important word or phrase in a passage, in a way that is (unlike simply italicizing it) semantically meaningful markup. With this technique, the emphasized text stands out from the rest of the nearby text in most if not all visual browsers and some text-to-speech screen readers (which usually ignore purely typographic italicization), without strongly affecting scannability. It 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 sparingly in articles, to highlight something being stressed (e.g., to represent strong vocal emphasis). Example:
{{more|Wikipedia:WikiProject Usability/Scannability}}
This template is made to [[:wikt:emphasis|mildly emphasize]] an important word or phrase in a passage, in a way that is (unlike simply italicizing it) [[Semantic markup|semantically meaningful markup]]. With this technique, the emphasized text stands out from the rest of the nearby text in most if not all visual browsers and some text-to-speech screen readers (which usually ignore purely typographic italicization), without strongly affecting scannability. It 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 sparingly in articles, to highlight something being stressed (e.g., to represent strong vocal emphasis). Example:


* "<code><nowiki>Contrary to reports, she was {{em|not}} dead after all.</nowiki></code>"<br />"Contrary to reports, she was {{em|not}} dead after all."
* "<code><nowiki>Contrary to reports, she was {{em|not}} dead after all.</nowiki></code>"<br />"Contrary to reports, she was {{em|not}} dead after all."
Line 33: Line 35:


*"''The New York Times'' is an American daily newspaper." This example should use <code><nowiki>''The New York Times''</nowiki></code>.
*"''The New York Times'' is an American daily newspaper." This example should use <code><nowiki>''The New York Times''</nowiki></code>.
{{Semantic markup templates}}


<includeonly>
<includeonly>
<!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
<!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
[[Category:Semantic markup templates]]
[[Category:Semantic markup templates]]
[[Category:GoArch XHTML tag-replacing templates]]
[[Category:Wikipedia XHTML tag-replacing templates]]
</includeonly>
</includeonly>
Please note that all contributions to Guild of Archivists may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, 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 (see GoArch:Copyrights for details). Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)