Changes between Version 4 and Version 5 of WikiMacros


Ignore:
Timestamp:
2010-02-17T07:22:03+01:00 (4 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiMacros

    v4 v5  
    88 
    99== Using Macros == 
    10 Macro calls are enclosed in two ''square brackets''. Like Python functions, macros can also have arguments, a comma separated list within parentheses.  
     10Macro calls are enclosed in two ''square brackets''. Like Python functions, macros can also have arguments, a comma separated list within parentheses. 
    1111 
    1212Trac macros can also be written as TracPlugins. This gives them some capabilities that macros do not have, such as being able to directly access the HTTP request. 
     
    4646 
    4747=== Macro without arguments === 
    48 It should be saved as `TimeStamp.py` as Trac will use the module name as the Macro name 
     48It should be saved as `TimeStamp.py` (in the TracEnvironment's `plugins/` directory) as Trac will use the module name as the Macro name. 
    4949{{{ 
    5050#!python 
     
    6969 
    7070=== Macro with arguments === 
    71 It should be saved as `HelloWorld.py` (in the plugins/ directory) as Trac will use the module name as the Macro name 
     71It should be saved as `HelloWorld.py` (in the TracEnvironment's `plugins/` directory) as Trac will use the module name as the Macro name. 
    7272{{{ 
    7373#!python