Difference between revisions of "Template:References"
From LFS Manual
Jump to navigationJump to searchm |
|||
| Line 2: | Line 2: | ||
{{#if:{{{1|}}} | {{ reference note|1|{{{1}}} }} }} | {{#if:{{{1|}}} | {{ reference note|1|{{{1}}} }} }} | ||
{{#if:{{{2|}}} | {{ reference note|2|{{{2}}} }} }} | {{#if:{{{2|}}} | {{ reference note|2|{{{2}}} }} }} | ||
| − | {{#if:{{{3|}}} | {{ reference note| | + | {{#if:{{{3|}}} | {{ reference note|3|{{{3}}} }} }} |
| − | {{#if:{{{4|}}} | {{ reference note| | + | {{#if:{{{4|}}} | {{ reference note|4|{{{4}}} }} }} |
| − | {{#if:{{{5|}}} | {{ reference note| | + | {{#if:{{{5|}}} | {{ reference note|5|{{{5}}} }} }} |
| − | {{#if:{{{6|}}} | {{ reference note| | + | {{#if:{{{6|}}} | {{ reference note|6|{{{6}}} }} }} |
| − | {{#if:{{{7|}}} | {{ reference note| | + | {{#if:{{{7|}}} | {{ reference note|7|{{{7}}} }} }} |
</ol></includeonly><noinclude> | </ol></includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 10:22, 25 June 2025
Template documentation
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]
}}
|
|
Named arguments to skip reference IDs
| Markup | Renders as |
|---|---|
{{references
|4=four
|6=six
|7=seven
}}
|
|