Template:I: Difference between revisions
Appearance
m annotate |
m lang parameter |
||
| Line 18: | Line 18: | ||
* <code>class</code> - For customizing the CSS classname associated with the tag. | * <code>class</code> - For customizing the CSS classname associated with the tag. | ||
* <code>lang</code> - Language of term. | |||
* <code>caps</code> - Whether to capitalize text. Don't just capitalize the text, because if you do it this way readers can un-capitalize it through Preferences. | * <code>caps</code> - Whether to capitalize text. Don't just capitalize the text, because if you do it this way readers can un-capitalize it through Preferences. | ||
* <code>tts</code> - Pronunciation for highlighted text. Specify this first so that if screen readers are attempting to edit a page the TTS-friendly text is said before the "irrelevant" visual text which will be not be read as deleted. | * <code>tts</code> - Pronunciation for highlighted text. Specify this first so that if screen readers are attempting to edit a page the TTS-friendly text is said before the "irrelevant" visual text which will be not be read as deleted. | ||
Revision as of 02:44, 18 February 2026
Demo
This is an important demo
Description
This is a template meant to mirror the HTML i tag. The purpose of it is basically to subtly remind editors that wikitext is not HTML and needs to be highly readable as well as standardized.
Parameters
class- For customizing the CSS classname associated with the tag.lang- Language of term.caps- Whether to capitalize text. Don't just capitalize the text, because if you do it this way readers can un-capitalize it through Preferences.tts- Pronunciation for highlighted text. Specify this first so that if screen readers are attempting to edit a page the TTS-friendly text is said before the "irrelevant" visual text which will be not be read as deleted.1- Text to be highlighted. This will usually be shown in italics.
Internal templates
- Template:TTS - used to specify HTML tag plus pronunciation.