Jump to content

Template:Cite magazine: Difference between revisions

From PhantomWiki
create
 
add templatedata
Line 1: Line 1:
<includeonly>{{#if:{{{author|}}}|{{{author}}}. |}}{{#if:{{{url|}}}|[{{{url}}} “{{{title|Untitled magazine article}}}”]|“{{{title|Untitled magazine article}}}”}}{{#if:{{{magazine|}}}|. ''{{{magazine}}}''|}}{{#if:{{{publisher|}}}|. {{{publisher}}}|}}{{#if:{{{volume|}}}|. Vol. {{{volume}}}|}}{{#if:{{{issue|}}}|. Issue {{{issue}}}|}}{{#if:{{{date|}}}|. {{{date}}}|}}{{#if:{{{page|}}}|, p. {{{page}}}|}}{{#if:{{{pages|}}}|, pp. {{{pages}}}|}}{{#if:{{{access-date|}}}|. Retrieved {{{access-date}}}|}}.</includeonly>
<includeonly>{{#if:{{{author|}}}|{{{author}}}. |}}{{#if:{{{url|}}}|[{{{url}}} “{{{title|Untitled magazine article}}}”]|“{{{title|Untitled magazine article}}}”}}{{#if:{{{magazine|}}}|. ''{{{magazine}}}''|}}{{#if:{{{publisher|}}}|. {{{publisher}}}|}}{{#if:{{{volume|}}}|. Vol. {{{volume}}}|}}{{#if:{{{issue|}}}|. Issue {{{issue}}}|}}{{#if:{{{date|}}}|. {{{date}}}|}}{{#if:{{{page|}}}|, p. {{{page}}}|}}{{#if:{{{pages|}}}|, pp. {{{pages}}}|}}{{#if:{{{access-date|}}}|. Retrieved {{{access-date}}}|}}.</includeonly>
<noinclude>
<templatedata>
{
    "description": "Formats a citation for a magazine article",
    "params": {
        "author": {
            "label": "Author",
            "description": "Author of the article",
            "type": "line",
            "suggested": true
        },
        "url": {
            "label": "URL",
            "description": "Web address of the article",
            "type": "url"
        },
        "title": {
            "label": "Article title",
            "description": "Title of the magazine article",
            "type": "line",
            "required": true
        },
        "magazine": {
            "label": "Magazine",
            "description": "Name of the magazine",
            "type": "line",
            "suggested": true
        },
        "publisher": {
            "label": "Publisher",
            "description": "Publisher of the magazine",
            "type": "line"
        },
        "volume": {
            "label": "Volume",
            "description": "Volume number",
            "type": "line"
        },
        "issue": {
            "label": "Issue",
            "description": "Issue number",
            "type": "line"
        },
        "date": {
            "label": "Publication date",
            "description": "Date the article was published",
            "type": "date",
            "suggested": true
        },
        "page": {
            "label": "Page",
            "description": "Single page being cited",
            "type": "line"
        },
        "pages": {
            "label": "Pages",
            "description": "Range of pages being cited",
            "type": "line"
        },
        "access-date": {
            "label": "Access date",
            "description": "Date the online article was accessed",
            "type": "date"
        }
    }
}
</templatedata>
</noinclude>

Revision as of 14:00, 9 September 2026


Formats a citation for a magazine article

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Authorauthor

Author of the article

Linesuggested
URLurl

Web address of the article

URLoptional
Article titletitle

Title of the magazine article

Linerequired
Magazinemagazine

Name of the magazine

Linesuggested
Publisherpublisher

Publisher of the magazine

Lineoptional
Volumevolume

Volume number

Lineoptional
Issueissue

Issue number

Lineoptional
Publication datedate

Date the article was published

Datesuggested
Pagepage

Single page being cited

Lineoptional
Pagespages

Range of pages being cited

Lineoptional
Access dateaccess-date

Date the online article was accessed

Dateoptional