Template:Efn: Difference between revisions
(Created page with "<includeonly>{{#if:{{{name|}}} |{{#tag:ref|{{{1|{{{reference|{{{content|{{{text|}}}}}}}}}}}}|name={{{name|}}}|group={{#switch: {{{group|}}} | note | upper-alpha | upper-roman | lower-alpha | lower-greek | lower-roman = {{{group|}}} | #default = lower-alpha }} }} |{{#tag:ref|{{{1|{{{reference|{{{content|{{{text|}}}}}}}}}}}}|group={{#switch: {{{group|}}} | note | upper-alpha | upper-roman | lower-alpha | lower-greek...") |
Tag: Undo |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{name|}}} | <includeonly>{{safesubst<noinclude />:#if:{{{name|}}} | ||
|{{#tag:ref|{{{1|{{{reference|{{{content|{{{text|}}}}}}}}}}}}|name={{{name|}}}|group={{#switch: {{{group|}}} | |{{#tag:ref|{{{1|{{{reference|{{{content|{{{text|}}}}}}}}}}}}|name={{{name|}}}|group={{safesubst<noinclude />:#switch: {{{group|}}} | ||
| note | | note | ||
| upper-alpha | | upper-alpha | ||
| Line 8: | Line 8: | ||
| lower-roman = {{{group|}}} | | lower-roman = {{{group|}}} | ||
| #default = lower-alpha | | #default = lower-alpha | ||
}} | }}}} | ||
|{{#tag:ref|{{{1|{{{reference|{{{content|{{{text|}}}}}}}}}}}}|group={{safesubst<noinclude />:#switch: {{{group|}}} | |||
|{{#tag:ref|{{{1|{{{reference|{{{content|{{{text|}}}}}}}}}}}}|group={{#switch: {{{group|}}} | |||
| note | | note | ||
| upper-alpha | | upper-alpha | ||
| Line 18: | Line 17: | ||
| lower-roman = {{{group|}}} | | lower-roman = {{{group|}}} | ||
| #default = lower-alpha | | #default = lower-alpha | ||
}} | }}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 19:36, 17 July 2024
Template:Transwiki guide
Template:High-use
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. Help:Footnotes
Example articles[edit source]
- 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[edit source]
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", "required": true }, "name": { "label": "Ref. name", "description": "Reference name of the note", "type": "string" }, "group": { "label": "Reference group", "description": "Styled group to which the note belongs", "type": "string", "suggestedvalues": [ "upper-alpha", "lower-greek", "note", "lower-roman", "upper-roman" ] } } } </templatedata>