Template:Resfn/doc
This is a documentation subpage for Template:Resfn. It may contain usage information, categories and other content that is not part of the original template page. |
Are you using the {{sfn}}
template? Did you just get this error?
Cite error: The named reference "FOOTNOTESmith200626" was defined multiple times with different content (see the help page).
Then you are probably in the right place.
The re-use shortened footnote template {{Resfn}} allows re-using a note already created with the {{Sfn}}
template granting that a named reference is never defined multiple times. This is a companion template to {{Sfn}}
; see there for a more general introduction.
Usage
[edit]Usage is similar to that of the {{sfn}} template, provided that a reference has been already defined using {{sfn}}. For example, given the following bibliographic source,
Bibliography
[edit]- Einstein, Albert (1907), "Über das Relativitätsprinzip und die aus demselben gezogene Folgerungen", Jahrbuch der Radioaktivität und Elektronik, 4
the following wiki code
Lorem ipsum dolor sit amet, consectetur adipiscing elit.{{sfn|Einstein|1907|p=411|ps=: "Hi there!"}} Nulla vel lorem augue. In non ante sed dolor egestas rhoncus ut in quam. Vivamus quis ante rutrum erat suscipit interdum.{{resfn|Einstein|1907|p=411}}
=== Notes ===
{{reflist}}
will produce the following result:
Lorem ipsum dolor sit amet, consectetur adipiscing elit.[1] Nulla vel lorem augue. In non ante sed dolor egestas rhoncus ut in quam. Vivamus quis ante rutrum erat suscipit interdum.[1]
Notes
[edit]- ^ a b Einstein 1907, p. 411: "Hi there!"
Current limitations
[edit]Currently the only named parameters working as expected are |p=
, |pp=
, |ps=
(ignored), |page=
and |pages=
. Support for the |loc=
parameter is missing at the moment, but hopefully it will come soon.