Template:Em: Difference between revisions

From OpenMW Wiki
Jump to navigation Jump to search
(creating template)
 
(update)
 
Line 3: Line 3:
== Documentation ==
== Documentation ==


This is a convenient template wrapper for the <code><nowiki><em>...</em></nowiki></code> HTML element, the proper markup for {{em|emphasized}} text, as distinct from purely typographic use of italics (<code><nowiki><i>...</i></nowiki></code> or, in wikimarkup, <code><nowiki>''...''</nowiki></code>). The latter is for titles of published works, for foreign-language terms, and purposes that are not semantic emphasis.
This is a convenient template wrapper for the <code><nowiki><em>...</em></nowiki></code> HTML element, the proper markup for {{em|emphasized}} text, as distinct from purely typographic use of italics (<code><nowiki><i>...</i></nowiki></code> or, in wikimarkup, <code><nowiki>''...''</nowiki></code>). The latter is for titles of published works, for foreign-language terms, and other purposes that are not semantic emphasis.
 
This template should be used {{em|sparingly}}, as trying to emphasize everything reduces the actual effect of emphasizing anything.
 
See also the {{strong|strong (boldface) emphasis}} template, <code><nowiki>{{strong}}</nowiki></code>, used even more sparingly.


'''Usage:'''
'''Usage:'''

Latest revision as of 07:06, 18 July 2017

emphasized text

Documentation

This is a convenient template wrapper for the <em>...</em> HTML element, the proper markup for emphasized text, as distinct from purely typographic use of italics (<i>...</i> or, in wikimarkup, ''...''). The latter is for titles of published works, for foreign-language terms, and other purposes that are not semantic emphasis.

This template should be used sparingly, as trying to emphasize everything reduces the actual effect of emphasizing anything.

See also the strong (boldface) emphasis template, {{strong}}, used even more sparingly.

Usage:

{{em|the emphasized text here}}

If the content contains a = character, the parameter must be named (as |1=):

{{em|1=Italics != emphasis in HTML.}}