Template:Emphasis underline/doc: Difference between revisions
Template page
More actions
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 is a documentation subpage for Template:Emphasis underline. It may contain usage information, categories and other content that is not part of the original template page. |
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
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 | Text which should be underlined | Line | required |
| style | style | CSS styling to apply to the text
| Line | optional |
| class | class | CSS classes to apply to the text | Line | optional |