Template:Note

From Len'en Wiki
Jump to navigation Jump to search
Documentation icon Template documentation[view] [edit] [history] [purge]

{{Note}} is used to create footnotes in the Len'en Wiki, as an simplified alternative and complement to the <ref> tag. It is an alternative to {{Ref}}, which is specifically uses to make notes rather than citations, as well as making these type of footnotes compatible to {{Notelist}}. Unless you want to make use of <ref> tag the long way, {{Note}} must be required (and it is also simplified).

Usage

{{Note|name=name|Contents of the footnote}} (the tag equivalent to this is <ref name="name">content</ref>)

Note that the parameters are optional:

  • |groupname=: Unlike {{Ref}}, this parameter is in used and defaulted to the name "lower-alpha", which also sets the list style to an alphabetical list. Changing the group name would also mean changing the list style (See Reflist for more information). For this template, you don't necessarily need to re-define this.
  • |name=: With this, you can cite the same source more than once on a page by using named footnotes. The syntax to define a named footnote is: {{Note|name=name|Contents of the footnote}}
    To invoke the named footnote: {{Note|name=name}}
    (The tag equivalent is <ref name="name" group="lower-alpha">content</ref>, with the named footnote invoked as <ref name="name" group="lower-alpha" />, which as you can see, is lengthy.)

Since this template is pretty much a replica of {{Ref}}, see the documentation of that template for further details on how these parameters are used.

See also