Template:Cite web: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>< | <includeonly><ref> | ||
''{{{title|}}}''{{#if:{{{author|}}}| — {{{author}}}}}{{#if:{{{date|}}}|, {{{date}}}}}{{#if:{{{website|}}}|, {{{website}}}}}{{#if:{{{publisher|}}}|, {{{publisher}}}}}{{#if:{{{url|}}}|, [{{{url}}} link]}}}{{#if:{{{access-date|}}}| (accessed {{{access-date}}})}}} | |||
</ref></includeonly> | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
<noinclude> | <noinclude> | ||
== Documentation == | == Documentation == | ||
A simple, self‐contained citation template that requires *no* Lua or special extensions. | |||
=== Parameters === | |||
* '''title''' (required) – title of the work | |||
* '''author''' – author name(s) | |||
* '''date''' – publication date | |||
* '''website''' – website or source name | |||
* '''publisher''' – publisher or organization | |||
* '''url''' – URL of the resource | |||
* '''access-date''' – date you accessed it | |||
=== Usage === | |||
Insert in your article *without* any backticks or `<pre>`: | |||
```wikitext | |||
Some fact here {{Cite web | |||
|title=Apple-1 Computer | |||
|author=Computer History Museum | |||
|date=2024-06-20 | |||
|website=computerhistory.org | |||
|url=https://www.computerhistory.org/revolution/computers/4/101/2127 | |||
|access-date=2024-06-20 | |||
}} | |||