Difference between revisions of "Template:Access icon/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Remember the dot
blackwiki>Remember the dot
m (formatting)
Line 1: Line 1:
 
==Usage==
 
==Usage==
<nowiki>{{Access icon|width|alt text}}</nowiki>
+
<code><nowiki>{{Access icon|width|alt text}}</nowiki></code>
  
 
Both the parameters are optional.
 
Both the parameters are optional.

Revision as of 00:31, 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.