Difference between revisions of "Template:Cite mag"

From DoomWiki.org

m (Extra pages left in one case of top level if)
m (Extra brackets >_>)
Line 1: Line 1:
{{#tag:ref|{{#if:{{{author|}}}|{{{author}}}. ({{#time:Y, F|{{{date}}}}}). {{condfullstop|{{{title}}}}} ''{{{magazine}}}'', {{{issue}}}{{#if:{{{pages|}}}|, {{{pages}}}}}.}}|{{condfullstop|{{{title}}}}} ({{#time:Y, F|{{{date}}}}}). ''{{{magazine}}}'', {{{issue}}}{{#if:{{{pages|}}}|, {{{pages}}}}}.}}}}</includeonly><noinclude>
{{#tag:ref|{{#if:{{{author|}}}|{{{author}}}. ({{#time:Y, F|{{{date}}}}}). {{condfullstop|{{{title}}}}} ''{{{magazine}}}'', {{{issue}}}{{#if:{{{pages|}}}|, {{{pages}}}}}.|{{condfullstop|{{{title}}}}} ({{#time:Y, F|{{{date}}}}}). ''{{{magazine}}}'', {{{issue}}}{{#if:{{{pages|}}}|, {{{pages}}}}}.}}}}</includeonly><noinclude>
Simple magazine {{wp|Wikipedia:Citing_sources|citation}} template, APA style.
Simple magazine {{wp|Wikipedia:Citing_sources|citation}} template, APA style.

Revision as of 00:06, 13 February 2020

Simple magazine citation template, APA style.


  • author: Principal author(s) or editor(s) of the article. Optional, but should be provided when available. Proper APA format is Last, First.
  • date: Date article was originally published. Required.
  • title: Title of article. Required.
  • magazine: Title of magazine. Required. Will be automatically italicized.
  • issue: Issue number. Required.
  • pages: Page(s) cited. Optional.

Note that parameters taking a date will be passed to the {{#time}} parser function, and thus can be in any valid ISO date format, but must be in such a valid format or the following error text will appear: Error: Invalid time. For more information, see the official time function documentation.