Template:Lang/italicize
Appearance
Template documentation
Returns yes or no whether Template:lang will italicize given text in a specific language code by default.
Text containing italics may throw error messages and omit default italicization. This strips all italicization from the text before testing, and so doesn't fully correspond with Template:lang's behavior.
Examples
Markup | Renders as |
---|---|
{{Lang/italicize|en|Some text}} |
no |
{{Lang/italicize|en|Some <i>italic</i> text}} |
no |
{{Lang/italicize|fr|Je suis française.}} |
yes |
{{Lang/italicize|fr|Je ''suis'' française.}} |
yes |
{{Lang/italicize|he|לעז}} |
no |
{{Lang/italicize|he|''לעז''}} |
no |