Difference between revisions of "Template:Italics correction"

From blackwiki
Jump to navigation Jump to search
test>Lambiam
(rm italics markup)
test>Andrei Stroe
(templatedata)
Line 2: Line 2:
 
{{Documentation}}
 
{{Documentation}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKI LINK ON THE DOCUMENTATION PAGE. -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKI LINK ON THE DOCUMENTATION PAGE. -->
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {
 +
"label": "text",
 +
"type": "string",
 +
"required": true
 +
}
 +
},
 +
"format": "inline"
 +
}
 +
</templatedata>
 
</noinclude>
 
</noinclude>

Revision as of 07:50, 25 May 2017

{{{1}}}

Template documentation[view] [edit] [history] [purge]

Usage

Use {{italics correction}} to increase the spacing (by 0.1em) following italic text to keep it from running into an immediately subsequent non-italic character, such as a closing parenthesis. The template takes one unnamed parameter: the text. It should be used within italics markup, which is not provided by this template itself.

Examples

Using the wiki markup (''Harbi'') without the template would produce (Harbi) with the italicized 'i' intruding into the ')'. ({{italics correction|''Harbi''}}) produces (Harbi) instead.

TemplateData

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
text1

no description

Stringrequired

See also

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
text1

no description

Stringrequired