Difference between revisions of "Template:CiteWebsite"

From Cassette Beasts
(Make title optional (ex. for Tweets))
(Add webarchive paramater and example)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{{author}}} ({{{date}}}). {{#if: {{{title|}}}|"{{{title}}}". |}}{{{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 15: Line 15:
 
| 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
 +
| author = Dolly Stolze
 +
| website = Atlas Obscura
 +
| accessed = June 12, 2023
 +
| link = https://www.atlasobscura.com/articles/archaeology-folklore-and-the-skeletal-remains-of-a-hellhound
 +
}}
 +
* {{CiteWebsite
 +
| title = The Skeletal Remains of a Hellhound in the Folklore of Devil Dogs
 +
| website = Atlas Obscura
 +
| accessed = June 12, 2023
 +
| 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