Battlestar Wiki Difference between revisions of "Template:Cite news"

Difference between revisions of "Template:Cite news"

Template page
(done with this one)
m
 
(5 intermediate revisions by the same user not shown)
Line 10: Line 10:
     |[{{{url}}} {{{title}}}]
     |[{{{url}}} {{{title}}}]
     |{{{title}}}
     |{{{title}}}
  }}{{
  #if: {{{format|}}} |  ({{formattype|{{{format}}}}})
   }}{{#if: {{{curly|}}}|”|"}}{{#if: {{{work|}}}
   }}{{#if: {{{curly|}}}|”|"}}{{#if: {{{work|}}}
     |,  ''{{{work}}}''}}{{#if: {{{publisher|}}}
     |,  ''{{{work}}}''}}{{#if: {{{publisher|}}}
Line 24: Line 26:
   }}.{{#if: {{{language|}}}
   }}.{{#if: {{{language|}}}
   | (written in {{{language|}}})
   | (written in {{{language|}}})
   }}|Template error: argument '''title''' is required.}}</includeonly><noinclude>
   }}|Error on call {{tl|cite news}}: Parameters '''title''' ''must'' be specified.}}</includeonly><noinclude>
__NOTOC__
__NOTOC__
This template is used to [[BW:CITE|cite sources]] in ''Battlestar Wiki''. It is specifically for news sources.
This template is used to [[BW:CITE|cite sources]] in ''Battlestar Wiki''. It is specifically for news sources.
Line 36: Line 38:
  |coauthors =
  |coauthors =
  |url =  
  |url =  
|curly =
|format =
  |title =  
  |title =  
  |work =  
  |work =  
Line 46: Line 50:
}}
}}
</pre>
</pre>
<pre>
<code><nowiki>{{cite news | first = | last = | author = | coauthors =| url = | title = | work = | publisher = | pages = | page = | date = | accessdate = | language = }}</nowiki></code>
{{cite news | first = | last = | author = | coauthors =| url = | title = | work = | publisher = | pages = | page = | date = | accessdate = | language = }}
</pre>
*'''title''' is required, rest is optional.
*'''title''' is required, rest is optional.
* '''author''': Author
* '''author''': Author
Line 54: Line 56:
** '''coauthors''' allows additional authors
** '''coauthors''' allows additional authors
* '''publisher''': Publisher, if any.
* '''publisher''': Publisher, if any.
* '''[[Template:formattype|format]]''': Format of news item. e.x. PDF, HTML. ''HTML'' implied if left blank.
* '''date''': date of publication. [[Wikipedia:ISO 8601|ISO 8601]] YYYY-MM-DD format recommended.  
* '''date''': date of publication. [[Wikipedia:ISO 8601|ISO 8601]] YYYY-MM-DD format recommended.  
* '''accessdate''': Date when item was accessed. Use [[Wikipedia:ISO 8601|ISO 8601]] YYYY-MM-DD format. Do not wikilink the date.
* '''accessdate''': Date when item was accessed. Use [[Wikipedia:ISO 8601|ISO 8601]] YYYY-MM-DD format. Do not wikilink the date.

Latest revision as of 15:38, 4 September 2006


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

Usage

{{cite news 
 |first = 
 |last = 
 |author = 
 |coauthors =
 |url = 
 |curly =
 |format =
 |title = 
 |work = 
 |publisher = 
 |pages = 
 |page = 
 |date = 
 |accessdate = 
 |language = 
}}

{{cite news | first = | last = | author = | coauthors =| url = | title = | work = | publisher = | pages = | page = | date = | accessdate = | language = }}

  • title is required, rest is optional.
  • author: Author
    • last works with first to produce last, first
    • coauthors allows additional authors
  • publisher: Publisher, if any.
  • format: Format of news item. e.x. PDF, HTML. HTML implied if left blank.
  • date: date of publication. ISO 8601 YYYY-MM-DD format recommended.
  • accessdate: Date when item was accessed. Use ISO 8601 YYYY-MM-DD format. Do not wikilink the date.
  • work: If this item is part of a larger work, name of that work.
  • pages overrides page
  • language: the language the source is written in