Template:Abbr
{{{1}}}
{{abbr}} is an abbreviation template. It works similarly to the HTML <abbr> or <acronym> tags.
Usage[編輯]
{{abbr}} takes two unnamed parameters, in order:
- The short form, which shows as text on the page.
- The long form, which the short form is an abbreviation for.
Many web browsers show the long form as a tooltip when a user hovers over the text. However, this behavior is not guaranteed and should not be relied on.
Example[編輯]
{{abbr |MSLP |Mean Sea Level Pressure }}
appears as MSLP. When hovering over the text, something like Mean Sea Level Pressure appears as a tooltip in many (but not all) browsers. Popular screen readers, used by visually impaired readers, display the long form in a different way.
Accessibility concerns[編輯]
This template is intended for use with abbreviations; it is not intended to be a tool for generating tooltips. The Web Content Accessibility Guidelines contain guidelines for using the <abbr>
element generated by this template; see section H28: Providing definitions for abbreviations by using the abbr and acronym elements.
Redirects[編輯]
The following template names redirect to this one:
See also[編輯]
- Template:Abbrlink - wikilinks the content too.
- Template:R-phrase - Generate the abbreviation for an EU R-phrase with a tooltip of the full text and a link to the description in List of R-phrases
上面嘅解係穿透包含咗自Template:Abbr/doc。 (改 | 史) 編者可以響呢個模嘅沙盤 (開 | 鏡)同埋試例 (開)版度試驗佢。 請加個類到個/doc嘅細版度。 呢個模嘅細版。 |