Template:Cite web: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly | <includeonly> | ||
''{{{title|}}}''{{#if:{{{author|}}}| | ''{{{title|}}}''{{#if:{{{author|}}}| – {{{author}}}}}{{#if:{{{publisher|}}}|, {{{publisher}}}}}{{#if:{{{date|}}}|, {{{date}}}}}—[{{{url}}} link]{{#if:{{{access-date|}}}| (accessed {{{access-date}}})}} | ||
</includeonly> | |||
<noinclude> | <noinclude> | ||
== Documentation == | == Documentation == | ||
A | A minimal citation template that outputs plain text. | ||
You must wrap it in `<ref>…</ref>` yourself. | |||
=== Parameters === | === Parameters === | ||
* '''title''' (required) – title of the | * '''title''' (required) – title of the web page or article | ||
* '''author''' – author name(s) | * '''author''' – author name(s), if any | ||
* ''' | * '''publisher''' – publisher or site name | ||
* '''date''' – publication date (YYYY-MM-DD) | |||
* ''' | |||
* '''url''' – URL of the resource | * '''url''' – URL of the resource | ||
* '''access-date''' – date you accessed it | * '''access-date''' – date you accessed it (YYYY-MM-DD) | ||
=== Usage === | === Usage === | ||
In your article, *do not* use backticks, `<pre>`, or code fences—just: | |||
Some fact here<ref>{{Cite web | |||
Some fact here {{Cite web | |title=Apple-1 Computer | ||
|author=Computer History Museum | |||
|publisher=Computer History Museum | |||
|date=2024-06-20 | |||
|url=https://www.computerhistory.org/revolution/computers/4/101/2127 | |||
|access-date=2024-06-20 | |||
}}</ref> | |||
}} | |||
…then, at the bottom **once**, include: | |||
<references/> | |||
</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: