Difference between revisions of "Template:Abbr/doc"

From Discworld MUD Wiki
Jump to: navigation, search
(AJqsbAxoj)
(Undo revision 16402 by 83.64.161.242 (Talk) Spam removed)
Line 1: Line 1:
http://www.carsinsurance4u.com/ car insurance rates 710 http://www.slotsguidance.com/ slots likjz http://www.getautoinsurancerates.net/ auto insurance laoxwy http://www.getcheaphealthinsurance.net/ child health insurance 716941 http://www.getaffordablehealthinsurance.net/ health care insurance >:-OOO
+
 
 +
<!-- Add your documentation below this line-->
 +
 
 +
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 +
{{tl|abbr}} is an '''abbreviation''' template. It works similarly to the [[HTML]] [[HTML element#General phrase elements|&lt;abbr>]] or [[HTML element#General phrase elements|&lt;acronym>]] tags.
 +
 
 +
== Usage ==
 +
<nowiki>{{abbr}}</nowiki> takes two unnamed parameters, in order:
 +
#The ''short form'', which shows as text on the page.
 +
#The ''long form'', which many [[web browser]]s show as a [[tooltip]] when a user [[Mouseover|hovers over]] the text.
 +
 
 +
=== Example ===
 +
<pre>{{abbr
 +
|MSLP
 +
|Mean Sea Level Pressure
 +
}}</pre>
 +
 
 +
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:Abbrl]] - like Abbr but also wikilinks to the abbreviated name.
 +
*[[Template:Abbrlink]] - like Abbr but also wikilinks to the expanded name.

Revision as of 13:04, 5 July 2010

 

{{abbr}} is an abbreviation template. It works similarly to the HTML <abbr> or <acronym> tags.

Usage

{{abbr}} takes two unnamed parameters, in order:

  1. The short form, which shows as text on the page.
  2. 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