Difference between revisions of "Template:Access icon/doc"
Jump to navigation
Jump to search
blackwiki>Remember the dot (more documentation) |
blackwiki>Remember the dot m (→Usage) |
||
| Line 4: | Line 4: | ||
Both the parameters are optional. | 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 | + | * 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 width parameter 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. | * 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. | ||
Revision as of 00:30, 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 width parameter 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.