Difference between revisions of "Template:Efn/doc"
Jump to navigation
Jump to search
imported>Finell (More accurate) |
imported>Hl (add main desc; set 'Note' req.; c/e labels and descriptions; make all three parameters 'suggested') |
||
| Line 18: | Line 18: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| + | "description": "Inserts an explanatory footnote. Notes can be named and grouped.", | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
| Line 25: | Line 26: | ||
"content" | "content" | ||
], | ], | ||
| − | "label": " | + | "label": "Note", |
| − | "description": " | + | "description": "Text of the note", |
"type": "content", | "type": "content", | ||
| − | " | + | "required": true |
}, | }, | ||
"name": { | "name": { | ||
| − | "label": " | + | "label": "Ref. name", |
| − | "description": " | + | "description": "Reference name of the note", |
| − | "type": "string" | + | "type": "string", |
| + | "suggested": true | ||
}, | }, | ||
"group": { | "group": { | ||
"label": "Reference group", | "label": "Reference group", | ||
| − | "description": " | + | "description": "Styled group to which the note belongs", |
"example": "lower-greek, note, upper-alpha", | "example": "lower-greek, note, upper-alpha", | ||
| − | "type": "string" | + | "type": "string", |
| + | "suggested": true | ||
} | } | ||
} | } | ||
} | } | ||
</templatedata> | </templatedata> | ||
Revision as of 22:42, 15 April 2019
| 40px | This is a documentation subpage for Template:Efn. It contains usage information, categories and other content that is not part of the original template page. |
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
Inserts an explanatory footnote. Notes can be named and grouped.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Note | 1 reference text content | Text of the note | Content | required |
| Ref. name | name | Reference name of the note | String | suggested |
| Reference group | group | Styled group to which the note belongs
| String | suggested |