Template:Cite web: Difference between revisions
Appearance
PhantomSteve (talk | contribs) add template data |
PhantomSteve (talk | contribs) update |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{author|}}}|{{{author}}}. |}}{{#if:{{{url|}}}|[{{{url}}} “{{{title|Untitled webpage}}}”]|“{{{title|Untitled webpage}}}”}}{{#if:{{{website|}}}|. ''{{{website}}}''|}}{{#if:{{{publisher|}}}|. {{{publisher}}}|}}{{#if:{{{date|}}}|. {{{date}}}|}}{{#if:{{{access-date|}}}|. Retrieved {{{access-date}}}|}}.</includeonly> | <includeonly>{{#if:{{{author|}}}|{{{author}}}. |}}{{#if:{{{url|}}}|[{{{url}}} “{{{title|Untitled webpage}}}”]|“{{{title|Untitled webpage}}}”}}{{#if:{{{website|}}}|. ''{{{website}}}''|}}{{#if:{{{publisher|}}}|. {{{publisher}}}|}}{{#if:{{{date|}}}|. {{{date}}}|}}{{#if:{{{access-date|}}}|. Retrieved {{{access-date}}}|}}.</includeonly> | ||
<noinclude> | <noinclude> | ||
This template formats a citation for a webpage or other online source. | |||
== Usage == | |||
<pre> | |||
{{Cite web | |||
|author=Isle of Man Post Office | |||
|url=https://example.com/stamps/new-issue | |||
|title=New Commemorative Stamp Issue | |||
|website=Isle of Man Post Office | |||
|publisher=Isle of Man Post Office | |||
|date=15 September 2026 | |||
|access-date=16 September 2026 | |||
}} | |||
</pre> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": " | "description": "", | ||
"params": { | "params": { | ||
"author": { | "author": { | ||
Revision as of 21:45, 16 September 2026
This template formats a citation for a webpage or other online source.
Usage
{{Cite web
|author=Isle of Man Post Office
|url=https://example.com/stamps/new-issue
|title=New Commemorative Stamp Issue
|website=Isle of Man Post Office
|publisher=Isle of Man Post Office
|date=15 September 2026
|access-date=16 September 2026
}}
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Author | author | Author or organisation responsible for the webpage | Line | suggested |
| URL | url | Web address of the page | URL | required |
| Page title | title | Title of the webpage | Line | required |
| Website | website | Name of the website | Line | suggested |
| Publisher | publisher | Organisation that publishes the website | Line | optional |
| Publication date | date | Date the webpage was published or updated | Date | optional |
| Access date | access-date | Date the webpage was accessed | Date | suggested |