Jump to content

Template:Cite web: Difference between revisions

From Encyclopedia Folklorica
Eashcroft (talk | contribs)
No edit summary
Eashcroft (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{#if:{{{last|}}}{{{first|}}}|{{{last|}}}{{#if:{{{last|}}}|{{#if:{{{first|}}}|, }}}}{{{first|}}}. }}"{{{title|No title}}}." ''{{{website|}}}''{{#if:{{{publisher|}}}|. {{{publisher}}}}}{{#if:{{{date|}}}|, {{{date}}}}}.{{#if:{{{url|}}}| [{{{url}}} Full text].}}{{#if:{{{access-date|}}}| Retrieved {{{access-date}}}.}}</includeonly>
{{{last|}}}{{#if:{{{first|}}}|, {{{first}}}}.
''[{{{url|}}} {{{title|No title}}}]''.
{{{website|}}}{{#if:{{{publisher|}}}|. {{{publisher}}}}}{{#if:{{{date|}}}|. {{{date}}}}}{{#if:{{{access-date|}}}|. Retrieved {{{access-date}}}}}.
</includeonly>
 
<noinclude>
<noinclude>
== Template:Cite web ==
Formats a citation for a web page.
== Usage ==
== Usage ==
<pre>
<pre>
{{cite web
<ref>{{Cite web
  |url=
  |last=
|first=
  |title=
  |title=
  |website=
  |website=
  |publisher=
  |publisher=
|last=
|first=
  |date=
  |date=
|url=
  |access-date=
  |access-date=
}}
}}</ref>
</pre>
== Parameters ==
{| class="wikitable"
! Parameter
! Required
! Description
|-
| last
| No
| Author's last name.
|-
| first
| No
| Author's first name.
|-
| title
| Yes
| Title of the page. Defaults to "No title" if omitted.
|-
| website
| Yes
| Name of the website.
|-
| publisher
| No
| Publisher, if different from the website name.
|-
| date
| No
| Publication date.
|-
| url
| No
| Link to the page.
|-
| access-date
| No
| Date the page was accessed.
|}
== Example ==
<pre>
<ref>{{Cite web
|last=Smith
|first=Jane
|title=Great Fire of London Records Digitised
|website=London Archives Blog
|publisher=The London Archives
|date=15 June 2023
|url=https://www.thelondonarchives.org/blog/great-fire-records
|access-date=2 July 2026
}}</ref>
</pre>
</pre>
Produces:
Smith, Jane. "Great Fire of London Records Digitised." ''London Archives Blog''. The London Archives, 15 June 2023. Full text. Retrieved 2 July 2026.
[[Category:Citation templates]]
</noinclude>
</noinclude>

Latest revision as of 15:18, 2 July 2026


Template:Cite web

Formats a citation for a web page.

Usage

<ref>{{Cite web
 |last=
 |first=
 |title=
 |website=
 |publisher=
 |date=
 |url=
 |access-date=
}}</ref>

Parameters

Parameter Required Description
last No Author's last name.
first No Author's first name.
title Yes Title of the page. Defaults to "No title" if omitted.
website Yes Name of the website.
publisher No Publisher, if different from the website name.
date No Publication date.
url No Link to the page.
access-date No Date the page was accessed.

Example

<ref>{{Cite web
 |last=Smith
 |first=Jane
 |title=Great Fire of London Records Digitised
 |website=London Archives Blog
 |publisher=The London Archives
 |date=15 June 2023
 |url=https://www.thelondonarchives.org/blog/great-fire-records
 |access-date=2 July 2026
}}</ref>

Produces: Smith, Jane. "Great Fire of London Records Digitised." London Archives Blog. The London Archives, 15 June 2023. Full text. Retrieved 2 July 2026.