Jump to content

Template:Cite web

Preview

Wikitext Output
{{cite web |url=https://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |publisher=Open Publishing |date=30 April 2005 |website=Encyclopedia of Things |access-date=20 October 2026}} Doe, John (30 April 2005). "My Favorite Things, Part II". Encyclopedia of Things. Open Publishing. Retrieved 20 October 2026.
{{cite web |url=https://www.example.org/ |title=My Favorite Things, Part II |access-date=2026-10-20}} "My Favorite Things, Part II". Retrieved 2026-10-20.
{{cite web |url=https://www.example.org/old |title=Example Report |website=Example News |location=Jaipur |publisher=Example Media |date=5 March 2024 |url-status=dead |archive-url=https://web.archive.org/web/2024/https://www.example.org/old |archive-date=6 March 2024 |access-date=20 October 2026}} "Example Report". Example News. Jaipur
Example Media. 5 March 2024. Archived from the original on 6 March 2024. Retrieved 20 October 2026.
{{cite web |last1=Sharma |first1=Priya |last2=Verma |first2=Amit |url=https://www.example.org/hi |title=उदाहरण शीर्षक |trans-title=Example title |language=Hindi |website=Example Hindi |date=1 January 2025 |access-date=20 October 2026 |quote=Example quote.}} Sharma, Priya
Verma, Amit (1 January 2025). "उदाहरण शीर्षक" [Example title] (in Hindi). Example Hindi. Retrieved 20 October 2026. "Example quote."

A lightweight Citation Style 1 (CS1) look-alike for web sources. Works without Lua/Scribunto; needs only the ParserFunctions extension. Empty parameters are skipped automatically.

Supported parameters: last/first (up to 3 authors, with author-link), collaboration, date, year, orig-date, editors (2), title, script-title, trans-title, title-link, url, url-access, format, type, language, department, website/work, trans-website, series, edition, others, location, publisher, agency, page/pages/at, no-pp, minutes, time, isbn, issn, doi, oclc, pmid, jstor, arxiv, id, url-status, archive-url, archive-date, access-date, via, quote, trans-quote, quote-page, ref, postscript. Other CS1 parameters are accepted but ignored.

TemplateData

Formats a citation to a web source in Citation Style 1 format.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Last namelast last1 author author1

Surname of the author. Don't wikilink; use author-link.

Linesuggested
First namefirst first1

Given name(s) of the author.

Linesuggested
Author linkauthor-link author-link1 authorlink

Title of a wiki article about the author.

Page nameoptional
Last name 2last2 author2

Surname of the second author.

Lineoptional
First name 2first2

no description

Lineoptional
Author link 2author-link2

no description

Page nameoptional
Last name 3last3 author3

Surname of the third author.

Lineoptional
First name 3first3

no description

Lineoptional
Author link 3author-link3

no description

Page nameoptional
Collaborationcollaboration

Group of authors or collaborators.

Lineoptional
Datedate

Date of publication, e.g. 30 April 2005.

Datesuggested
Yearyear

Year of publication; use only if date is not given.

Lineoptional
Publication datepublication-date

Used if date and year are empty.

Dateoptional
Original dateorig-date orig-year

Original publication date, shown in brackets.

Lineoptional
Editor last nameeditor-last1 editor-last editor1-last editor

no description

Lineoptional
Editor first nameeditor-first1 editor-first editor1-first

no description

Lineoptional
Editor linkeditor-link1 editor-link

no description

Page nameoptional
Editor 2 last nameeditor-last2 editor2-last

no description

Lineoptional
Editor 2 first nameeditor-first2 editor2-first

no description

Lineoptional
Titletitle

Title of the web page. Required.

Stringrequired
Script titlescript-title

Title in original non-Latin script; used if title is empty.

Stringoptional
Translated titletrans-title

English translation of the title.

Stringoptional
Title linktitle-link

Wiki article about the work. Do not use with url.

Page nameoptional
URLurl URL

Full URL of the web page. Required.

URLrequired
URL accessurl-access

subscription, registration or limited

Lineoptional
Formatformat

File format, e.g. PDF.

Lineoptional
Typetype

Type of source, e.g. Press release.

Lineoptional
Languagelanguage

Language of the source, e.g. Hindi.

Lineoptional
Departmentdepartment

Section or department of the website.

Lineoptional
Websitewebsite work

Name of the website or publication, shown in italics.

Stringsuggested
Translated website nametrans-website

no description

Lineoptional
Seriesseries

no description

Lineoptional
Editionedition

e.g. 2nd

Lineoptional
Othersothers

Other contributors, e.g. Illustrated by X.

Stringoptional
Locationlocation place publication-place

Place of publication.

Lineoptional
Publisherpublisher

Name of the publisher or company.

Stringsuggested
Agencyagency

News agency that wrote the content, e.g. IANS, PTI.

Lineoptional
Pagepage

Single page number.

Lineoptional
Pagespages

Page range, e.g. 12–15.

Lineoptional
Atat

Position in the source when page numbers are unsuitable.

Lineoptional
No p./pp.no-pp

Set to yes to hide p. or pp.

Booleanoptional
Minutesminutes

Time in minutes for audio/video.

Lineoptional
Timetime

Time stamp in audio/video.

Lineoptional
Time captiontime-caption

Text before the time; default 'Event occurs at'.

Lineoptional
ISBNisbn ISBN

no description

Lineoptional
ISSNissn ISSN

no description

Lineoptional
DOIdoi DOI

no description

Lineoptional
OCLCoclc

no description

Lineoptional
PMIDpmid

no description

Lineoptional
JSTORjstor

no description

Lineoptional
arXivarxiv

no description

Lineoptional
IDid

Any other identifier.

Stringoptional
URL statusurl-status

live (default), dead, unfit or usurped. Needs archive-url.

Lineoptional
Archive URLarchive-url archiveurl

URL of an archived copy, e.g. Wayback Machine.

URLsuggested
Archive datearchive-date archivedate

Date the archive copy was made.

Datesuggested
Access dateaccess-date accessdate

Date you last checked the page, e.g. 20 October 2026.

Datesuggested
Viavia

Content deliverer if different from publisher, e.g. Google Books.

Lineoptional
Quotequote

Relevant text quoted from the source.

Stringoptional
Translated quotetrans-quote

no description

Stringoptional
Quote pagequote-page

no description

Lineoptional
Quote pagesquote-pages

no description

Lineoptional
Refref

Anchor ID for the citation.

Lineoptional
Postscriptpostscript

Closing punctuation; 'none' for no punctuation. Default '.'

Lineoptional

Usage

Horizontal format

Credited author

{{cite web |last= |first= |date= |title= |url= |website= |location= |publisher= |access-date=}}

No credited author

{{cite web |author=<!-- not stated --> |date= |title= |url= |website= |location= |publisher= |access-date=}}

Archived page

{{cite web |last= |first= |date= |title= |url= |website= |location= |publisher= |url-status= |archive-url= |archive-date= |access-date=}}

Foreign-language page

{{cite web |last= |first= |date= |title= |url= |trans-title= |website= |language= |location= |publisher= |access-date=}}

Vertical format

{{cite web
|last         =
|first        =
|date         =
|title        =
|url          =
|trans-title  =
|website      =
|language     =
|location     =
|publisher    =
|url-status   =
|archive-url  =
|archive-date =
|access-date  =
|via          =
|quote        =
}}

url-status values

  • live (default): title links to the original URL; "Archived" links to the archive.
  • dead: title links to the archive; "the original" links to the dead URL.
  • unfit / usurped: title links to the archive; the original URL is not linked.