(including backup available @ Archive.org in the regular "url" output; the "Archive=Y" will change the primary link, this second change will cover both bases) |
m (1 revision imported) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly>{{ | ||
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}} | #if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}} | ||
|| | ||You must specify '''''title = ''''' and '''''url = ''''' when using {{[[Template:cite web|cite web]]}}. | ||
{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}} | |||
}}{{ | }}{{ | ||
#if: {{{archiveurl|}}}{{{archivedate|}}} | #if: {{{archiveurl|}}}{{{archivedate|}}} | ||
| {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}} | | {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}} | ||
|| | ||You must specify '''''archiveurl = ''''' and '''''archivedate = ''''' when using {{[[Template:cite web|cite web]]}}. | ||
{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}} | |||
}} | }} | ||
}}{{#if: {{{author|}}}{{{last|}}} | }}{{#if: {{{author|}}}{{{last|}}} | ||
| {{#if: {{{authorlink|}}} | | {{#if: {{{authorlink|}}} | ||
| [[{{{authorlink}}}|{{#if: {{{last|}}} | | [[{{{authorlink}}}|{{#if: {{{last|}}} | ||
| {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }} | | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }} | ||
Line 31: | Line 33: | ||
|}} | |}} | ||
}}{{#if: {{{last|}}}{{{author|}}} | }}{{#if: {{{last|}}}{{{author|}}} | ||
| . }}{{#if: {{{ | | . }}{{ | ||
#if: {{{editor|}}} | |||
}}{{#if: {{{ | |  {{{editor}}}: | ||
}}"{{#if: {{{archiveurl|}}} | |||
| {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}} | |||
}} | | {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] }}}} | ||
{{#if: {{{ | }}"{{#if: {{{format|}}} |  ({{{format}}}) | ||
}} | }}{{#if:{{{language|}}} | ||
|  ({ | |  (in {{{language}}}) | ||
}}{{#if: {{{work|}}} | }}{{#if: {{{work|}}} | ||
|  ''{{{work}}}'' | | . ''{{{work}}}'' | ||
}}{{#if: {{{pages|}}} | }}{{#if: {{{pages|}}} | ||
|   | |  {{{pages}}} | ||
}}{{#if: {{{publisher|}}} | }}{{#if: {{{publisher|}}} | ||
|  {{{publisher}}}{{#if: {{{author|}}}{{{last|}}} | | .  {{#if: {{{location|}}} | ||
| | | {{{location}}}:  | ||
| {{#if: {{{date|}}}{{{year|}}}{{{month|}}} || | }} {{{publisher}}}{{#if: {{{author|}}}{{{last|}}} | ||
| | |||
| {{#if: {{{date|}}}{{{year|}}}{{{month|}}} || }} | |||
}} | }} | ||
}}{{#if: {{{author|}}}{{{last|}}} | }}{{#if: {{{author|}}}{{{last|}}} | ||
||{{#if: {{{date|}}} | ||{{#if: {{{date|}}} | ||
|  ({{{date}}}) | |  ({{{date}}}) | ||
| {{#if: {{{year|}}} | | {{#if: {{{year|}}} | ||
| {{#if: {{{month|}}} | | {{#if: {{{month|}}} | ||
|  ({{{month}}} {{{year}}}) | |  ({{{month}}} {{{year}}}) | ||
|  ({{{year}}}) | |  ({{{year}}}) | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||
}}{{#if: {{{archivedate|}}} | }}.{{#if: {{{archivedate|}}} | ||
|   | |  Archived from [{{{url}}} the original] on {{{archivedate}}}. | ||
}}{{#if: {{{doi|}}} | |||
|  [[Digital object identifier|doi]]:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}} {{{doi}}}]. | |||
}}{{#if: {{{accessdate|}}} | }}{{#if: {{{accessdate|}}} | ||
|  Retrieved on {{{accessdate}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}. | |  Retrieved on {{{accessdate}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}. | ||
}}{{#if: {{{accessmonthday|}}} | }}{{#if: {{{accessmonthday|}}} | ||
|  Retrieved on {{{accessmonthday}}}, {{{accessyear}}}. | |  Retrieved on {{{accessmonthday}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}. | ||
}}{{#if: {{{accessdaymonth|}}} | |||
|  Retrieved on {{{accessdaymonth}}}{{#if: {{{accessyear|}}} |  {{{accessyear}}} }}. | |||
}}{{#if: {{{quote|}}} | |||
| "{{{quote}}}" | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
==Usage== | |||
To use this template, place the following after the information you wish to reference: | |||
== Usage == | |||
<tt><nowiki>{{cite web | |||
|title= | |||
|url= | |||
|author= | |||
|coauthors= | |||
|editor= | |||
|pages= | |||
|publisher= | |||
|archivedate= | |||
|accessdate= | |||
|quote= | |||
}}</nowiki></tt> | |||
Fill in as many entries as possible. Do not worry if you do not understand or have information for some of the entries; at the very least, you should state the name of the site and the title of the article under "title=", copy the website url under "url=" and give the date you added the information under "accessdate=". Any other information is optional, but please add it if it is known. The information will then be converted into a reference in the article's "References" section. | |||
[[Category:Reference templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 01:16, 26 January 2021
Usage
To use this template, place the following after the information you wish to reference:
{{cite web |title= |url= |author= |coauthors= |editor= |pages= |publisher= |archivedate= |accessdate= |quote= }}
Fill in as many entries as possible. Do not worry if you do not understand or have information for some of the entries; at the very least, you should state the name of the site and the title of the article under "title=", copy the website url under "url=" and give the date you added the information under "accessdate=". Any other information is optional, but please add it if it is known. The information will then be converted into a reference in the article's "References" section.