Template:Sfnm/doc

This is a companion template to ; see there for a more general introduction. Unlike, however, supports the inclusion of multiple sources in a single footnote.

Usage
Each of the several sources listed in the template is identified using a set of numbered (n) parameters where the first source is numbered, the second  , etc. There is no set limit to the number of sources that may be listed in a single template though editors should be aware that readability suffers with an increase of the number of sources.

The following markup: will produce the following footnote:
 * {| style="border: 1px solid black"


 * }
 * }

Parameters
The following parameters are used where n always begins at 1, increases by one for each successive source; n has no set limit.
 * nam – source n author (required) – has the form:  where   is the source number,   indicates that this is an author parameter, and   identifies the mth author of source n → 1a1 is first source author one, 5a4 is fifth source author four; author numbers  greater than   are ignored;
 * ny – year – accepted formats are:,   or   (no date),  ,   (endash separator); all dates may have a single lowercase letter disambiguator suffix; see sfn §More than one work in a year
 * np – in-source page cited
 * npp – in-source pages cited
 * nloc – in-source location when not pagination – appended to np or npp if present
 * nref – alternate reference identifier used to link source to its full citation; the special keyword  inhibits creation of a link from source to its long form reference
 * nps – source postscript – terminal character or text; defaults to none; the special keyword  (used by ) is silently ignored
 * ps – postscript – template's final terminal character or text; defaults to period ; the special keyword   inhibits the postscript character; yields to nps where n is the last source

When a source has a single author, use of positional parameters for author and year is supported; both  and   are required when there is more than one of these single-author sources listed in the template: which will produce the following footnote:
 * {| style="border: 1px solid black"


 * }
 * }