Editing Template:Abbr/doc
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page is not enabled for semantic in-text annotations due to namespace restrictions. Details about how to enable the namespace can be found on the configuration help page.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | This template allows for abbreviations to be explained with tooltips upon hovering over | + | ==Usage== |
+ | This template allows for abbreviations to be explained with tooltips upon hovering over said 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] | ||
− | == | + | ===Parameters=== |
− | + | * '''Class''' - in this case use the <code>abbr</code> class | |
− | * '''Abbreviated Text''' - the abbreviation, shown as | + | * '''Abbreviated Text''' - the abbreviation, shown as text |
* '''Meaning''' - the meaning, shown as a tooltip | * '''Meaning''' - the meaning, shown as a tooltip | ||
==Example== | ==Example== | ||
− | {| class="wikitable" style=" | + | {| class="wikitable" style="width:50%; padding:5px" |
− | + | !You Type | |
− | + | !You Get | |
|- | |- | ||
− | + | |style="text-align:center" | <tt><nowiki>{{abbr|UK|United Kingdom}}</nowiki></tt> | |
− | + | |style="text-align:center" | {{abbr|UK|United Kingdom}} | |
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
− | 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. |
− | |||
[[Category:Template]] | [[Category:Template]] |