Difference between revisions of "Template:Cite news"
From Timelines
(Add option to override inclusion in Category:Articles with broken citations for doc demo and testcases) |
(add deadurl parameter per request, no need to includeonly code) |
||
Line 1: | Line 1: | ||
− | + | {{Citation/core | |
|Citation class=news | |Citation class=news | ||
|Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{{author|}}}}}}}}}}}}}}}}}}}}}}}} | |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{{author|}}}}}}}}}}}}}}}}}}}}}}}} | ||
Line 43: | Line 43: | ||
|Title={{#if:{{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}}|{{{title|}}}}} | |Title={{#if:{{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}}|{{{title|}}}}} | ||
|TransTitle={{{trans_title|}}} | |TransTitle={{{trans_title|}}} | ||
− | |URL={{#if:{{{archiveurl|}}}|{{{archiveurl}}}|{{{url|}}}}} | + | |URL= {{#if:{{{archiveurl|}}} |
+ | |{{#ifeq: {{{deadurl|}}} | no | {{{url|}}} | {{{archiveurl|}}} }} | ||
+ | |{{{url|}}} | ||
+ | }} | ||
|Series={{{agency|}}} | |Series={{{agency|}}} | ||
|Periodical = {{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}} | |Periodical = {{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}} | ||
Line 81: | Line 84: | ||
|PS={{#if:{{{quote|}}}||{{{postscript|.}}}}} | |PS={{#if:{{{quote|}}}||{{{postscript|.}}}}} | ||
|Ref={{{ref|}}} | |Ref={{{ref|}}} | ||
− | |Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|;|{{{separator|{{{seperator|.}}} }}} }} | + | |Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|;|{{{separator|{{{seperator|.}}} }}} }} |
|ArchiveDate={{{archivedate|}}} | |ArchiveDate={{{archivedate|}}} | ||
− | |OriginalURL={{{url|}}}|ArchiveURL={{{archiveurl|}}} | + | |DeadURL = {{{deadurl|}}} |
+ | |OriginalURL={{{url|}}} | ||
+ | |ArchiveURL={{{archiveurl|}}} | ||
|template doc demo={{{template doc demo|}}} | |template doc demo={{{template doc demo|}}} | ||
− | }}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}} | + | }}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}<noinclude> |
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 04:47, 20 June 2011
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |