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

From blackwiki
Jump to navigation Jump to search
blackwiki>Dispenser
(Conformance with WP:DOC using AWB)
blackwiki>Pathoschild
m ({{documentation subpage}})
Line 1: Line 1:
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
+
{{documentation subpage}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
  
 
==Usage==
 
==Usage==

Revision as of 22:47, 2 October 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 uses it as the tooltip when users hover the cursor over the image. The default text is "Handicapped/disabled access".