As part of the Unified Community Platform project, this wiki and 38 others will be migrated to the new platform in the next few weeks. Minimal changes are expected as part of this migration. Read more here.

Template:Efn/doc

From Feed The Beast Wiki
Jump to: navigation, search
Template-info.png Documentation

{{efn}} is used, together with {{notelist}}, to create explanatory notes.

Usage[edit source]

{{efn|Footnote text}}

{{efn|name=footnote name|Footnote text}}

name: Sets a standard reference name per named reference.

{{efn|group=footnote group|Footnote text}}

group: Sets the group name. This defaults to lower-alpha.

The available options are:

group Styled as
note [note 1]
upper-alpha [A]
upper-roman [IV]
lower-alpha [a]
lower-greek [α][β]
lower-roman [iv]

Remember that "=" cannot appear in an unnamed template parameter and "|" cannot appear in any template parameter. For "|", {{!}} can be used. For "=", {{=}} can be used or the parameter can be named 1= explicitly:

{{efn|1=Converting at a rate of Kr 20 = £1.}}

Examples[edit source]

Using full citations in footnotes:

Markup Renders as
Some information.<ref name=Smith2009>Smith (2009). Smith's book.</ref> More information.{{efn|A clarification.<ref name=Smith2009/>}}

==Notes==
{{notelist}}

==References==
{{reflist}}

Some information.[1] More information.[lower-alpha 1]
Notes
  1. A clarification.[1]
References
  1. 1.0 1.1 Smith (2009). Smith's book.

You can create multiple explanatory lists by closing {{notelist}}. This is useful when adding sources to elements such as multiple tables.

Markup Renders as
Some information.<ref name=Smith2009>Smith (2009). Smith's book.</ref> More information.{{efn|A clarification.<ref name=Smith2009/>}}

==Notes==
{{notelist|close}}

Some more information.<ref name=Smith2009>Smith (2009). Smith's book.</ref> More information.{{efn|A further clarification.<ref name=Smith2009/>}}

==Notes==
{{notelist|close}}

==References==
{{reflist}}
Some information.[1] More information.[lower-alpha 1]
Notes
  1. A clarification.[1]

Some more information.[1] More information.[lower-alpha 1]

Notes
  1. A further clarification.[1]
References
  1. 1.0 1.1 1.2 1.3 Smith (2009). Smith's book.


This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.