Changes between Version 11 and Version 12 of KeywordReplacePlugin


Ignore:
Timestamp:
Dec 20, 2016, 7:34:41 PM (7 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • KeywordReplacePlugin

    v11 v12  
    11[[PageOutline(2-5,Contents,pullout)]]
    22
    3 = Keyword replace plugin
     3= Replace keywords with their associated values
    44
    55== Description
    66
    77This plugin allows you to replace keywords with any wiki format from a table in a Wiki page (Default as KeywordReplace). It can be time consuming to input units, links, etc. where a mapping would be easier to use. This plugin makes typewriting simpler.
     8
     9For the following keyword definition table, the first column has defined keywords and the second column contains its associated values. Any wiki format could be input in the second column.
     10{{{
     11||= keywords =||= replace =||
     12||CO2       ||CO,,2,,                         ||
     13||m-2_s-1   ||m^-2^ s^-1^                     ||
     14||Google    ||[http://www.google.com Google]  ||
     15||oC        ||^o^C                            ||
     16||m-2       ||m^-2^                           ||
     17||Wheat     ||[wiki:Wheat Wheat]              ||
     18||wheat     ||[wiki:Wheat wheat]              ||
     19||C3        ||C,,3,,                          ||
     20||t_ha-1    ||t ha^-1^                        ||
     21}}}
     22
     23The keywords in the first column would be replaced by the values in the second column.
     24
     25[[Image(keywords.png, width=150px, nolink)]]
    826
    927This plugin is based on the AcronymsPlugin.
     
    2745You can check out KeywordReplacePlugin from [/svn/keywordreplaceplugin here] using Subversion, or [source:keywordreplaceplugin browse the source] with Trac.
    2846
     47== Installation
     48
     49General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
     50
    2951== Configuration
    3052
     
    4062The storage page is KeywordReplace by default if not specified in `trac.ini`.
    4163
    42 == Example
    43 
    44 The following keyword definition table. The first column is defied keywords and the second column is values. The any wiki format could be input in the second column.
    45 {{{
    46 ||= keywords =||= replace =||
    47 ||CO2       ||CO,,2,,                         ||
    48 ||m-2_s-1   ||m^-2^ s^-1^                     ||
    49 ||Google    ||[http://www.google.com Google]  ||
    50 ||oC        ||^o^C                            ||
    51 ||m-2       ||m^-2^                           ||
    52 ||Wheat     ||[wiki:Wheat Wheat]              ||
    53 ||C3        ||C,,3,,                          ||
    54 ||t_ha-1    ||t ha^-1^                        ||
    55 }}}
    56 
    57 The keywords in the first column would be replaced by values in the second column.
    58 
    59 [[Image(keywords.png, width=150px, nolink)]]
    60 
    6164== Recent Changes
    6265