Difference between revisions of "Template:References"

From LFS Manual
Jump to navigationJump to search
(Created page with "<includeonly><ol> {{#if:{{{1|}}}|<li id="cite_note-1>^{{{1}}}</li>}} </ol></includeonly><noinclude> {{documentation}} </noinclude>")
 
m
 
Line 1: Line 1:
 
<includeonly><ol>
 
<includeonly><ol>
   {{#if:{{{1|}}}|<li id="cite_note-1>[[#cite_ref-1|^]]{{{1}}}</li>}}
+
   {{#if:{{{1|}}} | {{ reference note|1|{{{1}}} }} }}
 +
  {{#if:{{{2|}}} | {{ reference note|2|{{{2}}} }} }}
 +
  {{#if:{{{3|}}} | {{ reference note|2|{{{3}}} }} }}
 +
  {{#if:{{{4|}}} | {{ reference note|2|{{{4}}} }} }}
 +
  {{#if:{{{5|}}} | {{ reference note|2|{{{5}}} }} }}
 +
  {{#if:{{{6|}}} | {{ reference note|2|{{{6}}} }} }}
 +
  {{#if:{{{7|}}} | {{ reference note|2|{{{7}}} }} }}
 
</ol></includeonly><noinclude>
 
</ol></includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:04, 24 July 2024

Template Info-Icon.png

Template documentation

View - Edit

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://www.lfs.net/news/1618 |title=New LFS version 0.7F |first=Scawen |last=Roberts |date=July 27, 2024 |website=LFS official website |access-date=July 30, 2024}}
|five
|six
|[https://www.lfs.net seven]
}}
  1. ^ one
  2. ^ two
  3. ^ three
  4. ^ Roberts, Scawen (July 27, 2024). "New LFS version 0.7F". LFS official website. Retrieved July 30, 2024.
  5. ^ five
  6. ^ six
  7. ^ seven