Contents

Template:Cite web: Difference between revisions

No edit summary
No edit summary
 
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",
<noinclude>
            "required": true
== Usage ==
        },
 
        "title": {
<pre>
            "label": "Title",
{{Cite web
            "description": "Title of the webpage or article",
|author=
            "type": "string",
|title=
            "required": true
|url=
        },
|website=
        "website": {
|publisher=
            "label": "Website",
|date=
            "description": "Website or publisher name",
|access-date=
            "type": "string",
}}
            "suggested": true
</pre>
        },
 
        "author": {
[[Category:Citation templates]]
            "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>
</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