Template:Cite journal: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Ucucha if |jstor= is specified, no reason to send it into |URL=, since |JSTOR= already provides a link; swap two tests for (presumably) somewhat better performance |
meta>MSGJ treat blank url the same as undefined; requested on talk page |
||
Line 1: | Line 1: | ||
{{Citation/core | |||
|Citation type=Journal | |Citation type=Journal | ||
|AuthorMask = {{{author-mask|{{{authormask|}}}}}} | |AuthorMask = {{{author-mask|{{{authormask|}}}}}} | ||
Line 45: | Line 45: | ||
|URL={{#if:{{{archiveurl|}}} | |URL={{#if:{{{archiveurl|}}} | ||
|{{{archiveurl}}} | |{{{archiveurl}}} | ||
|{{{url|{{#if:{{{pmc|{{{PMC|}}}}}} | |{{#if:{{{url|}}} | ||
|{{{url}}} | |||
|{{#if:{{{pmc|{{{PMC|}}}}}} | |||
|{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }} | |||
|{{hide in print|1=http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{pmc|{{{PMC|}}}}}}}} | |||
}} | |||
}} | |||
}} | |||
}} | }} | ||
|Series={{{series|{{{version|}}}}}} | |Series={{{series|{{{version|}}}}}} | ||
Line 127: | Line 129: | ||
|Trunc = {{#if:{{{display-authors|}}}|{{{display-authors}}}|8}} | |Trunc = {{#if:{{{display-authors|}}}|{{{display-authors}}}|8}} | ||
|amp = {{{use ampersand before last author|}}} | |amp = {{{use ampersand before last author|}}} | ||
}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}{{#if:{{{doilabel|}}}|[[Category:Citation templates using redundant parameters|{{NAMESPACE}} {{PAGENAME}}]]}} | }}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}{{#if:{{{doilabel|}}}|[[Category:Citation templates using redundant parameters|{{NAMESPACE}} {{PAGENAME}}]]}}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |