Changes between Version 4 and Version 5 of TracFormsPlugin/Syntax
- Timestamp:
- Jun 17, 2008, 11:48:46 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracFormsPlugin/Syntax
v4 v5 1 1 [[TOC]] 2 2 3 = = !TracForm Syntax ==3 = TracFormsPlugin !TracForm Syntax = 4 4 5 5 All !TracForm blocks are wrapped and formatted as follows: … … 31 31 Comments are ignored and can be intermixed with commands until the first non-comment line. [tf] operations are intermixed with other Trac wiki entities and the results ''can'' in some cases cause other wiki entities to take place (but only where it makes sense). 32 32 33 == = !TracForm Configuration Commands ===33 == !TracForm Configuration Commands == 34 34 35 35 In the header section of the form, several commands can be used to control the rendering and configuration of the form in the form of "#!command [arg...]" lines before the first non-comment line: … … 43 43 || '''setenv''' || 0.1+ || name value || Set the name to value in the form's environment (or any subforms therein). || 44 44 45 == = !TracForm Operations ===45 == !TracForm Operations == 46 46 47 47 Within the TracForm, you can use the following commands with [tf.OP:arg...] blocks: … … 56 56 || '''tf.form_updated_on''' || 0.1+ || [strftime format string] || Show when the form was most recently updated. || 57 57 58 == = !TracForm Arguments ===58 == !TracForm Arguments == 59 59 60 60 Each arguments listed above are either: … … 64 64 * Quoted with single-quotes. Example: [tf.input:'Big Text'] 65 65 66 == = !TracForm Environment ===66 == !TracForm Environment == 67 67 68 68 Using the #!setenv command above, you can retrieve previously defined elements with %NAME% (case insensitive). Other environment variables are also defined by the system: