Jump to content

Template:Cite web: Difference between revisions

From Delaware Wrestling History
Replaced content with "<includeonly>{{#invoke:citation/CS1|citation |CitationClass=web }}</includeonly><noinclude> {{documentation}} </noinclude>"
Tags: Replaced Manual revert
m Protected "Template:Cite web" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:citation/CS1|citation
<includeonly>
|CitationClass=web
{{#if:{{{title|}}}|'''{{{title}}}'''<br>}}
}}</includeonly><noinclude>
 
{{documentation}}
{{#if:{{{url|}}}|[{{{url}}} {{{url}}}]<br>}}
 
{{#if:{{{website|}}}|''{{{website}}}''<br>}}
 
{{#if:{{{publisher|}}}|{{{publisher}}}<br>}}
 
{{#if:{{{date|}}}|{{{date}}}<br>}}
 
{{#if:{{{access-date|}}}|Retrieved {{{access-date}}}}}
</includeonly>
 
<noinclude>
 
== Documentation ==
Simple citation template for web sources. No Lua or CS1 dependencies.
 
=== Usage ===
<pre>
{{Cite web
|title=
|url=
|website=
|publisher=
|date=
|access-date=
}}
</pre>
 
=== TemplateData ===
<templatedata>
{
  "description": "Simple web citation template. Select Options to the left.",
  "params": {
    "title": {
      "label": "Title",
      "type": "string",
      "description": "Title of the web page"
    },
    "url": {
      "label": "URL",
      "type": "url",
      "description": "Link to the source"
    },
    "website": {
      "label": "Website",
      "type": "string",
      "description": "Name of the website"
    },
    "publisher": {
      "label": "Publisher",
      "type": "string",
      "description": "Publisher or organization"
    },
    "date": {
      "label": "Date",
      "type": "string",
      "description": "Publication date"
    },
    "access-date": {
      "label": "Access date",
      "type": "string",
      "description": "Date the page was accessed"
    }
  }
}
</templatedata>
 
</noinclude>
</noinclude>

Latest revision as of 11:38, 19 April 2026



Documentation

Simple citation template for web sources. No Lua or CS1 dependencies.

Usage

{{Cite web
|title=
|url=
|website=
|publisher=
|date=
|access-date=
}}

TemplateData

Simple web citation template. Select Options to the left.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Titletitle

Title of the web page

Stringoptional
URLurl

Link to the source

URLoptional
Websitewebsite

Name of the website

Stringoptional
Publisherpublisher

Publisher or organization

Stringoptional
Datedate

Publication date

Stringoptional
Access dateaccess-date

Date the page was accessed

Stringoptional