Template:CiteWebsite: Difference between revisions

From Cassette Beasts
ExcaliburZero (talk | contribs)
Make date optional (ex. for articles that don't include a publish date)
Leilukin (talk | contribs)
Add webarchive paramater and example
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{{author}}}{{#if: {{{date|}}}|&nbsp;({{{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 21: Line 21:
| 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 = 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