History: PluginFootnote
Source of version: 47 (current)
Copy to clipboard
{syntax type="markdown" editor="wysiwyg"} # Footnote and Footnote Area Plugins {DIV(class="lead")}These ((wiki plugins)), work together to create automatically numbered footnotes. The superscript footnote numbers (like this{SUP()}[[1]{SUP}) and text are set with the Footnote plugin, and then are displayed using the Footnote Area (Footnotearea) plugin.{DIV} ## Parameters {pluginmanager plugin="footnote"} ## Usage The parameters are optional for these plugins (nothing is required between the parentheses) but here are the steps that need to be followed for them to work: 1. ***Place the Footnote plugin just after the text to be footnoted.*** - This will create a superscript footnote number next to the text. - The footnote number automatically links to the footnote text (of course this link only works if the Footnotearea plugin is also used). - The footnote numbers are automatically incremented based on how many Footnote plugins are used. 2. ***Enter the text of the footnote within the Footnote plugin opening and closing tag.*** 3. ***Place the Footnote Area plugin at the end of the page in order to display the footnotes.*** - All footnotes will be displayed in order at the bottom of the page. There may be a visual separator, depending on the theme in use. - The footnote numbers here link back to where the text was footnoted. - Note that the links will not function if there is a page break between the relevant Footnote and Footnotearea plugins. Also, the Footnotearea plugin must be placed at the end of the page because no content will display after the plugin. ## Examples ### Basic syntax #### sameas (after Tiki15, use sameastag instead) First, input the Footnote plugin syntax following the text you want footnoted: {CODE(colors="tiki")} Text to be footnoted{FOOTNOTE()}Footnote text to be displayed elsewhere{FOOTNOTE} {CODE} {CODE(colors="tiki")} Text to be footnoted{footnote(sameas="1")}{FOOTNOTE} {CODE} Second, add the Footnotearea plugin syntax to display the footnotes at the end of the page: {CODE(colors="tiki")} {footnotearea} {CODE} **Note:** the *sameas* parameter has the big issue that adding a new footnote above the other footnotes requires that you renumber all *sameas* footnotes below the new footnote. #### sameastag (after Tiki15) Starting at Tiki15, the *sameastag* parameter allows tagging footnotes for later reuse. {CODE(colors="tiki")} Text to be footnoted{footnote(tag="t1")}Footnote text to be displayed elsewhere{FOOTNOTE} {CODE} {CODE(colors="tiki")} Text to be footnoted{footnote(sameastag="t1")}{FOOTNOTE} {CODE} Second, add the Footnotearea plugin syntax to display the footnotes at the end of the page: {CODE(colors="tiki")} {footnotearea} {CODE} ### Example *This code:* {CODE(caption="Example syntax using Footnote and Footnotearea plugins" colors="tiki" theme="default")}In Blume's outdated view, the Classic period of music{FOOTNOTE()}Sometimes dated from 1740 to 1828, from when C.P.E. Bach began service in the court of Frederick the Great to when Schubert died. {FOOTNOTE} used rhythm "with the finest nuance and sensibility,"{FOOTNOTE(tag="fblume")}Friedrich Blume, ''Classic and Romantic Music: a Comprehensive Survey'', trans. M.D. Herter Norton (New York: W.W. Norton and Co., Inc., 1970), p. 133.{FOOTNOTE} whereas Schubert and the Romantics often used rhythm in repetitive, stereotyped patterns."{FOOTNOTE()}''Ibid''.{FOOTNOTE} It is now recognized that those features of Schubert's work which give us such pleasure rest on a magnificently concieved and executed sense of tonal architecture. Duplicate footnotes section: This is to show examples of the `sameas` and `sameastag` parameters {FOOTNOTE(sameastag="1")}{FOOTNOTE} {FOOTNOTE(sameastag="fblume")}{FOOTNOTE} and check duplicates {FOOTNOTE()}''Ibid''.{FOOTNOTE} {FOOTNOTE(class="translator")}translator notes{FOOTNOTE} {FOOTNOTE(class="author")}author notes{FOOTNOTE} %%% %%% {footnotearea}{CODE} *Would produce :* {BOX(title=>Example result)} In Blume's outdated view, the Classic period of music{FOOTNOTE()}Sometimes dated from 1740 to 1828, from when C.P.E. Bach began service in the court of Frederick the Great to when Schubert died. {FOOTNOTE} used rhythm "with the finest nuance and sensibility,"{FOOTNOTE(tag="fblume")}Friedrich Blume, *Classic and Romantic Music: a Comprehensive Survey*, trans. M.D. Herter Norton (New York: W.W. Norton and Co., Inc., 1970), p. 133.{FOOTNOTE} whereas Schubert and the Romantics often used rhythm in repetitive, stereotyped patterns."{FOOTNOTE()}*Ibid*.{FOOTNOTE} It is now recognized that those features of Schubert's work which give us such pleasure rest on a magnificently concieved and executed sense of tonal architecture. Duplicate footnotes section: This is to show examples of the `sameas` and `sameastag` parameters {FOOTNOTE(sameastag="1")}{FOOTNOTE} {FOOTNOTE(sameastag="fblume")}{FOOTNOTE} and check duplicates {FOOTNOTE()}*Ibid*.{FOOTNOTE} {FOOTNOTE(class="translator")}translator notes{FOOTNOTE} {FOOTNOTE(class="author")}author notes{FOOTNOTE} <br /> <br /> {footnotearea} {BOX} ## Related pages - ((PluginQuote)) - ((PluginSup)) - applies superscript formatting to text - ((References)) - ((Zotero)) ## Alias - (alias(Footer))