Version 21 (modified by rjollos, 7 years ago) (diff)

Adding an example for a user to test all of the macro functionality.

Add footnotes to wiki


The FootNoteMacro automatically collates1 and generates footnotes.

To use it, simply call the FootNoteMacro with the footnote content2 as the only argument to the macro:

[[FootNote(This is a footnote)]]

Footnotes are numbered by the order in which they appear.

To create a reference to an existing footnote, pass the footnote number as the only argument to the macro:


In addition, identical footnotes are coalesced into one entry. The following will generate one footnote entry with two references:

Some text[[FootNote(A footnote)]] and some more text [[FootNote(A footnote)]].


And finally, to display a list of foot-notes call the macro with no arguments:


Once a set of footnotes has been displayed, a complete new set of footnotes can be created. This allows multiple sets of footnotes per page.

Bugs/Feature Requests

Existing bugs and feature requests for FootNoteMacro are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:footnotemacro here].


You can check out FootNoteMacro from here using Subversion, or browse the source with Trac.


Here are the footnotes assembled from this page.

  1. 1. Arranges in numerical order
  2. 2. Any WikiFormatting can be used as content

Here is some wiki markup that will exercise all the functionality of the macro.

Testing out the th:FootNoteMacro [[FootNote(Here is the first
footnote)]]. This will be a good test to excercise all of its
functionality[[FootNote(Here is the second footnote)]]. And now I'll add
an identical footnote and refer to the first footnote again.
[[FootNote(Here is the second footnote)]]

Now I've test all of the documented behavior.


No image "FootNoteMacroExample.png" attached to FootNoteMacro

Recent Changes

14822 by rjollos on 2015-07-20 06:43:08
1.5: Require Trac >= 0.11.
14539 by rjollos on 2015-04-20 15:58:21
1.4: tag_svn_revision is not supported in setuptools ≥ 10.
14088 by rjollos on 2014-08-14 20:47:15
1.4: PEP-0008 changes and moved COPYING file to proper location.


Authors: athomas, coderanger
Maintainer: rjollos
Contributors: JoshuaH