Template:Cite web: Difference between revisions
m 1 revision imported |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{#if: {{{url|}}} and {{{title|}}}|<ref>{{#if: {{{author|}}}|{{{author}}}, }}{{#if: {{{author2|}}}|{{{author2}}}, }}{{#if: {{{author3|}}}|{{{author3}}}, }}{{#if: {{{date|}}}|({{{date}}}). }}"{{{title}}}" {{#if: {{{website|}}}|'''{{{website}}}'''. }}{{#if: {{{publisher|}}}|{{{publisher}}}. }}{{#if: {{{url|}}}|URL: [{{{url}}} {{{url}}}] }}{{#if: {{{access-date|}}}|(accessed {{{access-date}}}). }}{{#if: {{{page|}}}|p. {{{page}}}. }}{{#if: {{{quote|}}}|"{{{quote}}}" }}{{#if: {{{language|}}}|[{{{language}}}] }}</ref>|<span style="color:red">Error: Both title and url parameters are required.</span>}}</includeonly><noinclude> | ||
== Cite Web Template == | |||
}}</includeonly><noinclude> | This template creates standardized citations for web references. | ||
{{ | |||
=== Usage === | |||
<pre> | |||
{{cite web | |||
| title = <!-- Required --> | |||
| url = <!-- Required --> | |||
| author = <!-- Optional --> | |||
| author2 = <!-- Optional --> | |||
| author3 = <!-- Optional --> | |||
| date = <!-- Optional --> | |||
| website = <!-- Optional --> | |||
| publisher = <!-- Optional --> | |||
| access-date = <!-- Optional --> | |||
| archive-url = <!-- Optional --> | |||
| archive-date = <!-- Optional --> | |||
| quote = <!-- Optional --> | |||
| language = <!-- Optional --> | |||
| page = <!-- Optional --> | |||
| format = <!-- Optional --> | |||
}} | |||
</pre> | |||
=== Required Parameters === | |||
* '''title''': The title of the webpage being cited | |||
* '''url''': The URL of the webpage being cited | |||
All other parameters are optional. | |||
</noinclude> | </noinclude> |