Template:Cite web: Difference between revisions

From Central Student Government Wiki
Jump to navigation Jump to search
Administrator (talk | contribs)
Undo revision 1227 by Administrator (talk)
Tag: Undo
Administrator (talk | contribs)
No edit summary
Line 29: Line 29:


All other parameters are optional.
All other parameters are optional.
<templatedata>
{
    "description": "Creates a citation for a web source as a footnote",
    "params": {
        "title": {
            "label": "Title",
            "description": "The title of the webpage being cited",
            "type": "string",
            "required": true
        },
        "url": {
            "label": "URL",
            "description": "The URL (web address) of the source",
            "type": "string",
            "required": true
        },
        "author": {
            "label": "Author",
            "description": "The name of the primary author",
            "type": "string"
        },
        "author2": {
            "label": "Second Author",
            "description": "The name of the second author (if applicable)",
            "type": "string"
        },
        "author3": {
            "label": "Third Author",
            "description": "The name of the third author (if applicable)",
            "type": "string"
        },
        "date": {
            "label": "Publication Date",
            "description": "The date the source was published (YYYY-MM-DD format recommended)",
            "type": "string",
            "suggested": true
        },
        "website": {
            "label": "Website Name",
            "description": "The name of the website where the source was published",
            "type": "string",
            "suggested": true
        },
        "publisher": {
            "label": "Publisher",
            "description": "The organization that publishes the website (if different from the website name)",
            "type": "string"
        },
        "access-date": {
            "label": "Access Date",
            "description": "The date you accessed the source (YYYY-MM-DD format recommended)",
            "type": "string",
            "suggested": true
        },
        "archive-url": {
            "label": "Archive URL",
            "description": "The URL of an archived version of the page (e.g., from the Internet Archive)",
            "type": "string"
        },
        "archive-date": {
            "label": "Archive Date",
            "description": "The date the page was archived (YYYY-MM-DD format recommended)",
            "type": "string"
        },
        "quote": {
            "label": "Quote",
            "description": "A short relevant quote from the source",
            "type": "string"
        },
        "language": {
            "label": "Language",
            "description": "The language of the source if not English",
            "type": "string"
        },
        "page": {
            "label": "Page",
            "description": "The specific page number being referenced (if applicable)",
            "type": "string"
        },
        "format": {
            "label": "Format",
            "description": "The file format of the source if not HTML (e.g., PDF, DOCX)",
            "type": "string"
        }
    },
    "paramOrder": [
        "title",
        "url",
        "author",
        "author2",
        "author3",
        "date",
        "website",
        "publisher",
        "access-date",
        "archive-url",
        "archive-date",
        "quote",
        "language",
        "page",
        "format"
    ]
}
</templatedata>
</noinclude>
</noinclude>

Revision as of 21:11, 10 March 2025

Cite Web Template

This template creates standardized citations for web references.

Usage

{{cite web
| title        = <!-- Required -->
| url          = <!-- Required -->
| author       = <!-- Optional -->
| author2      = <!-- Optional -->
| author3      = <!-- Optional -->
| date         = <!-- Optional -->
| website      = <!-- Optional -->
| publisher    = <!-- Optional -->
| access-date  = <!-- Optional -->
| archive-url  = <!-- Optional -->
| archive-date = <!-- Optional -->
| quote        = <!-- Optional -->
| language     = <!-- Optional -->
| page         = <!-- Optional -->
| format       = <!-- Optional -->
}}

Required Parameters

  • title: The title of the webpage being cited
  • url: The URL of the webpage being cited

All other parameters are optional.

Creates a citation for a web source as a footnote

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Titletitle

The title of the webpage being cited

Stringrequired
URLurl

The URL (web address) of the source

Stringrequired
Authorauthor

The name of the primary author

Stringoptional
Second Authorauthor2

The name of the second author (if applicable)

Stringoptional
Third Authorauthor3

The name of the third author (if applicable)

Stringoptional
Publication Datedate

The date the source was published (YYYY-MM-DD format recommended)

Stringsuggested
Website Namewebsite

The name of the website where the source was published

Stringsuggested
Publisherpublisher

The organization that publishes the website (if different from the website name)

Stringoptional
Access Dateaccess-date

The date you accessed the source (YYYY-MM-DD format recommended)

Stringsuggested
Archive URLarchive-url

The URL of an archived version of the page (e.g., from the Internet Archive)

Stringoptional
Archive Datearchive-date

The date the page was archived (YYYY-MM-DD format recommended)

Stringoptional
Quotequote

A short relevant quote from the source

Stringoptional
Languagelanguage

The language of the source if not English

Stringoptional
Pagepage

The specific page number being referenced (if applicable)

Stringoptional
Formatformat

The file format of the source if not HTML (e.g., PDF, DOCX)

Stringoptional