Difference between revisions of "Template:Access icon/doc"
Jump to navigation
Jump to search
blackwiki>CBM (→Usage: fix docs) |
blackwiki>Remember the dot (more documentation) |
||
| Line 1: | Line 1: | ||
==Usage== | ==Usage== | ||
| − | <nowiki>{{Access icon| | + | <nowiki>{{Access icon|width|alt text}}</nowiki> |
| − | + | Both the parameters are optional. | |
| + | |||
| + | * The width is in pixels, and should be followed by px. For example, <code><nowiki>{{Access icon|20px}}</nowiki></code> produces the symbol at 20 pixels wide: {{Access icon|20px}}. If the size is omitted, the default width is 12 pixels. | ||
| + | |||
| + | * The alt text is the text that screen readers will see. The MediaWiki software also automatically adds it to the text you see when hovering your cursor over the image. | ||
<includeonly> | <includeonly> | ||
Revision as of 00:29, 8 July 2007
Usage
{{Access icon|width|alt text}}
Both the parameters are optional.
- The width is in pixels, and should be followed by px. For example,
{{Access icon|20px}}produces the symbol at 20 pixels wide: Handicapped/disabled access. If the size is omitted, the default width is 12 pixels.
- The alt text is the text that screen readers will see. The MediaWiki software also automatically adds it to the text you see when hovering your cursor over the image.