Changes between Version 14 and Version 15 of AbbrMacro
- Timestamp:
- Mar 27, 2017, 6:24:18 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AbbrMacro
v14 v15 16 16 17 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, so any styling and defined tooltips will be ignored. 18 19 As an example: 20 21 '''Macro''': 22 {{{ 23 [[Abbr(key=PEP,title=Python Enhancement Proposal)]] 24 }}} 25 26 '''Displays''': 27 {{{ 28 #!html 29 <acronym title="Python Enhancement Proposal">PEP</acronym> 30 }}} 18 31 19 32 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: … … 138 151 }}} 139 152 140 == Example141 142 '''Macro''':143 {{{144 [[Abbr(key=PEP,title=Python Enhancement Proposal)]]145 }}}146 147 '''Displays''':148 {{{149 #!html150 <acronym title="Python Enhancement Proposal">PEP</acronym>151 }}}152 153 153 == Recent Changes 154 154