114 | | |
| 114 | == Processor Syntax == |
| 115 | While Tracs normal macro syntax (`[[Macro(key=value,key=value)]]`) is nice for smaller arguments lists it is getting messy for longer lists. |
| 116 | This macro now also supports the so called ''wiki processor syntax'' (`{{{ <linebreak> #!Macro <linebreak> content <linebreak> }}}`) to allow for multiple lines of arguments. |
| 117 | In this case a line break will be read as a comma: |
| 118 | {{{ |
| 119 | {{{ |
| 120 | #!GoogleMap |
| 121 | key1=value1 |
| 122 | key2="value 2, with comma" |
| 123 | key3=value3,key4=value4 |
| 124 | }}} |
| 125 | }}} |
| 126 | is identical to: |
| 127 | {{{ |
| 128 | [[GoogleMap(key1=value1,key2="value 2, with comma",key3=value3,key4=value4)]] |
| 129 | }}} |