Wiki source code of Macros
Last modified by JeromeVelociter on 2010/03/24 09:40
Hide last authors
author | version | line-number | content |
---|---|---|---|
1.1 | 1 | = Macro Directory = | |
2 | |||
3 | [[Import Google Gadget>>Macros.GoogleGadgetsImport]] | ||
4 | |||
2.1 | 5 | {{velocity}} | |
1.1 | 6 | #set($macroDescrs = $macros.macroDescriptors) | |
7 | #foreach($m in $macroDescrs) | ||
8 | #set($macroId = $m.getId().id) | ||
9 | #set($macroURL = $xwiki.getURL('Macros.Macro', 'view', "id=${macroId}")) | ||
10 | |||
11 | **{{html}}<a href='${macroURL}'>$m.name</a>{{/html}}** | ||
12 | $m.description | ||
13 | #set($isWikiMacro = $macros.isWikiMacro($macroId)) | ||
14 | //**Type:** #{if}($isWikiMacro)XWiki Wiki Macro\\ #{else}XWiki Java Macro\\ #{end} | ||
15 | **Default Category:** $!{m.defaultCategory}// | ||
16 | #end | ||
17 | {{/velocity}} | ||
18 |