Template:Cite web/doc
This template is used to cite sources. This template is based on Template:Cite web at Wikipedia.
Usage
- Common form for cases where little is known about authorship of the page (with current date)
{{cite web |url= |title= |accessdate=2024-11-15 |format= |work= }}
- Using last, first (with current date)
{{cite web |url= |title= |accessdate=2024-11-15 |last= |first= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= }}
- Using author (with current date)
{{cite web |url= |title= |accessdate=2024-11-15 |author= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= }}
- Using non-linked retrieved date, last, first
{{cite web |url= |title= |accessmonthday= |accessyear= |last= |first= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= }}
- Using non-linked retrieved date, author
{{cite web |url= |title= |accessmonthday= |accessyear= |author= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= }}
- All parameters
{{cite web | url = | title = | accessdate = | accessmonthday = | accessyear = | author = | last = | first = | authorlink = | coauthors = | date = | year = | month = | format = | work = | publisher = | pages = | language = | archiveurl = | archivedate = | quote = }}
Required parameters
- url: URL of online item.
- title: Title of online item.
For producing a wikilinked date of retrieval:
- accessdate: Full date when item was accessed, in ISO 8601 YYYY-MM-DD format, for example "accessdate = 2006-02-17". Must not be wikilinked
For producing a non-wikilinked date of retrieval:
- accessmonthday and accessyear: Month and day when item was accessed, for example "accessmonthday = May 10", and year when item was accessed, for example "accessyear = 2005".
- Parameter notes
- work: this is basically the name of the website where the article linked to is hosted.
TemplateData
<templatedata> { "params": { "last": { "label": "Last name", "description": "Surname of the author", "type": "line" }, "first": { "label": "First name", "description": "Given name of the author", "type": "line" }, "author": { "label": "Author", "description": "Name of the author; prefer the first name and last name parameters instead when possible", "type": "line", "suggested": true }, "author-link": { "label": "Author link", "description": "Title of article about the author on the wiki (if there is one)", "type": "wiki-page-name" }, "coauthors": { "label": "Co-authors", "description": "Co-authors of the cited source", "type": "line" }, "date": { "label": "Source date", "description": "Date the source was published", "type": "line", "suggested": true }, "title": { "label": "Title", "description": "Title of the cited page", "type": "line", "required": true }, "url": { "label": "URL", "description": "Online location of the text of the cited source", "type": "url", "required": true }, "archive-url": { "label": "Archive URL", "description": "Archived copy of the web page", "type": "url", "suggested": true }, "archive-date": { "label": "Archive date", "description": "Date the page was archived", "type": "line", "suggested": true }, "access-date": { "label": "Access date", "description": "Date the URL was accessed", "type": "line", "suggested": true }, "website": { "aliases": [ "work" ], "label": "Website", "description": "Title of the website; can be wikilinked", "type": "line", "suggested": true }, "publisher": { "label": "Publisher", "description": "Name of the publisher; not needed if same as the website", "type": "line" }, "pages": { "label": "Pages", "description": "Pages cited; not the number of pages in the source, only applicable for paged media", "type": "line" }, "language": { "label": "Language", "description": "Language in which the source is written, if not English", "type": "line" }, "format": { "label": "Format", "description": "Format of the source, if not HTML", "example": "PDF", "type": "line" }, "quote": { "label": "Quote", "description": "Relevant text quoted from the cited source, including terminating punctuation", "type": "string" } }, "description": "Cite a website", "format": "inline" } </templatedata>