Contents

Template:Cite web: Difference between revisions

Created Template:Cite web
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<span class="citation web">
<includeonly>{{#if:{{{author|}}}|{{{author}}}. }}{{#if:{{{title|}}}|{{#if:{{{url|}}}|[{{{url}}} {{{title}}}]|{{{title}}}}}|{{#if:{{{url|}}}|[{{{url}}} {{{url}}}]|}}}}{{#if:{{{website|}}}|. ''{{{website}}}''}}{{#if:{{{date|}}}|. {{{date}}}}}{{#if:{{{access-date|}}}|. Retrieved {{{access-date}}}}}.</includeonly><noinclude>
{{#if:{{{author|}}}|{{{author}}}. }}
<templatedata>
{{#if:{{{title|}}}|[{{{url|}}} {{{title}}}]”. }}
{
{{#if:{{{website|}}}|''{{{website}}}''. }}
    "description": "Cites a webpage or online source.",
{{#if:{{{date|}}}|{{{date}}}. }}
    "params": {
{{#if:{{{publisher|}}}|{{{publisher}}}. }}
        "url": {
{{#if:{{{access-date|}}}|Retrieved {{{access-date}}}. }}
            "label": "URL",
</span>
            "description": "Full URL of the source",
            "type": "url",
            "required": true
        },
        "title": {
            "label": "Title",
            "description": "Title of the webpage or article",
            "type": "string",
            "required": true
        },
        "website": {
            "label": "Website",
            "description": "Website or publisher name",
            "type": "string",
            "suggested": true
        },
        "author": {
            "label": "Author",
            "type": "string"
        },
        "date": {
            "label": "Publication date",
            "type": "date"
        },
        "access-date": {
            "label": "Access date",
            "type": "date",
            "suggested": true
        }
    },
    "paramOrder": [
        "url",
        "title",
        "website",
        "author",
        "date",
        "access-date"
    ]
}
</templatedata>
</noinclude>

Latest revision as of 11:15, 21 August 2026

Cites a webpage or online source.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
URLurl

Full URL of the source

URLrequired
Titletitle

Title of the webpage or article

Stringrequired
Websitewebsite

Website or publisher name

Stringsuggested
Authorauthor

no description

Stringoptional
Publication datedate

no description

Dateoptional
Access dateaccess-date

no description

Datesuggested