Template:Em: Difference between revisions

From The Goon Show Depository

en>Kaartic
(corrected parameter names)
 
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
(No difference)

Latest revision as of 13:34, 20 July 2022

{{{1}}}

Semantically emphasise a word (or) phrase.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Custom CSS classesclass

takes a class name (or multiple class names, separated by commas); adds class="classname[s]" to the HTML code

Stringoptional
Custom Element IDid

takes a valid, unique HTML id (must begin with an alphabetic letter); adds id="name" to the HTML code

Stringoptional
Custom CSS stylesstyle

takes inline CSS input; adds style="CSS directive[s]" to the HTML code

Stringoptional
Custom Titletitle

takes text, which cannot be marked up in any way, and displays it as a pop-up "tooltip" (in most browsers) when the cursor hovers over the span

Stringoptional
Text1

Text to be emphasized

Unknownrequired