Template:Cite web: Difference between revisions

From aepages
Jump to navigation Jump to search
(test 2)
Tag: Reverted
(redid it, a bit more loose from MLA standard, might break some stuff)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if:{{{author|}}}|{{{author}}}.&nbsp;}}{{#if:{{{title|}}}|"{{{title}}}".&nbsp;}}{{#if:{{{website|}}}|''{{{website}}}'',&nbsp;}}{{#if:{{{date|}}}|{{{date}}},&nbsp;}}{{#if:{{{link|}}}|{{{link}}}.}}{{#if:{{{accessdate|}}}|&nbsp;Accessed {{{accessdate}}}.}}<noinclude><templatedata>{
{{#if:{{{author|}}}|{{{author}}}.&nbsp;}}{{#if:{{{title|}}}|"{{{title}}}".&nbsp;}}{{#if:{{{website|}}}|''{{{website}}}'',&nbsp;}}{{#if:{{{date|}}}|{{{date}}},&nbsp;}}{{#if:{{{link|}}}|{{{link}}}.&nbsp;}}{{#ifeq:{{{status|alive}}}|dead|Archived from [{{{linkoriginal|}}} the original] {{#if:{{{accessdate|}}}|on {{{accessdate}}}}}.|{{#if:{{{accessdate|}}}|Accessed {{{accessdate}}}.}}}}
  "description": "insert description here",
<noinclude>
  "params": {
 
    "first parameter": {
Cite a website to use as a reference.  
      "label": "x",
      "description": "x",
      "type": "string",
      "suggested": true,
      "autovalue": "derived automatic value",
      "default": "default value",
      "required": false
    }
  }
}</templatedata>
Cite a website to use as a reference. Uses MLA formatting.


Possible parameters are:
Possible parameters are:
Line 23: Line 12:
|-
|-
|author
|author
|Author of the source (last, first)
|Author of the source (last, first).
|<code>Ruud, Knut Andreas</code>
|<code>Ruud, Knut Andreas</code>
|-
|-
|title
|title
|Title of the source
|Title of the source.
|<code>The _alt.music.autechre_ FAQ (Frequently Asked Questions) version 1.15</code>
|<code>The _alt.music.autechre_ FAQ (Frequently Asked Questions) version 1.15</code>
|-
|-
|website
|website
|Name of the website on which the source is held
|Name of the website on which the source is held.
|<code>LonelyMachines</code>
|<code>LonelyMachines</code>
|-
|-
|date
|date
|Date when the source was published
|Date when the source was published.
|<code>December 2000</code>
|<code>December 2000</code>
|-
|-
|link
|link
|URL where the source can be accessed
|URL where the source can be accessed. If link is dead, use the archival link and put the original link under 'linkoriginal'.
|<code>https://lonelymachines.org/the-autechre-faq-v-199/</code>
|<code>https://lonelymachines.org/the-autechre-faq-v-199/</code>
|-
|-
|accessdate
|accessdate
|Date when the source was accessed
|Date when the source was accessed. If archived, use the archived date.
|<code>7 April 2003</code>
|<code>7 April 2003</code>
|-
|status
|Status of the link ("alive" or "dead"). If neither is specified, the link is assumed alive.
|-
|linkoriginal
|URL of the original source.
|
{{!}}}
{{!}}}
[[Category:Citation templates]]
[[Category:Citation templates]]
</noinclude>
</noinclude>

Latest revision as of 15:17, 20 May 2024


Cite a website to use as a reference.

Possible parameters are:

Name Description Example
author Author of the source (last, first). Ruud, Knut Andreas
title Title of the source. The _alt.music.autechre_ FAQ (Frequently Asked Questions) version 1.15
website Name of the website on which the source is held. LonelyMachines
date Date when the source was published. December 2000
link URL where the source can be accessed. If link is dead, use the archival link and put the original link under 'linkoriginal'. https://lonelymachines.org/the-autechre-faq-v-199/
accessdate Date when the source was accessed. If archived, use the archived date. 7 April 2003
status Status of the link ("alive" or "dead"). If neither is specified, the link is assumed alive.
linkoriginal URL of the original source.