Template:Efn: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(add group styling) |
|||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{name|}}} |
|||
<includeonly>{{#if:{{{name|}}}|{{#tag:ref|{{{1|}}}|name={{{name|}}}|group=lower-alpha}}|{{#tag:ref|{{{1|}}}|group=lower-alpha}}}}</includeonly><noinclude>{{documentation}}</noinclude> |
|||
|{{#tag:ref|{{{1|}}}|name={{{name|}}}|group={{#switch: {{{group|}}} |
|||
| upper-alpha |
|||
| upper-roman |
|||
| lower-alpha |
|||
| lower-greek |
|||
| lower-roman = {{{group|}}} |
|||
| #default = lower-alpha |
|||
}} |
|||
}} |
|||
|{{#tag:ref|{{{1|}}}|group={{#switch: {{{group|}}} |
|||
| upper-alpha |
|||
| upper-roman |
|||
| lower-alpha |
|||
| lower-greek |
|||
| lower-roman = {{{group|}}} |
|||
| #default = lower-alpha |
|||
}} |
|||
}} |
|||
}}</includeonly><noinclude> |
|||
{{documentation}} |
|||
</noinclude> |
Revision as of 01:53, 7 December 2012
See this information on copying this template and modifying it for use on another wiki. |
This template is used on approximately 160,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. 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. {{#section:Help:footnotes|pregroup}}
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 |