Difference between revisions of "Template:CiteWebsite"

From Cassette Beasts
(Make author optional (ex. for dictionary entries that do not list any author))
(Add webarchive paramater and example)
 
Line 1: Line 1:
{{#if: {{{author|}}}|{{{author}}}{{#if: {{{date|}}}|&nbsp;({{{date}}})|}}.&nbsp;|}}{{#if: {{{title|}}}|"{{{title}}}".&nbsp;|}}{{{website}}}. {{{link}}}. Retrieved {{{accessed}}}.<noinclude>
+
{{#if: {{{author|}}}|{{{author}}}{{#if: {{{date|}}}|&nbsp;({{{date}}})|}}.&nbsp;|}}{{#if: {{{title|}}}|"{{{title}}}".&nbsp;|}}{{{website}}}. {{{link}}}. Retrieved {{{accessed}}}. {{#if: {{{webarchive|}}}|([{{{webarchive}}} Web archive link])}}<noinclude>
 
== Examples ==
 
== Examples ==
 
* {{CiteWebsite
 
* {{CiteWebsite
Line 27: Line 27:
 
| accessed = June 12, 2023
 
| accessed = June 12, 2023
 
| link = https://www.atlasobscura.com/articles/archaeology-folklore-and-the-skeletal-remains-of-a-hellhound
 
| link = https://www.atlasobscura.com/articles/archaeology-folklore-and-the-skeletal-remains-of-a-hellhound
 +
}}
 +
* {{CiteWebsite
 +
| title = Traffikrab
 +
| website = The Yetee
 +
| accessed = February 25, 2024
 +
| link = https://theyetee.com/collections/agdq/products/traffikrab
 +
| webarchive = https://web.archive.org/web/20240122005212/https://theyetee.com/collections/agdq/products/traffikrab
 
}}
 
}}
  
 
[[Category:Citation templates]]
 
[[Category:Citation templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 07:18, 25 February 2024

{{{website}}}. {{{link}}}. Retrieved {{{accessed}}}.

Examples