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

From blackwiki
Jump to navigation Jump to search
blackwiki>DonBarredora
m (+es)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
<includeonly>{{pp-template}}</includeonly>
 
<includeonly>{{pp-template}}</includeonly>
 +
 +
==Purpose==
 +
Provides an SVG representation of the [[International Symbol of Access]]
  
 
==Usage==
 
==Usage==
Line 10: Line 13:
  
 
* 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".
 
* 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 :
 +
<pre>
 +
U+267F ♿ WHEELCHAIR SYMBOL
 +
</pre>
 +
However, not all [http://www.fileformat.info/info/unicode/char/267f/fontsupport.htm fonts support] this character.
 +
 +
If you specify [[DejaVu Sans]], for example, and have it installed, then you may use
 +
<pre>
 +
<span style="font-size:xx-large; font-family:DejaVu Sans">&#x267F;</span>
 +
</pre>
 +
to show <span style="font-size:xx-large; font-family:DejaVu Sans">&#x267F;</span>
 +
 +
==See also==
 +
* [[International Symbol of Access]]
 +
* [[♿]]
  
 
<includeonly>
 
<includeonly>

Revision as of 07:38, 13 November 2012


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