Template:Reflib/Domain doc: Difference between revisions

Content deleted Content added
New domains: Update date.
Line 46:
=== Use one citation per section ===
 
Generally speaking, it is recommended that a reference section should contain just one citation. There are exceptions, such as for books containing multiple, independently citable chapters defined by {{tl|citec}} / {{tl|harvc}}, where it may make the most sense to list the book citation via a {{tl|cite book}} first, followed by one or more chapter templates for commonly cited chapters, keeping them all together in one section.{{efn|name="multiple"|For an example of a citation with multiple chapter templates in one section, see {{slink|Template:Reflib/FCL|Tomlinson-1999}}.}} See {{slink||Whitelisting unused chapters}} for how to deal with scripted warnings about uncited chapters that may appear in this case.
 
=== Adding comments to a section ===
 
You can add hatnotes, instructions, or other comments to a citation section by including them within paired <code><nowiki><noinclude> ... </noinclude></nowiki></code> tags. Some reasons to do this might be to:
* call attention to similarly named sections, such as at [[Template:Reflib/Asea#Royal-Tusa-2019|Royal-Tusa-2019]]
* give a reminder about how to code a short citation when there are multiple authors, e.g. at [[Template:Reflib/Asea#Pomey-2012|Pomey-2012]]
* provide special instructions, such as when a section has one source with multiple chapters, e.g. at [[Template:Reflib/Asea#Morrison-Gardiner-1995|Morrison-Gardiner-1995]]
* mention a more recent edition of the same title (e.g., [[Template:Reflib/Asea#Morrison-1968|Morrison-1968]]), or a translated work ([[Template:Reflib/Asea#Rougé-1981|Rougé-1981]]), and other reasons.
 
=== Using Reflib with inline citations ===