Difference between revisions of "Template:References/doc"

From LFS Manual
Jump to navigationJump to search
m (→‎Basic usage: added a cite web sample in the example, broke lines so its (hopefully) more readable)
(added intro)
Line 1: Line 1:
 
<noinclude>{{documentation subpage}}</noinclude>
 
<noinclude>{{documentation subpage}}</noinclude>
 +
 +
A reference list to be included in a top-level "References" section at the end of articles. The references are currently handled in a different way compared to the public Wikipedia. The references are only marked with an index in-content with template {{tl|code=1|ref}}, and then the actual references are listed using this template, in the order of ref indices in-article (make sure the indices next to statements match the referenced content).
 +
 +
If referencing a web-based source, please consider using template {{tl|code=1|cite web}} when possible.
  
 
== Basic usage ==
 
== Basic usage ==

Revision as of 11:34, 30 July 2024

Information icon4.png This is a documentation subpage for Template:References.

It may contain usage information, categories and other content that is not part of the original page.

A reference list to be included in a top-level "References" section at the end of articles. The references are currently handled in a different way compared to the public Wikipedia. The references are only marked with an index in-content with template {{ref}}, and then the actual references are listed using this template, in the order of ref indices in-article (make sure the indices next to statements match the referenced content).

If referencing a web-based source, please consider using template {{cite web}} when possible.

Basic usage

Markup Renders as
{{references
|one
|two
|three
|{{cite web |url=https://web.archive.org/web/20111127184520/http://www.lfs.net/?page=s2progress_3 |title=S2 Progress Report June 2005 |date=June 2, 2025 |website=LFS official website |access-date=November 27, 2011}}
|five
|six
|[https://www.lfs.net seven]
}}
  1. ^ one
  2. ^ two
  3. ^ three
  4. ^ "S2 Progress Report June 2005". LFS official website. June 2, 2025. Retrieved November 27, 2011.
  5. ^ five
  6. ^ six
  7. ^ seven