| Latest revision |
Your text |
| Line 48: |
Line 48: |
| }}{{#if: {{{format|}}} | | }}{{#if: {{{format|}}} |
| |  ({{{format}}}) | | |  ({{{format}}}) |
| }}{{#if:{{{magazine|}}} | | }}{{#if:{{{journal|}}} |
| |. ''{{{magazine}}}'' | | |. ''{{{journal}}}'' |
| }}{{#if:{{{volume|}}} | | }}{{#if:{{{volume|}}} |
| | '''{{{volume}}}''' | | | '''{{{volume}}}''' |
| Line 61: |
Line 61: |
| |. {{{id}}} | | |. {{{id}}} |
| }}{{#if:{{{accessdate|}}} | | }}{{#if:{{{accessdate|}}} |
| |. Retrieved on {{{accessdate}}} | | |. Retrieved on [[{{{accessdate}}}]] |
| }}.</includeonly> | | }}.</includeonly> |
| <noinclude> | | <noinclude> |
| __NOTOC__
| |
| This template is used to [[BW:CITE|cite sources]] in ''Battlestar Wiki''. It is specifically for magazine sources.
| |
| == Usage ==
| |
|
| |
| {| cellpadding="0" cellspacing="6"
| |
| ! using first, last !! using author
| |
| |- width="50%"
| |
| |
| |
| <pre>
| |
| {{cite magazine
| |
| | quotes =
| |
| | last =
| |
| | first =
| |
| | authorlink =
| |
| | coauthors =
| |
| | date =
| |
| | year =
| |
| | month =
| |
| | title =
| |
| | magazine =
| |
| | volume =
| |
| | issue =
| |
| | pages =
| |
| | doi =
| |
| | id =
| |
| | url =
| |
| | language =
| |
| | format =
| |
| | accessdate =
| |
| }}</pre>
| |
| | style="vertical-align: top;" |
| |
| <pre>
| |
| {{cite magazine
| |
| | quotes =
| |
| | author =
| |
| | date =
| |
| | year =
| |
| | month =
| |
| | title =
| |
| | magazine =
| |
| | volume =
| |
| | issue =
| |
| | pages =
| |
| | doi =
| |
| | id =
| |
| | url =
| |
| | language =
| |
| | format =
| |
| | accessdate =
| |
| }}</pre>
| |
| |}
| |
|
| |
| <code><nowiki>{{cite magazine |quotes= |last= |first= |authorlink= |coauthors= |year= |month= |title= |magazine= |volume= |issue= |pages= |id= |url= |accessdate= }}</nowiki></code>
| |
|
| |
|
| |
| === Required Parameters ===
| |
| * '''title''': Title of article.
| |
|
| |
| === Optionial Parameters ===
| |
| * '''quotes''': Specify "quotes=no" to disable the quotes around the title. If "quotes" is not defined or set to the empty string, the template emits quotes around the title (default).
| |
| * '''author''': Author
| |
| ** '''last''' works with '''first''' to produce <code>last, first</code>
| |
| ** '''authorlink''' works either with '''author''' or with '''last''' & '''first''' to link to the appropriate article (internal link)
| |
| ** '''coauthors''': allows additional authors
| |
| * '''date''': Full date of publication, in [[w:ISO 8601|ISO 8601]] YYYY-MM-DD format, eg. ''2006-02-17''.
| |
| ** '''year''': ''2006''. Year of publication (ignored if the ''date'' field is used).
| |
| *** '''month''': ''January''. Month of publication (ignored if the ''date'' field is used, or if the ''year'' field is ''not'' used).
| |
| * '''magazine''': Name of the magazine.
| |
| * '''volume''': Volume number of the journal in which the article is found
| |
| * '''issue''': Issue number of the journal in which the article is found
| |
| * '''pages''': ''<nowiki>45–47</nowiki>'': first page, and optional last page.
| |
| * '''doi''': [[w:digital object identifier|digital object identifier]] such as ''<nowiki>10.1016/j.coi.2004.08.001</nowiki>''.
| |
| * '''id''':
| |
| * '''url''': URL of a copy of the article, if available online.
| |
| * '''[[Template:Formattype|format]]''': Format, i.e. PDF. Don't specify for HTML (implied as default).
| |
| * '''accessdate''': Full date when URL was accessed, in [[w:ISO 8601|ISO 8601]] YYYY-MM-DD format, eg. ''2006-02-17''.
| |
|
| |
| [[Category:Citation templates]] [[Category:Templates using ParserFunctions]] | | [[Category:Citation templates]] [[Category:Templates using ParserFunctions]] |
| </noinclude> | | </noinclude> |