User:Derekblue1/sandbox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 2: Line 2:
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}}
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}}
   ||Error on call to [[Template:cite web]]: Parameters '''url''' and '''title''' must be specified
   ||Error on call to [[Template:cite web]]: Parameters '''url''' and '''title''' must be specified
}}{{
}}{{#if: {{{archiveurl|}}}{{{archivedate|}}}  
#if: {{{archiveurl|}}}{{{archivedate|}}}  
   | {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}}
   | {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}}
     ||Error on call to [[template:cite web]]: Parameters '''archiveurl''' and '''archivedate''' must be both specified or both omitted
     ||Error on call to [[template:cite web]]: Parameters '''archiveurl''' and '''archivedate''' must be both specified or both omitted
}}
}}
}}{{#if: {{{author|}}}{{{last|}}}
}}{{#if: {{{author|}}}
   | {{#if: {{{authorlink|}}}
   | {{{author}}}
    | {{{authorlink}}}|{{#if: {{{last|}}}
      | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
      | {{{author}}}
    }}
    | {{#if: {{{last|}}}
      | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
      | {{{author}}}
     }}
     }}
    |
   }}
   }}
}}{{#if: {{{author|}}}{{{last|}}}
}}{{#if: {{{author|}}}{{{last|}}}
   | {{#if: {{{coauthors|}}}| <nowiki>;</nowiki>&#32;{{{coauthors}}} }}
   | {{#if: {{{coauthors|}}}| <nowiki>;</nowiki>&#32;{{{coauthors}}} }}
}}{{#if: {{{author|}}}{{{last|}}}|
}}{{#if: {{{author|}}}{{{last|}}}|
     {{#if: {{{date|}}}
     {{#if: {{{date|}}}| &#32;({{{date}}}) |
    | &#32;({{{date}}})
    | {{#if: {{{year|}}}
      | {{#if: {{{month|}}}
        | &#32;({{{month}}} {{{year}}})
        | &#32;({{{year}}})
      }}
    }}
   |}}
   |}}
}}{{#if: {{{last|}}}{{{author|}}}
}}{{#if: {{{author|}}}
   | .&#32;}}{{#if: {{{archiveurl|}}}
   | .&#32;}}{{#if: {{{archiveurl|}}}
     | {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}}
     | {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}}
Line 45: Line 31:
     |  
     |  
     | {{#if: {{{date|}}}{{{year|}}}{{{month|}}} || }}
     | {{#if: {{{date|}}}{{{year|}}}{{{month|}}} || }}
  }}
}}{{#if: {{{author|}}}{{{last|}}}
  ||{{#if: {{{date|}}}
    | &#32;({{{date}}})
    | {{#if: {{{year|}}}
      | {{#if: {{{month|}}}
        | &#32;({{{month}}} {{{year}}})
        | &#32;({{{year}}})
      }}
    }}
   }}
   }}
}}.{{#if: {{{archivedate|}}}
}}.{{#if: {{{archivedate|}}}
   | &#32;Archived from [{{{url}}} the original] on {{{archivedate}}}.
   | &#32;Archived from [{{{url}}} the original] on {{{archivedate}}}.
}}{{#if: {{{accessdate|}}}
}}{{#if: {{{accessdate|}}}
   | &#32;Retrieved on {{{accessdate}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
   | &#32;Retrieved on {{{accessdate}}}.
}}{{#if: {{{accessmonthday|}}}
}}{{#if: {{{accessmonthday|}}}
   | &#32;Retrieved on {{{accessmonthday}}}, {{{accessyear}}}.
   | &#32;Retrieved on {{{accessmonthday}}}, {{{accessyear}}}.
Line 79: Line 55:
|&#124;accessdate=
|&#124;accessdate=
| Date when the item was accessed, in ISO 8601 YYYY-MM-DD format, for example "accessdate = {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}". Must not be wikilinked
| Date when the item was accessed, in ISO 8601 YYYY-MM-DD format, for example "accessdate = {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}". Must not be wikilinked
|-
|&#124;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".
|-
|&#124;accessyear=
|-
|-
|&#124;author=
|&#124;author=
Line 102: Line 73:
|&#124;date=
|&#124;date=
| Date when URL published.
| Date when URL published.
|-
|&#124;year=
| Year when URL published. Do not use this string if &#124;date= is in place.
|-
|&#124;month=
| Month when URL published. Do not use this string if &#124;date= is in place.
|-
|-
|&#124;format=
|&#124;format=

Revision as of 21:51, 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 = 2024-06-24". Must not be wikilinked
|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.
|format= Format of work referred to by URL. pdf, doc, xls; html
|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 = 
| 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=2024-06-24 |format= |work= }}

Using author (with current date)

{{cite web |url= |title= |accessdate=2024-06-24 |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= }}