Difference between revisions of "Template:Abbr"
Jump to navigation
Jump to search
(Seeing if this works) |
(Added text/explaination) |
||
| Line 3: | Line 3: | ||
| i | IPA = {{IPA|{{{1|}}}}} | | i | IPA = {{IPA|{{{1|}}}}} | ||
| {{{1|}}} }}</abbr> | | {{{1|}}} }}</abbr> | ||
| + | <noinclude> | ||
| + | ==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] | ||
| + | ===Parameters=== | ||
| + | * '''Class''' - in this case use the <code>abbr</code> class | ||
| + | * '''Abbreviated Text''' - the abbreviation, shown as text | ||
| + | * '''Meaning''' - the meaning, shown as a tooltip | ||
| + | ==Example== | ||
| + | {| 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. | ||
| + | |||
| + | [[Category:Template]]</noinclude> | ||
Revision as of 06:03, 22 July 2015
Usage
This template allows for abbreviations to be explained with tooltips upon hovering over said abbreviation.
More info can be found on the Wikipedia template
Parameters
- Class - in this case use the
abbrclass - Abbreviated Text - the abbreviation, shown as 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.