Template:Cite web: Difference between revisions
Appearance
Created page with "<includeonly><ref><cite type="web" |url = {{{url|}}} |title = {{{title|}}} |last = {{{last|}}} |first = {{{first|}}} |author = {{{author|}}} |date = {{{date|}}} |website = {{{website|}}} |publisher = {{{publisher|}}} |access-date = {{{access-date|}}} |archive-url = {{{archive-url|}}} |archive-date= {{{archive-date|}}} |url-status = {{{url-status|}}} |doi = {{{doi|}}} /></cite></ref></includeonly> <noinclude> == Docume..." |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
''{{{title|}}}''{{#if:{{{author|}}}| – {{{author}}}}}{{#if:{{{publisher|}}}|, {{{publisher}}}}}{{#if:{{{date|}}}|, {{{date}}}}}—[{{{url}}} link]{{#if:{{{access-date|}}}| (accessed {{{access-date}}})}} | |||
</includeonly> | |||
| | |||
| | |||
| | |||
| | |||
<noinclude> | <noinclude> | ||
== Documentation == | == Documentation == | ||
A minimal citation template that outputs plain text. | |||
You must wrap it in `<ref>…</ref>` yourself. | |||
=== Parameters === | === Parameters === | ||
* '''title''' (required) – title of the web page or article | |||
* '''title''' (required) | * '''author''' – author name(s), if any | ||
* ''' | * '''publisher''' – publisher or site name | ||
* ''' | * '''date''' – publication date (YYYY-MM-DD) | ||
* '''date''' | * '''url''' – URL of the resource | ||
* ''' | * '''access-date''' – date you accessed it (YYYY-MM-DD) | ||
* '''access-date''' | |||
=== Usage === | === Usage === | ||
In your article, *do not* use backticks, `<pre>`, or code fences—just: | |||
< | Some fact here<ref>{{Cite web | ||
| | |title=Apple-1 Computer | ||
| | |author=Computer History Museum | ||
| | |publisher=Computer History Museum | ||
|date= | |date=2024-06-20 | ||
| | |url=https://www.computerhistory.org/revolution/computers/4/101/2127 | ||
|access-date=2024-06-20 | |||
|access-date= | }}</ref> | ||
}}</ | |||
…then, at the bottom **once**, include: | |||
<references/> | |||
</noinclude> | </noinclude> | ||
Latest revision as of 23:54, 15 May 2025
Documentation
[edit source]A minimal citation template that outputs plain text. You must wrap it in `[1]` yourself.
Parameters
[edit source]- title (required) – title of the web page or article
- author – author name(s), if any
- publisher – publisher or site name
- date – publication date (YYYY-MM-DD)
- url – URL of the resource
- access-date – date you accessed it (YYYY-MM-DD)
Usage
[edit source]In your article, *do not* use backticks, `
`, or code fences—just:
Some fact here[2]
…then, at the bottom **once**, include: