Difference between revisions of "Template:Abbr/doc"
Jump to navigation
Jump to search
m (Made simpler) |
m (Tidbits) |
||
Line 1: | Line 1: | ||
− | This template allows for abbreviations to be explained with tooltips upon hovering over the abbreviation.<br> | + | This template allows for abbreviations to be explained with tooltips upon hovering over the abbreviation.<br /> |
More info can be found on the [https://en.wikipedia.org/wiki/Template:Abbr Wikipedia template] | More info can be found on the [https://en.wikipedia.org/wiki/Template:Abbr Wikipedia template] | ||
==Usage== | ==Usage== | ||
Line 7: | Line 7: | ||
==Example== | ==Example== | ||
{| class="wikitable" style="text-align:center" | {| class="wikitable" style="text-align:center" | ||
− | ! colspan="3" | You type | + | ! style="background-color: #1c1c1c; color: white" colspan="3" | You type |
− | ! colspan="3" | You get | + | ! style="background-color: #1c1c1c; color: white" colspan="3" | You get |
|- | |- | ||
| style="border-right:hidden" | | | style="border-right:hidden" | | ||
Line 17: | Line 17: | ||
| style="border-left:hidden" | | | style="border-left:hidden" | | ||
|} | |} | ||
− | When hovering over the text "{{abbr|UK|United Kingdom}}", the tooltip "United Kingdom" will appear in most browsers. | + | When hovering over the text "{{abbr|UK|United Kingdom}}", the tooltip "United Kingdom" will appear in most browsers.<br /><br /> |
+ | Note that the template is not limited to only abbreviations, how it is used is all up to the user. For example: {{abbr|$|USD}}, though not an abbreviation, is still a used of Template:Abbr | ||
[[Category:Template]] | [[Category:Template]] |
Revision as of 05:42, 3 October 2015
This template allows for abbreviations to be explained with tooltips upon hovering over the abbreviation.
More info can be found on the Wikipedia template
Usage
{{abbr|Abbreviated text|Meaning}}
- Abbreviated Text - the abbreviation, shown as underlined text
- Meaning - the meaning, shown as a tooltip
Example
You type | You get | ||||
---|---|---|---|---|---|
{{abbr|UK|United Kingdom}}
|
UK |
When hovering over the text "UK", the tooltip "United Kingdom" will appear in most browsers.
Note that the template is not limited to only abbreviations, how it is used is all up to the user. For example: $, though not an abbreviation, is still a used of Template:Abbr