Jump to content

Template:Cite web: Difference between revisions

From PhantomWiki
add template data
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": "Website citation",
     "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
}}

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Authorauthor

Author or organisation responsible for the webpage

Linesuggested
URLurl

Web address of the page

URLrequired
Page titletitle

Title of the webpage

Linerequired
Websitewebsite

Name of the website

Linesuggested
Publisherpublisher

Organisation that publishes the website

Lineoptional
Publication datedate

Date the webpage was published or updated

Dateoptional
Access dateaccess-date

Date the webpage was accessed

Datesuggested