| 1 | = Auto-generated acronyms from a table in a Wiki page = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | Automatically generates HTML acronyms from definitions in tables in a |
| 6 | |
| 7 | Wiki page (AcronymDefinitions by default). |
| 8 | |
| 9 | Acronyms are in the form `<acronym>[<id>]` and are defined in a table with |
| 10 | four columns: |
| 11 | |
| 12 | `Acronym, Description [, URL [, ID URL]]` |
| 13 | |
| 14 | Only the first two columns are required. |
| 15 | |
| 16 | If an `<id>` is provided, the ID URL is used and any occurrences of the symbol |
| 17 | `$1` in the description and the ID URL are substituted with the `<id>`. |
| 18 | |
| 19 | Rows starting with `||'` are ignored. |
| 20 | |
| 21 | |
| 22 | == Bugs/Feature Requests == |
| 23 | |
| 24 | Existing bugs and feature requests for AcronymsPlugin are |
| 25 | [report:9?COMPONENT=AcronymsPlugin here]. |
| 26 | |
| 27 | If you have any issues, create a |
| 28 | [http://trac-hacks.org/newticket?component=AcronymsPlugin&owner=athomas new ticket]. |
| 29 | |
| 30 | == Download == |
| 31 | |
| 32 | Download the zipped source from [download:acronymsplugin here]. |
| 33 | |
| 34 | == Source == |
| 35 | |
| 36 | You can check out AcronymsPlugin from [http://trac-hacks.org/svn/acronymsplugin here] using Subversion, or [source:acronymsplugin browse the source] with Trac. |
| 37 | |
| 38 | == Example == |
| 39 | |
| 40 | The following acronym definition table: |
| 41 | |
| 42 | {{{ |
| 43 | ||'''Acronym'''||'''Description'''||'''URL'''||'''ID URL'''|| |
| 44 | ||RFC||Request For Comment $1||http://www.ietf.org/rfc.html||http://www.ietf.org/rfc/rfc$1.txt|| |
| 45 | }}} |
| 46 | |
| 47 | Has the following effect: |
| 48 | |
| 49 | `RFC` becomes |
| 50 | {{{ |
| 51 | <a href="http://www.ietf.org/rfc.html"> |
| 52 | <acronym title="Request For Comment"> |
| 53 | RFC |
| 54 | </acronym> |
| 55 | </a> |
| 56 | }}} |
| 57 | |
| 58 | `RFC2315` becomes |
| 59 | {{{ |
| 60 | <a href="http://www.ietf.org/rfc/rfc2315.txt"> |
| 61 | <acronym title="Request For Comment 2315"> |
| 62 | RFC 2315 |
| 63 | </acronym> |
| 64 | </a> |
| 65 | }}} |
| 66 | |
| 67 | |
| 68 | == Recent Changes == |
| 69 | |
| 70 | [[ChangeLog(acronymsplugin, 3)]] |
| 71 | |
| 72 | == Author/Contributors == |
| 73 | |
| 74 | '''Author:''' [wiki:athomas] [[BR]] |
| 75 | '''Contributors:''' |