Toggle menu
15
236
81
27.8K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Emphasis underline/doc: Difference between revisions

Template page
Prd (talk | contribs)
Created page with "{{Documentation subpage}} {{tsh|emu}} This template underlines text using the semantic {{tag|em}} tag. == Usage == *{{tlc|emu|Foo}} becomes {{emu|Foo}} *{{tlc|emu|Foo|<nowiki>style=color:red;</nowiki>}} becomes {{emu|Foo|style=color:red;}} ==TemplateData== {{TemplateData header}} <templatedata> { "params": { "1": { "label": "Text", "description": "Text which should be underlined", "type": "line", "required": true }, "style": { "description": "CSS..."
 
(No difference)

Latest revision as of 06:17, 17 February 2025

This template underlines text using the semantic <em>...</em> tag.

Usage

  • {{emu|Foo}} becomes Foo
  • {{emu|Foo|style=color:red;}} becomes Foo

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Emphasis underline in articles based on its TemplateData.

TemplateData for Emphasis underline

Underlines text using semantic <em>...</em> markup

Template parameters

ParameterDescriptionTypeStatus
Text1

Text which should be underlined

Linerequired
stylestyle

CSS styling to apply to the text

Example
color:red; font-weight:bold;
Lineoptional
classclass

CSS classes to apply to the text

Lineoptional