Difference between revisions of "Template:Efn/doc"
37thchamber (talk | contribs) m (1 revision imported) |
LaneFrost23 (talk | contribs) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
+ | {{Transwiki guide |small=yes |text=See [[Template:Reflist/Transwiki guide|'''this information''']] on copying this template and modifying it for use on another wiki.}} | ||
<!-- Categories and interwikis go at the bottom of this page. --> | <!-- Categories and interwikis go at the bottom of this page. --> | ||
− | '''Explanatory footnotes''' or '''Efn''' are footnotes which provide something other than, or more than, a reference to a [[WP:Reliable sources|source]] that supports the accompanying text. The following explanation is transcluded from [[Help:Footnotes#Footnotes: predefined groups]]. | + | {{High-use}} |
+ | '''Explanatory footnotes''' or '''Efn''' are footnotes which provide something other than, or more than, a reference to a [[WP:Reliable sources|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 {{para|1}} (or one of its aliases, {{para|text}}, {{para|reference}}, or {{para|content}}) to fix the error. | ||
+ | |||
+ | The following explanation is transcluded from [[Help:Footnotes#Footnotes: predefined groups]]. | ||
{{#section:Help:footnotes|pregroup}} | {{#section:Help:footnotes|pregroup}} | ||
Line 41: | Line 45: | ||
"label": "Reference group", | "label": "Reference group", | ||
"description": "Styled group to which the note belongs", | "description": "Styled group to which the note belongs", | ||
− | |||
"type": "string", | "type": "string", | ||
− | "suggested": true | + | "suggested": true, |
+ | "suggestedvalues": [ | ||
+ | "upper-alpha", | ||
+ | "lower-greek", | ||
+ | "note", | ||
+ | "lower-roman", | ||
+ | "upper-roman" | ||
+ | ] | ||
} | } | ||
} | } | ||
} | } | ||
</templatedata> | </templatedata> |
Revision as of 12:28, 18 October 2022
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. |
48px | See this information on copying this template and modifying it for use on another wiki. |
40px | 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. 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: <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>