Difference between revisions of "Template:Abbr/doc"
From Discworld MUD Wiki
(Doc page for template from wikipedia, even though it's not working because the <> tags are quoted when trying to use the template...) |
(add see also) |
||
Line 17: | Line 17: | ||
appears as {{abbr|MSLP|Mean Sea Level Pressure}}. When hovering over the text, <span style="border: black 1px solid;padding:2px;background-color:#fffbe7;font-size:.9em">Mean Sea Level Pressure</span> will appear as a tooltip. | appears as {{abbr|MSLP|Mean Sea Level Pressure}}. When hovering over the text, <span style="border: black 1px solid;padding:2px;background-color:#fffbe7;font-size:.9em">Mean Sea Level Pressure</span> will appear as a tooltip. | ||
+ | |||
+ | == See also== | ||
+ | *[[Template:Abbrlink]] - [http://en.wikipedia.org/wiki/Wikipedia:Wikilinks wikilinks] the content too. |
Revision as of 21:57, 12 March 2010
{{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 many web browsers show as a tooltip when a user hovers over the text.
Example
{{abbr |MSLP |Mean Sea Level Pressure }}
appears as MSLP Mean Sea Level Pressure . When hovering over the text, Mean Sea Level Pressure will appear as a tooltip.
See also
- Template:Abbrlink - wikilinks the content too.