Template:Cite magazine: Difference between revisions

Template page
(first save of intructions)
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
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>
<pre>
{{cite magazine
{{cite magazine
| quotes =
  | last =  
  | last =  
  | first =  
  | first =  
  | authorlink =  
  | authorlink =  
  | coauthors =  
  | coauthors =  
| date =
  | year =  
  | year =  
  | month =  
  | month =  
  | title =  
  | title =  
  | journal =  
  | magazine =  
  | volume =  
  | volume =  
  | issue =  
  | issue =  
| page =
  | pages =  
  | pages =  
| article =
  | doi =  
  | doi =
  | id =  
  | id =  
  | url =
  | url =
| language =  
  | format =  
  | format =  
  | accessdate =  
  | accessdate =  
  }}
  }}</pre>
</pre>
| style="vertical-align: top;" |
* '''title''': Title of article. '''''This is the only required parameter. All other parameters are optional.'''''
<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
* '''author''': Author
** '''last''' works with '''first''' to produce <code>last, first</code>
** '''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)
** '''authorlink''' works either with '''author''' or with '''last''' & '''first''' to link to the appropriate article (internal link)
** '''coauthors''': allows additional authors
** '''coauthors''': allows additional authors
* '''date''': ''January 1, 2006''. Full date of publication.
* '''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).
** '''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).
*** '''month''': ''January''. Month of publication (ignored if the ''date'' field is used, or if the ''year'' field is ''not'' used).
* '''journal''': Name of the journal.
* '''magazine''': Name of the magazine.
* '''volume''': Volume number of the journal in which the article is found
* '''volume''': Volume number of the journal in which the article is found
* '''issue''': Issue number of the journal in which the article is found
* '''issue''': Issue number of the journal in which the article is found
* '''page''': page number of single page article
* '''pages''': ''<nowiki>45&ndash;47</nowiki>'': first page, and optional last page.
* '''pages''': page range for multi-page articles
* '''doi''': [[w:digital object identifier|digital object identifier]] such as ''<nowiki>10.1016/j.coi.2004.08.001</nowiki>''.
* '''article''': article number (online journal with no page numbers).
* '''id''':
* '''doi''': [[Wikipedia:digital object identifier|digital object identifier]].
* '''id''': i.e. PMID 15128012
* '''url''': URL of a copy of the article, if available online.
* '''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).
* '''[[Template:Formattype|format]]''': Format, i.e. PDF. Don't specify for HTML (implied as default).
* '''accessdate''': Full date when URL was accessed, in [[Wikipedia:ISO 8601|ISO 8601]] YYYY-MM-DD format, eg. ''2006-02-17''.
* '''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>

Latest revision as of 06:50, 15 February 2007


This template is used to cite sources in Battlestar Wiki. It is specifically for magazine sources.

Usage

using first, last using author
{{cite magazine
 | quotes = 
 | last = 
 | first = 
 | authorlink = 
 | coauthors = 
 | date = 
 | year = 
 | month = 
 | title = 
 | magazine = 
 | volume = 
 | issue = 
 | pages = 
 | doi = 
 | id = 
 | url = 
 | language = 
 | format = 
 | accessdate = 
 }}
{{cite magazine
 | quotes = 
 | author = 
 | date = 
 | year = 
 | month = 
 | title = 
 | magazine = 
 | volume = 
 | issue = 
 | pages = 
 | doi = 
 | id = 
 | url = 
 | language = 
 | format = 
 | accessdate = 
 }}

{{cite magazine |quotes= |last= |first= |authorlink= |coauthors= |year= |month= |title= |magazine= |volume= |issue= |pages= |id= |url= |accessdate= }}


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 last, first
    • 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 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: 45–47: first page, and optional last page.
  • doi: digital object identifier such as 10.1016/j.coi.2004.08.001.
  • id:
  • url: URL of a copy of the article, if available online.
  • format: Format, i.e. PDF. Don't specify for HTML (implied as default).
  • accessdate: Full date when URL was accessed, in ISO 8601 YYYY-MM-DD format, eg. 2006-02-17.