Budlight
Bots, Bureaucrats, Administrators
529
edits
m (1 revision) |
m (1 revision) |
||
Line 1: | Line 1: | ||
Test cases to support changes to [[Template:Cite news]] from [http://en.wikipedia.org/w/index.php?title=Template:Cite_news/sandbox&oldid=242501446 this version] of [[Template:Cite news/sandbox]] | |||
== Linked retrieval dates == | |||
=== Current template === | |||
;To display linked retrieval dates, must be in ISO format, or broken otherwise | |||
<code><nowiki>{{cite news | title = Article | work = The News | date = 27 October 1920 | accessdate = 2008-01-19 | page = 22 }}</nowiki></code> | |||
* {{cite news | title = Article | work = The News | date = 27 October 1920 | accessdate = 2008-01-19 | page = 22 }} | |||
;Broken for non-ISO format | |||
<code><nowiki>{{cite news | title = Article | work = The News | date = 27 October 1920 | accessdate = 19 January 2008 | page = 22 }}</nowiki></code> | |||
* {{cite news | title = Article | work = The News | date = 27 October 1920 | accessdate = 19 January 2008 | page = 22 }} | |||
=== Sandbox template === | |||
Linked retrieval dates can use ISO format or add optional <code>accessyear</code> parameter | |||
;ISO format works as before | |||
<code><nowiki>{{cite news/sandbox | title = Article | work = The News | date = 27 October 1920 | accessdate = 2008-01-19 | page = 22 }}</nowiki></code> | |||
* {{cite news/sandbox | title = Article | work = The News | date = 27 October 1920 | accessdate = 2008-01-19 | page = 22 }} | |||
;Non-ISO format in <code>accessdate</code> breaks (expected behavior of current template) | |||
<code><nowiki>{{cite news/sandbox | title = Article | work = The News | date = 27 October 1920 | accessdate = 19 January 2008 | page = 22 }}</nowiki></code> | |||
* {{cite news/sandbox | title = Article | work = The News | date = 27 October 1920 | accessdate = 19 January 2008 | page = 22 }} | |||
;Non-ISO can be used with <code>accessyear</code> parameter | |||
<code><nowiki>{{cite news/sandbox | title = Article | work = The News | date = 27 October 1920 | accessdate = 19 January | accessyear = 2008 | page = 22 }}</nowiki></code> | |||
* {{cite news/sandbox | title = Article | work = The News | date = 27 October 1920 | accessdate = 19 January | accessyear = 2008 | page = 22 }} | |||
== Unlinked retrieval dates == | |||
=== Current template === | |||
;No template options. Manual format works but is not desirable because it omits that date from the [[COinS]] metadata. | |||
<code><nowiki>{{cite news | title = Article | work = The News | date = 27 October 1920 | page = 22 }} Retrieved 19 January 2008.</nowiki></code> | |||
* {{cite news | title = Article | work = The News | date = 27 October 1920 | page = 22 }} Retrieved 19 January 2008. | |||
=== Sandbox template === | |||
Unlinked dates supported and included in COinS metadata: | |||
;For unlinked dates: | |||
<code><nowiki>{{cite news/sandbox | title = Article | work = The News | date = 27 October 1920 | accessdaymonth = 19 January | accessyear = 2008 | page = 22 }}</nowiki></code> | |||
* {{cite news/sandbox | title = Article | work = The News | date = 27 October 1920 | accessdaymonth = 19 January | accessyear = 2008 | page = 22 }} | |||
<code><nowiki>{{cite news/sandbox | title = Article | work = The News | date = 27 October 1920 | accessmonthday = January 19 | accessyear = 2008 | page = 22 }}</nowiki></code> | |||
* {{cite news/sandbox | title = Article | work = The News | date = 27 October 1920 | accessmonthday = January 19 | accessyear = 2008 | page = 22 }} | |||
;Missing <code>accessyear</code> parameter does not break template. | |||
<code><nowiki>{{cite news/sandbox | title = Article | work = The News | date = 27 October 1920 | accessdaymonth = 19 January | page = 22 }}</nowiki></code> | |||
* {{cite news/sandbox | title = Article | work = The News | date = 27 October 1920 | accessdaymonth = 19 January | page = 22 }} | |||
<code><nowiki>{{cite news/sandbox | title = Article | work = The News | date = 27 October 1920 | accessmonthday = January 19 | page = 22 }}</nowiki></code> | |||
{{ | * {{cite news/sandbox | title = Article | work = The News | date = 27 October 1920 | accessmonthday = January 19 | page = 22 }} | ||
{{ | |||
edits