= Add footnotes to wiki = == Description == The FootNoteMacro automatically collates[[FootNote(Arranges in numerical order)]] and generates footnotes. To use it, simply call the FootNoteMacro with the footnote content[[FootNote(Any WikiFormatting can be used as content)]] 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: {{{ [[FootNote(1)]] }}} 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)]]. [[FootNote]] }}} And finally, to display a list of foot-notes call the macro with no arguments: {{{ [[FootNote]] }}} 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 [report:9?COMPONENT=FootNoteMacro here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=FootNoteMacro&owner=rjollos new ticket]. == Download == download:footnotemacro == Installation == {{{FootNote.py}}} must be installed in the global {{{wikimacros}}} directory due to its use of global variables. This is discussed at length in #13. == Source == You can check out the source for FootNoteMacro from Subversion at http://trac-hacks.org/svn/footnotemacro, or [/browser/footnotemacro browse] the source.. == Example == Here are the footnotes assembled from this page. [[FootNote]] == Recent Changes == [[ChangeLog(footnotemacro, 3)]] == Author/Contributors == '''Authors:''' [wiki:athomas athomas], [wiki:coderanger coderanger] [[BR]] '''Maintainer:''' [wiki:rjollos rjollos] [[BR]] '''Contributors:''' [wiki:JoshuaH JoshuaH]