Template:Cite: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
YAY CITATIONS :d |
||
| Line 2: | Line 2: | ||
[{{{url}}}{{#if:{{{title|}}}| "{{{title}}}"}}] | [{{{url}}}{{#if:{{{title|}}}| "{{{title}}}"}}] | ||
{{#if:{{{source|}}}| – {{{source}}}{{#if:{{{date|}}}|, {{{date}}}}}.}} | {{#if:{{{source|}}}| – {{{source}}}{{#if:{{{date|}}}|, {{{date}}}}}.}} | ||
{{#if:{{{archive|}}}| <small>[{{{archive}}} (Archived)]</small>}} | {{#if:{{{archive|}}}| <small>[{{{archive}}} (Archived)]</small>|[[Category:Unarchived Citations]]}} | ||
}} | }}<noinclude> | ||
== Description == | |||
Creates a citation of anything on the web, for use in references. Has several optional parameters for better citations. | |||
== Usage == | |||
<code><nowiki><ref>{{Cite|url=|archive=|title=|source=|date=}}</ref></nowiki></code> | |||
=== Parameters === | |||
; <code>url</code> | |||
: '''Required'''. URL of the web resource being cited. | |||
; <code>archive</code> | |||
: '''Optional'''. Archived URL of the web resource being cited. Lack of this adds the [[:Category:Unarchived Citations|Unarchived Citations]] category. | |||
; <code>title</code> | |||
: '''Optional'''. Title the web resource being cited. Displays in place of the URL, surrounded by quotations, if present. | |||
; <code>source</code> | |||
: '''Optional'''. Source of the web resource being cited. | |||
; <code>source</code> | |||
: '''Optional'''. Date the web resource was published, if it is known. | |||
[[Category:Templates]] | |||
[[Category:Citation Templates]] | |||
</noinclude> | |||
Revision as of 05:06, 14 April 2026
Description
Creates a citation of anything on the web, for use in references. Has several optional parameters for better citations.
Usage
<ref>{{Cite|url=|archive=|title=|source=|date=}}</ref>
Parameters
url- Required. URL of the web resource being cited.
archive- Optional. Archived URL of the web resource being cited. Lack of this adds the Unarchived Citations category.
title- Optional. Title the web resource being cited. Displays in place of the URL, surrounded by quotations, if present.
source- Optional. Source of the web resource being cited.
source- Optional. Date the web resource was published, if it is known.