Template:Cite: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
experimental support for non-link values |
||
| Line 2: | Line 2: | ||
[{{{url}}} {{#if:{{{title|}}}|"{{{title}}}"|{{{url}}}}}] | [{{{url}}} {{#if:{{{title|}}}|"{{{title}}}"|{{{url}}}}}] | ||
{{#if:{{{source|}}}| – {{{source}}}{{#if:{{{date|}}}|, {{{date}}}}}.}} | {{#if:{{{source|}}}| – {{{source}}}{{#if:{{{date|}}}|, {{{date}}}}}.}} | ||
{{#if:{{{archive|}}}| <small>[{{{archive}}} (Archived)]</small>|[[Category:Pages with unarchived citations]]}} | {{#if:{{{archive|}}}| <small>{{#ifexpr: strpos({{{archive}}}, 'http') = 0|[{{{archive}}} (Archived)]|(Archived)}}</small>|[[Category:Pages with unarchived citations]]}} | ||
}}<noinclude> | }}<noinclude> | ||
Creates a citation of anything on the web, for use in references. Has several optional parameters for better citations. | Creates a citation of anything on the web, for use in references. Has several optional parameters for better citations. | ||
Revision as of 06:30, 14 April 2026
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 Pages with 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.
date- Optional. Date the web resource was published, if it is known.