Template:Efn: Difference between revisions
From The Goon Show Depository
en>SMcCandlish (parameter aliases for cross-compatibility with other templates) |
m (1 revision imported) |
||
(6 intermediate revisions by 3 users 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 21:24, 17 July 2024
See this information on copying this template and modifying it for use on another wiki. |
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
- 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:Inserts an explanatory footnote. Notes can be named and grouped.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Note | 1 reference text content | Text of the note | Content | suggested |
Ref. name | name | Reference name of the note | String | suggested |
Reference group | group | Styled group to which the note belongs
| String | suggested |