PutFootnotes Macro
This is a Velocity macro, bundled with all the XWiki products by default.
Macro developed by the XWiki Development Team.
This macro cannot currently be downloaded separately.
Macro developed by the XWiki Development Team.
This macro cannot currently be downloaded separately.
PutFootnotes Macro
Used with the #footnote macro. When called, it displays the footnotes mentioned so far in the wiki code and resets the footnote counter. Nothing is displayed if no footnotes were previously mentioned. If the explicit call of the macro is missing on a page, it is called by default at the end of the page.Usage
#putFootnotes()
Parameters definition
NoneExample
\1.1 A title Lorem ipsum dolor sit amet #footnote("Footnote 1"), consectetuer adipiscing elit. Vivamus lacus est, euismod at, lobortis eu, rhoncus et, leo #footnote("Footnote 2"). #putFootnotes() \1.1 Second topic Morbi eget leo. Praesent tempor erat nec sapien. Etiam tincidunt, tellus et faucibus sagittis, diam diam tincidunt magna, id fringilla metus libero nec dolor. #putFootnotes() \1.1 Third topic Morbi eget leo. Praesent tempor erat nec sapien. Etiam tincidunt, tellus et faucibus sagittis, diam diam tincidunt magna, id fringilla metus libero nec dolor. Curabitur vestibulum fringilla felis #footnote("The footnote counter was reset"). Sed auctor. Sed scelerisque #footnote("Footnote 2 again"). Proin sed ipsum. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Nulla vestibulum, neque sed sodales laoreet, augue ante varius pede, quis feugiat quam nisl varius orci. Maecenas ultricies pede vitae turpis.
Result