Template:Italics

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Template documentation


The HTML <i> italicizes all kinds of characters: however, this does not work properly with some writing systems. This template makes the use of italics conditional on the language.

lang= Effect
ar (Arabic),

ko (Korean),
ja (Japanese),
ko (Korean),
ru (Russian),
zh, zh-cn, zh-tw,
zh-hans, or zh-hant (Chinese)

Text is unaffected.
anything else Text is wrapped in <i></i>
Example: {{italics|lang=en|oblique}}

The HTML <i> italicizes all kinds of characters: however, this does not work properly with some writing systems. This template makes the use of italics conditional on the language.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Language codelang

no description

Example
en
Stringrequired
Text1

no description

Unknownrequired