Difference between revisions of "Template:References/doc"
From LFS Manual
Jump to navigationJump to searchm |
m (→Basic usage: swapped example for a more recent link, non-archived) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | <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 == | ||
− | {{references|one|two|three| | + | {{markup| |
+ | <nowiki>{{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] | ||
+ | }}</nowiki>|{{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]}}|five|six|[https://www.lfs.net seven]}}<!-- Template:Mra --> | ||
+ | |||
+ | <includeonly> | ||
+ | [[Category:Citation templates]] | ||
+ | </includeonly> |
Latest revision as of 11:47, 30 July 2024
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://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] }} |
|