Template:Efn/doc: Difference between revisions

From Fanverse
Jump to navigation Jump to search
(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",
"suggested": true
"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"
"suggested": true
},
},
"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",
"suggested": true,
"suggestedvalues": [
"suggestedvalues": [
"upper-alpha",
"upper-alpha",

Latest revision as of 19:31, 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]


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>