Still working to recover. Please don't edit quite yet.

Difference between revisions of "Template:cite web"

From Anarchopedia
Jump to: navigation, search
(Reverted edits by 142.22.16.52 (Talk) to last version by Weapon)
(archiveurl/archivedate support)
 
Line 50: Line 50:
 
   |test={{{publisher|}}}
 
   |test={{{publisher|}}}
 
   |then= {{{publisher}}}.
 
   |then= {{{publisher}}}.
 +
}}{{qif
 +
  |test={{{archivedate|}}}
 +
  |then=&#32;<small>[{{{archiveurl}}} Archived] from source {{{archivedate}}}.</small>
 
}}{{qif
 
}}{{qif
 
   |test={{{accessdate|}}}   
 
   |test={{{accessdate|}}}   
Line 73: Line 76:
 
  | accessdate =  
 
  | accessdate =  
 
  | accessyear =  
 
  | accessyear =  
 +
| archiveurl =
 +
| archivedate =
 
}}</nowiki>'''
 
}}</nowiki>'''
  
Line 90: Line 95:
 
* '''work''': If this item is part of a larger work, name of that work.
 
* '''work''': If this item is part of a larger work, name of that work.
 
* '''publisher''': Publisher, if any.
 
* '''publisher''': Publisher, if any.
 +
* '''archiveurl''': snapshot of '''url''' on an archive site (web.archive.org, webcitation.org, archive.is, peeep.us, ...)
 +
* '''archivedate''': when the snapshot was taken
  
  

Latest revision as of 10:56, 16 September 2012

This template is a simpler replacement for template:web reference. It provides lower case parameters only.

Usage

{{cite web
 | last = 
 | first = 
 | authorlink = 
 | coauthors = 
 | year = 
 | url = 
 | title = 
 | format = 
 | work = 
 | publisher = 
 | accessdate = 
 | accessyear = 
 | archiveurl =
 | archivedate =
}}

Required parameters

  • url: URL of online item.
  • title: Title of online item.
  • accessdate: Date (Month Day) when item was accessed. Should be ISO 8601 YYYY-MM-DD format.
    • accessyear: Year when item was accessed. (Optional if ISO 8601 date used)

Optional parameters

  • 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
    • coauthors: allows additional authors
  • year: Date published.
  • format: Format, i.e. PDF. HTML implied if not specified.
  • work: If this item is part of a larger work, name of that work.
  • publisher: Publisher, if any.
  • archiveurl: snapshot of url on an archive site (web.archive.org, webcitation.org, archive.is, peeep.us, ...)
  • archivedate: when the snapshot was taken