Template:Efn/doc: Difference between revisions
(Created page with "{{Documentation subpage}} {{Transwiki guide |small=yes |text=See '''this information''' on copying this template and modifying it for use on another wiki.}} <!-- Categories and interwikis go at the bottom of this page. --> {{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 un...") |
No edit summary |
||
| Line 34: | Line 34: | ||
"description": "Text of the note", | "description": "Text of the note", | ||
"type": "content", | "type": "content", | ||
" | "required": true | ||
}, | }, | ||
"name": { | "name": { | ||
"label": "Ref. name", | "label": "Ref. name", | ||
"description": "Reference name of the note", | "description": "Reference name of the note", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"group": { | "group": { | ||
| Line 46: | Line 45: | ||
"description": "Styled group to which the note belongs", | "description": "Styled group to which the note belongs", | ||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"upper-alpha", | "upper-alpha", | ||
Latest revision as of 19:31, 17 July 2024
| Template:Strong for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
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>