Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Cite news: Difference between revisions

Template page
Joe Beaudoin Jr. (talk | contribs)
No edit summary
Joe Beaudoin Jr. (talk | contribs)
No edit summary
Line 13: Line 13:
    }}
    }}
  }}{{#if: {{{curly|}}}|“|"}}{{#if: {{{archiveurl|}}}
  }}{{#if: {{{curly|}}}|“|"}}{{#if: {{{archiveurl|}}}
    |[{{{archiveurl}}} {{{title}}}]
    | [{{{archiveurl}}} {{{title}}}]
    |{{#if: {{{url|}}}
    | {{#if: {{{archive|}}}
      |[{{{url}}} {{{title}}}]
        | {{#if: {{{url|}}}
      |{{{title}}}
            | [http://wayback.archive.org/web/*/{{{url}}} {{{title}}}] (content archived on Archive.org)
    }}
            | {{{title}}}
  }}{{#if: {{{format|}}}
          }}
        | {{#if: {{{url|}}}
            | [{{{url}}} {{{title}}}] ([http://wayback.archive.org/web/*/{{{url}}} backup available] on Archive.org)
            | {{{title}}}
          }}
      }}
}}{{#if: {{{format|}}}
    |  ({{formattype|{{{format}}}}})
    |  ({{formattype|{{{format}}}}})
  }}{{#if: {{{curly|}}}|”|"}}{{#if: {{{work|}}}
  }}{{#if: {{{curly|}}}|”|"}}{{#if: {{{work|}}}
Line 56: Line 62:
 |page =
 |page =
 |date =
 |date =
 |archive =
 |archiveurl =
 |archiveurl =
 |archivedate =
 |archivedate =
Line 72: Line 79:
* '''[[Template:formattype|format]]''': Format of news item. e.x. PDF, HTML. ''HTML'' implied if left blank.
* '''[[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.
* '''archive''': Place '''Y''' in order to enable. If the original link dies, this changes the main link to a search on archive.org. This is overridden by '''archiveurl'''.
* '''archiveurl''': URL of the archive location of the item (requires '''archivedate'''). The title will be linked to this URL.
* '''archiveurl''': URL of the archive location of the item (requires '''archivedate'''). The title will be linked to this URL.
* '''archivedate''': Date when the item was archived (requires '''archiveurl'''), in [[Wikipedia:ISO 8601|ISO 8601]] YYYY-MM-DD format, e.g. ''2006-02-17''.
* '''archivedate''': Date when the item was archived (requires '''archiveurl'''), in [[Wikipedia:ISO 8601|ISO 8601]] YYYY-MM-DD format, e.g. ''2006-02-17''.

Revision as of 15:09, 3 August 2025


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

Usage

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

{{cite news | url = | title = | work = | publisher = | date = | accessdate = }}

  • title is required, rest is optional.
  • url: The direct URL to the news source.
  • 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.
  • archive: Place Y in order to enable. If the original link dies, this changes the main link to a search on archive.org. This is overridden by archiveurl.
  • archiveurl: URL of the archive location of the item (requires archivedate). The title will be linked to this URL.
  • archivedate: Date when the item was archived (requires archiveurl), in ISO 8601 YYYY-MM-DD format, e.g. 2006-02-17.
  • 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