Wikipedia:Citing sources/Example edits for different methods: Difference between revisions

Content deleted Content added
Prefer {{tl|sfn}} to {{tl|harvnb}}
Looks ugly to have harvnb in the header
Line 460:
</div>
 
===={{anchor|harvnb}}{{anchor|sfn}}Shortened notes linked with {{tl|sfn}} (or {{tl|harvnb}}) and citation templates====
 
This is an example edit mode representation showing use of shortened notes written using {{tl|sfn}} with citation templates.<!--i.e. construed to look similar when viewed on the page. If you're actually IN edit mode it'll look different with the <div> and <pre> tags used to make the construction work--> Templates in the <nowiki>{{Cite *}}</nowiki> family need to have the parameter {{code|ref{{=}}harv}} added to them, which allows linking from {{tl|sfn}} via matching author last names and year (part of date). Overriding ref parameter CITEREF''SurnameYear'' may also be used (e.g. when coauthor names mismatch). When using the generic {{tl|Citation}} template, {{code|ref{{=}}harv}} does not need to be specified, as the {{code|ref}} parameter automatically defaults to {{code|harv}}.