Difference between revisions of "Template:Cite news"
From Self-sufficiency
(Undid revision 252561884 by David Fuchs (talk) - broken) |
(implementing new code based on citation/core (see talk page)) |
||
Line 1: | Line 1: | ||
− | + | {{Citation/core | |
− | + | |Citation class=news | |
− | + | |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{{author|}}}}}}}}}}}}}}}}}}}}}}}} | |
− | + | |Surname2 = {{{last2|{{{surname2|{{{author2|{{{coauthor|{{{coauthors|}}}}}}}}}}}}}}} | |
− | + | |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}} | |
− | {{ | + | |Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}} |
− | + | |Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}} | |
− | + | |Surname6 = {{{last6|{{{surname6|{{{author6|}}}}}}}}} | |
− | + | |Surname7 = {{{last7|{{{surname7|{{{author7|}}}}}}}}} | |
− | + | |Surname8 = {{{last8|{{{surname8|{{{author8|}}}}}}}}} | |
− | }} | + | |Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}} |
− | }}{{ | + | |Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}} |
− | |{{ | + | |Given2 = {{{first2|{{{given2|}}}}}} |
− | + | |Given3 = {{{first3|{{{given3|}}}}}} | |
− | + | |Given4 = {{{first4|{{{given4|}}}}}} | |
− | + | |Given5 = {{{first5|{{{given5|}}}}}} | |
− | + | |Given6 = {{{first6|{{{given6|}}}}}} | |
− | + | |Given7 = {{{first7|{{{given7|}}}}}} | |
− | + | |Given8 = {{{first8|{{{given8|}}}}}} | |
− | + | |Given9 = {{{first9|{{{given9|}}}}}} | |
− | + | |Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}} | |
− | + | |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}} | |
− | + | |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}} | |
− | + | |Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}} | |
− | + | |Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}} | |
− | + | |Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}} | |
− | + | |Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}} | |
− | + | |Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}} | |
− | + | |Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}} | |
− | | | + | |Year={{{year|{{ <!-- attempt to derive year from date, if possible --> |
− | + | #if: {{{date|}}} | |
− | + | |{{ | |
− | + | #iferror:{{#time:Y|{{{date|}}} }} | |
− | + | |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}} | |
− | + | |{{#time:Y|{{{date|}}} }} | |
− | + | }} | |
− | + | |{{{publication-date|}}} <!-- last resort --> | |
− | + | }} | |
− | | | + | }}} |
− | + | |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}} | |
− | + | |Title={{#if:{{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}}|{{{title|}}}}} | |
− | + | |URL={{{archiveurl|{{{url|}}}}}} | |
− | + | |Series={{{agency|}}} | |
− | + | |Periodical = {{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}} | |
− | + | |Volume = {{{volume|}}} | |
− | + | |Issue = {{{issue|{{{number|}}}}}} | |
− | + | |At = {{ | |
− | + | #if: {{{page|}}} | |
− | + | |p. {{{page}}} | |
− | + | |{{ | |
− | + | #if: {{{pages|}}} | |
− | + | |pp. {{{pages}}} | |
− | + | |{{{at|}}} | |
− | + | }} | |
− | | | + | }} |
− | + | |IncludedWorkTitle = {{#if:{{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}}||{{{title|}}}}} | |
− | + | |IncludedWorkURL = {{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}} | |
− | + | |Edition = {{{edition|}}} | |
− | + | |Place = {{{place|{{{location|}}}}}} | |
− | + | |PublicationPlace = {{{publication-place|{{{place|{{{location|}}}}}}}}} | |
− | | | + | |Publisher = {{{publisher|}}} |
− | + | |PublicationDate = {{{publication-date|}}} | |
− | + | |language = {{{language|{{{in|}}}}}} | |
− | + | |format = {{{format|}}} | |
− | + | |ID={{{id|{{{ID|}}}}}} | |
− | + | |ISBN={{{isbn|{{{ISBN|}}}}}} | |
− | + | |ISSN={{{issn|{{{ISSN|}}}}}} | |
− | + | |OCLC={{{oclc|{{{OCLC|}}}}}} | |
− | + | |PMID={{{pmid|{{{PMID|}}}}}} | |
− | + | |PMC={{{pmc|{{{PMC|}}}}}} | |
− | + | |Bibcode={{{bibcode|}}} | |
− | + | |DOI={{{doi|{{{DOI|}}}}}} | |
− | + | |AccessDate={{#if:{{{accessdate|}}}|{{{accessdate}}}|{{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}}}} | |
− | + | |laysummary = {{{laysummary|}}} | |
− | + | |quote = {{{quote|}}} | |
− | + | |laydate = {{{laydate|}}} | |
− | + | |Ref={{{ref|}}} | |
− | + | |Sep = {{{separator|{{{seperator|,}}}}}} | |
− | + | |Archive = {{ | |
− | + | #if:{{{archiveurl|}}}|Archived from {{#if:{{{url|}}}|[{{{url|}}} the original]|the original}} {{#if:{{{archivedate|}}}| on {{{archivedate}}}|. You must specify the date the archive was made using the <code>archivedate=</code> parameter.{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}} | |
− | + | }} | |
− | + | }}<noinclude> | |
− | + | ||
− | + | ||
{{pp-template|small=yes}} | {{pp-template|small=yes}} | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 20:33, 6 January 2009
[edit]
Documentation