Toggle menu
13
222
68
27K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 05:12, 23 February 2025 by Prd (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> Are you using the {{tlx|sfn}} template? Did you just get this error? {{quote|{{color|red|'''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 foot...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Are you using the {{sfn}} template? Did you just get this error?

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

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

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.Template:Sfn Nulla vel lorem augue. In non ante sed dolor egestas rhoncus ut in quam. Vivamus quis ante rutrum erat suscipit interdum.[1]

Notes

  1. Cite error: Invalid <ref> tag; no text was provided for refs named FOOTNOTEEinstein1907411

Current limitations

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.

Template:Wikipedia referencing