Difference between revisions of "Template:Efn/sandbox"
Jump to navigation
Jump to search
imported>Redrose64 (doesn't work if |group= is present but blank) |
imported>Edgepedia (refresh sandbox) |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{name|}}} | <includeonly>{{#if:{{{name|}}} | ||
| − | |{{#tag:ref|{{{1|{{{reference|}}}}}}|name={{{name|}}}|group={{# | + | |{{#tag:ref|{{{1|{{{reference|}}}}}}|name={{{name|}}}|group={{#switch: {{{group|}}} |
| − | |{{#tag:ref|{{{1|{{{reference|}}}}}}|group={{# | + | | upper-alpha |
| + | | upper-roman | ||
| + | | lower-alpha | ||
| + | | lower-greek | ||
| + | | lower-roman = {{{group|}}} | ||
| + | | #default = lower-alpha | ||
| + | }} | ||
| + | }} | ||
| + | |{{#tag:ref|{{{1|{{{reference|}}}}}}|group={{#switch: {{{group|}}} | ||
| + | | upper-alpha | ||
| + | | upper-roman | ||
| + | | lower-alpha | ||
| + | | lower-greek | ||
| + | | lower-roman = {{{group|}}} | ||
| + | | #default = lower-alpha | ||
| + | }} | ||
| + | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 18:18, 16 January 2014
| 50px | This is the template sandbox page for Template:Efn (diff). See also the companion subpage for test cases. |
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 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 |
| The above documentation is transcluded from Template:Efn/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |