Template:Cite web: Difference between revisions
Appearance
m Protected "Template:Cite web": restore old protection ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite)) |
m Protected "Template:Cite web" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly> | ||
| | {{#if:{{{title|}}}|'''{{{title}}}'''<br>}} | ||
}}</ | |||
{{ | {{#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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | Title of the web page | String | optional |
| URL | url | Link to the source | URL | optional |
| Website | website | Name of the website | String | optional |
| Publisher | publisher | Publisher or organization | String | optional |
| Date | date | Publication date | String | optional |
| Access date | access-date | Date the page was accessed | String | optional |