Difference between revisions of "Template:References/doc"
From LFS Manual
Jump to navigationJump to searchm |
|||
| (6 intermediate revisions by 2 users not shown) | |||
| 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 == | ||
{{markup| | {{markup| | ||
| − | <nowiki>{{references|one|two|three| | + | <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 --> | ||
| + | |||
| + | == Named arguments to skip reference IDs == | ||
| + | |||
| + | {{markup| | ||
| + | <nowiki>{{references | ||
| + | |4=four | ||
| + | |6=six | ||
| + | |7=seven | ||
| + | }}</nowiki>|{{references | ||
| + | |4=four | ||
| + | |6=six | ||
| + | |7=seven | ||
| + | }}}}<!-- Template:Mra --> | ||
<includeonly> | <includeonly> | ||
[[Category:Citation templates]] | [[Category:Citation templates]] | ||
</includeonly> | </includeonly> | ||
Latest revision as of 19:51, 4 July 2025
| 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]
}}
|
|
Named arguments to skip reference IDs
| Markup | Renders as |
|---|---|
{{references
|4=four
|6=six
|7=seven
}}
|
|