User:Derekblue1/sandbox: Difference between revisions
Derekblue1 (talk | contribs) (Cleared sandbox) Tag: Replaced |
Derekblue1 (talk | contribs) (New template.) |
||
Line 1: | Line 1: | ||
<!-- Nothing here right now! --> | <!-- Nothing here right now! --> | ||
<includeonly>{{ | |||
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}} | |||
||Error on call to [[Template:cite web]]: Parameters '''url''' and '''title''' must be specified | |||
}}{{ | |||
#if: {{{archiveurl|}}}{{{archivedate|}}} | |||
| {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}} | |||
||Error on call to [[template:cite web]]: Parameters '''archiveurl''' and '''archivedate''' must be both specified or both omitted | |||
}} | |||
}}{{#if: {{{author|}}}{{{last|}}} | |||
| {{#if: {{{authorlink|}}} | |||
| {{{authorlink}}}|{{#if: {{{last|}}} | |||
| {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }} | |||
| {{{author}}} | |||
}} | |||
| {{#if: {{{last|}}} | |||
| {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }} | |||
| {{{author}}} | |||
}} | |||
}} | |||
}}{{#if: {{{author|}}}{{{last|}}} | |||
| {{#if: {{{coauthors|}}}| <nowiki>;</nowiki> {{{coauthors}}} }} | |||
}}{{#if: {{{author|}}}{{{last|}}}| | |||
{{#if: {{{date|}}} | |||
|  ({{{date}}}) | |||
| {{#if: {{{year|}}} | |||
| {{#if: {{{month|}}} | |||
|  ({{{month}}} {{{year}}}) | |||
|  ({{{year}}}) | |||
}} | |||
}} | |||
|}} | |||
}}{{#if: {{{last|}}}{{{author|}}} | |||
| . }}{{#if: {{{archiveurl|}}} | |||
| {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}} | |||
| {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] }}}} | |||
}}{{#if: {{{language|}}} |  <span style="font-size: 0.95em; font-weight: bold; color:#555; position: relative;">({{{language}}})</span> | |||
}}{{#if: {{{format|}}} | |||
|  ({{{format|}}}) | |||
}}{{#if: {{{work|}}} | |||
| . ''{{{work}}}'' | |||
}}{{#if: {{{pages|}}} | |||
|  pp. {{{pages}}} | |||
}}{{#if: {{{publisher|}}} | |||
| . {{{publisher}}}{{#if: {{{author|}}}{{{last|}}} | |||
| | |||
| {{#if: {{{date|}}}{{{year|}}}{{{month|}}} || }} | |||
}} | |||
}}{{#if: {{{author|}}}{{{last|}}} | |||
||{{#if: {{{date|}}} | |||
|  ({{{date}}}) | |||
| {{#if: {{{year|}}} | |||
| {{#if: {{{month|}}} | |||
|  ({{{month}}} {{{year}}}) | |||
|  ({{{year}}}) | |||
}} | |||
}} | |||
}} | |||
}}.{{#if: {{{archivedate|}}} | |||
|  Archived from [{{{url}}} the original] on {{{archivedate}}}. | |||
}}{{#if: {{{accessdate|}}} | |||
|  Retrieved on {{{accessdate}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}. | |||
}}{{#if: {{{accessmonthday|}}} | |||
|  Retrieved on {{{accessmonthday}}}, {{{accessyear}}}. | |||
}}{{#if: {{{quote|}}} | |||
| “{{{quote}}}” | |||
}}</includeonly><noinclude> | |||
== Using == | |||
{|border=1 style="border-collapse:collapse;width:50%;float:right;margin:0 0 1em 1em" cellpadding=3 | |||
!colspan=2 style="background-color:#ccddfa"|Syntax | |||
|- | |||
||url= | |||
| URL of online item. | |||
|- | |||
||title= | |||
| Title of online item. | |||
|- | |||
||accessdate= | |||
| Date when the item was accessed, in ISO 8601 YYYY-MM-DD format, for example "accessdate = {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}". Must not be wikilinked | |||
|- | |||
||accessmonthday= | |||
|rowspan=2| For producing a non-wikilinkd date of retrieval: Month and day when item was accessed, for example "accessmonthday = May 10", <u>and</u> year when item was accessed, for example "accessyear = 2005". | |||
|- | |||
||accessyear= | |||
|- | |||
||author= | |||
| Author of the URL. | |||
|- | |||
||last= | |||
| Last name of the author. Do not use this string if |author= is in place. | |||
|- | |||
||first= | |||
| First name of the author. Do not use this string if |author= is in place. | |||
|- | |||
||authorlink= | |||
| Link to the author. Use this string if |author= is in place. | |||
|- | |||
||coauthors= | |||
| Other authors of the URL. | |||
|- | |||
||date= | |||
| Date when URL published. | |||
|- | |||
||year= | |||
| Year when URL published. Do not use this string if |date= is in place. | |||
|- | |||
||month= | |||
| Month when URL published. Do not use this string if |date= is in place. | |||
|- | |||
||format= | |||
| Format of work referred to by URL. pdf, doc, xls; <s>html</s> | |||
|- | |||
||work= | |||
| Title of the website. Can also be wikilinked. | |||
|- | |||
||publisher= | |||
| Name of the publisher; can be linked. | |||
|- | |||
||pages= | |||
| Pages in the source that support the content | |||
|- | |||
||language= | |||
| Language of the website if not English. | |||
|- | |||
||archiveurl= | |||
| The URL of archived copy of web page | |||
|- | |||
||archivedate= | |||
| Date when original URL was archived | |||
|- | |||
||quote= | |||
| Quote of a specific text. | |||
|} | |||
<pre>{{cite web | |||
| url = | |||
| title = | |||
| accessdate = | |||
| accessmonthday = | |||
| accessyear = | |||
| author = | |||
| last = | |||
| first = | |||
| authorlink = | |||
| coauthors = | |||
| date = | |||
| year = | |||
| month = | |||
| format = | |||
| work = | |||
| publisher = | |||
| pages = | |||
| language = | |||
| archiveurl = | |||
| archivedate = | |||
| quote = | |||
}}</pre> | |||
{{br}} | |||
;Common form for cases where none is known about authorship of the page (with current date) | |||
<tt><nowiki>{{cite web |url= |title= |accessdate=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki> |format= |work= }}</nowiki></tt> | |||
;Using last, first (with current date) | |||
<tt><nowiki>{{cite web |url= |title= |accessdate=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki> |last= |first= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= }}</nowiki></tt> | |||
;Using author (with current date) | |||
<tt><nowiki>{{cite web |url= |title= |accessdate=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki> |author= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= }}</nowiki></tt> | |||
;Using non-wikilinked retrieved date, last, first | |||
<tt><nowiki>{{cite web |url= |title= |accessmonthday= |accessyear= |last= |first= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= }}</nowiki></tt> | |||
;Using non-wikilinked retrieved date, author | |||
<tt><nowiki>{{cite web |url= |title= |accessmonthday= |accessyear= |author= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= }}</nowiki></tt> | |||
</noinclude> |
Revision as of 10:31, December 13, 2023
Using
Syntax | |
---|---|
|url= | URL of online item. |
|title= | Title of online item. |
|accessdate= | Date when the item was accessed, in ISO 8601 YYYY-MM-DD format, for example "accessdate = 2025-04-17". Must not be wikilinked |
|accessmonthday= | For producing a non-wikilinkd date of retrieval: Month and day when item was accessed, for example "accessmonthday = May 10", and year when item was accessed, for example "accessyear = 2005". |
|accessyear= | |
|author= | Author of the URL. |
|last= | Last name of the author. Do not use this string if |author= is in place. |
|first= | First name of the author. Do not use this string if |author= is in place. |
|authorlink= | Link to the author. Use this string if |author= is in place. |
|coauthors= | Other authors of the URL. |
|date= | Date when URL published. |
|year= | Year when URL published. Do not use this string if |date= is in place. |
|month= | Month when URL published. Do not use this string if |date= is in place. |
|format= | Format of work referred to by URL. pdf, doc, xls; |
|work= | Title of the website. Can also be wikilinked. |
|publisher= | Name of the publisher; can be linked. |
|pages= | Pages in the source that support the content |
|language= | Language of the website if not English. |
|archiveurl= | The URL of archived copy of web page |
|archivedate= | Date when original URL was archived |
|quote= | Quote of a specific text. |
{{cite web | url = | title = | accessdate = | accessmonthday = | accessyear = | author = | last = | first = | authorlink = | coauthors = | date = | year = | month = | format = | work = | publisher = | pages = | language = | archiveurl = | archivedate = | quote = }}
- Common form for cases where none is known about authorship of the page (with current date)
{{cite web |url= |title= |accessdate=2025-04-17 |format= |work= }}
- Using last, first (with current date)
{{cite web |url= |title= |accessdate=2025-04-17 |last= |first= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= }}
- Using author (with current date)
{{cite web |url= |title= |accessdate=2025-04-17 |author= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= }}
- Using non-wikilinked retrieved date, last, first
{{cite web |url= |title= |accessmonthday= |accessyear= |last= |first= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= }}
- Using non-wikilinked retrieved date, author
{{cite web |url= |title= |accessmonthday= |accessyear= |author= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= |quote= }}