Template:Efn/doc
This is a documentation subpage for Template:Efn. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Explanatory footnotes or Efn are footnotes which provide something other than, or more than, a reference to a source that supports the accompanying text. The first unnamed parameter is displayed as the content of the footnote. Note that if the note's content contains an "=" character, a reference error will be displayed; precede the content with |1=
(or one of its aliases, |text=
, |reference=
, or |content=
) to fix the error.
The following explanation is transcluded from Help:Footnotes#Footnotes: predefined groups. {{#section:Help:footnotes|pregroup}}
Example articles
- Logic Theorist (a short article showing basic usage)
- Chinese room (a long and complex article which uses all the features: named footnotes, list defined notes, etc.)
- Empire of Brazil
- John Diefenbaker (with name= and notes in {{notes}})
- USS Monitor
Template data
Description: <templatedata> { "description": "Inserts an explanatory footnote. Notes can be named and grouped.", "params": { "1": { "aliases": [ "reference", "text", "content" ], "label": "Note", "description": "Text of the note", "type": "content", "suggested": true }, "name": { "label": "Ref. name", "description": "Reference name of the note", "type": "string", "suggested": true }, "group": { "label": "Reference group", "description": "Styled group to which the note belongs", "type": "string", "suggested": true, "suggestedvalues": [ "upper-alpha", "lower-greek", "note", "lower-roman", "upper-roman" ] } } } </templatedata>