Changes between Version 12 and Version 13 of AbbrMacro


Ignore:
Timestamp:
Nov 13, 2015, 8:11:41 AM (8 years ago)
Author:
figaro
Comment:

Added link to similar plugins

Legend:

Unmodified
Added
Removed
Modified
  • AbbrMacro

    v12 v13  
    55== Description
    66
    7 AbbrMacro returns an <abbr> or <acronym> element with a title attribute.
     7This macro returns an <abbr> or <acronym> element with a title attribute.
    88
    9 If you've used InlineMacro to create abbreviations or acronyms in your [WikiFormatting formatted] wiki pages, you probably quickly realized how tedious it can be. The !AbbrMacro package is designed to alleviate this issue.
     9If you've used InlineMacro to create abbreviations or acronyms in your [WikiFormatting formatted] wiki pages, you probably quickly realized how tedious it can be. This macro is designed to alleviate this issue.
    1010
    1111It accepts keyword syntax only:
    1212
    1313{{{
    14 [[Abbr(key=XYZ,title=Xenon Yeti Zulu,<tag=abbr|acronym>)]]
     14[[Abbr(key=XYZ, title=Xenon Yeti Zulu, <tag=abbr|acronym>)]]
    1515}}}
    1616
    17 Where `key` is the element content, `title` is required, and the `tag` keyword is optional. The element type (tag) will default to `acronym` if omitted. Why is acronym the default? For several reasons. First, most users are after acronyms (and as far as I know there are no plans for an `initialism` element). Second, Internet Explorer before version 7.0 does not support the `<abbr>` element. It won't do any harm to use them with IE 6 and below, but these browsers do not allow you to style the element with CSS and they don't display the title attribute as a tooltip.
     17Where `key` is the element content, `title` is required, and the `tag` keyword is optional. The element type (tag) will default to `acronym` if omitted. Why is acronym the default? For several reasons. First, most users are after acronyms (and as far as I know there are no plans for an `initialism` element). Second, Internet Explorer before version 7.0 does not support the `<abbr>` element, so any styling and defined tooltips will be ignored.
    1818
    19 Many HTML authors mistakenly refer to elements as "tags." For a review of the syntax and nomenclature of WWW markup elements, visit the Wikipedia [http://en.wikipedia.org/wiki/HTML_element Element] article, or this quick synopsis will help. Syntactically, HTML elements are constructed with:
     19Many HTML authors mistakenly refer to elements as "tags". For a review of the syntax and nomenclature of WWW markup elements, visit the Wikipedia [http://en.wikipedia.org/wiki/HTML_element Element] article, or this quick synopsis will help. Syntactically, HTML elements are constructed with:
    2020 * A `start tag` marking the beginning of an element.
    2121 * Any number of valid `attributes` (and their associated values in quotes).
     
    3030
    3131There has been a long and sometimes heated discussion on the `<abbr>` and `<acronym>` elements around the Web. A good article at Juicy Studios was written by my friend Pamela Berman: [http://juicystudio.com/article/abbreviations-acronyms.php Abbreviations are a Breeze].
     32
     33See also: TracTerminologyPlugin, AcronymsPlugin
    3234
    3335=== Dictionary File