Wiki source code of XWikiSyntaxClass
Last modified by superadmin on 2025/05/22 17:44
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | {{velocity}} |
| 2 | ## Replace Main with the Space where you want your documents to be created. | ||
| 3 | ## Replace the default parent with the one of your choice and save the document. | ||
| 4 | ## | ||
| 5 | #set($className = $doc.documentReference.name.substring(0, $doc.documentReference.name.indexOf("Class"))) | ||
| 6 | #set($defaultParent = "${doc.space}.${className}Class") | ||
| 7 | #set($defaultSpace = 'XWiki') | ||
| 8 | {{/velocity}} | ||
| 9 | |||
| 10 | {{include reference="XWiki.ClassSheet"/}} |