Template:IconCross/doc
Jump to navigation
Jump to search
Displays an inline red cross icon ({{IconCross}} → ).
Usage
- {{IconCross}} →
Example text (default: 15px, text-bottom)
- {{IconCross|size= 24px }} →
Example text
- {{IconCross|alt= Forbidden: }} →
Example text (sets fallback/screen-reader alt text to "Forbidden:")
- {{IconCross|textbottom= no }} →
Example text (disables text-bottom alignment)
- {{IconCross|textbottom= middle }} →
Example text
Parameters
| Parameter | Default | Description |
|---|---|---|
| size = | 15px |
Icon size (e.g., 24px or 24).
|
| alt = | No: |
Alternative text for screen readers, pass empty (alt=) for a decorative icon.
|
| textbottom = | yes |
Applies text-bottom vertical alignment by default. Set to no (or blank) to disable, or pass another MediaWiki alignment value such as middle.
|
See also
- {{IconCheck}}
- {{IconCaution}}
Displays an inline red cross icon.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Size | size | Icon size in pixels (e.g. 18px or 24).
| String | optional |
| Alt text | alt | Alternative text for accessibility. Leave blank (alt=) for a decorative icon.
| String | optional |
| Text-bottom alignment | textbottom | Set to no/blank to disable text-bottom alignment, or pass another MediaWiki alignment keyword (e.g. middle).
| String | optional |