Difference between revisions of "Template:Efn/doc"

From Sim Football Wiki
Jump to navigation Jump to search
m (1 revision imported)
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",
"example": "lower-greek, note, upper-alpha",
 
 
"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

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


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>