Difference between revisions of "Template:Access icon"

From blackwiki
Jump to navigation Jump to search
blackwiki>Picaroon
(fulfilling protected edit request)
blackwiki>CBM
(Move docs, interwiki, and category to doc subpage)
Line 2: Line 2:
  
 
</noinclude>[[Image:Handicap reverse.svg|{{#ifeq:{{{1}}}||12px|{{{1|12px}}}}}|{{{2|Handicapped/disabled access}}}]]<noinclude>
 
</noinclude>[[Image:Handicap reverse.svg|{{#ifeq:{{{1}}}||12px|{{{1|12px}}}}}|{{{2|Handicapped/disabled access}}}]]<noinclude>
[[zh:Template:無障礙圖示]]
+
{{template doc}}
[[Category:Symbol templates|Access icon]]
 
 
</noinclude>
 
</noinclude>

Revision as of 21:46, 7 July 2007


Handicapped/disabled access

Template documentation[view] [edit] [history] [purge]

Purpose

Provides an SVG representation of the International Symbol of Access

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".

Notes

The Unicode codepoint encoding for the International Symbol of Access is :

	U+267F	♿	WHEELCHAIR SYMBOL	

However, not all fonts support this character.

If you specify DejaVu Sans, for example, and have it installed, then you may use

<span style="font-size:xx-large; font-family:DejaVu Sans">♿</span>

to show

See also