Template:Cite journal: Difference between revisions

From All Skies Encyclopaedia
imported>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)
imported>MSGJ
(treat blank url the same as undefined; requested on talk page)
Line 1: Line 1:
<includeonly>{{Citation/core
{{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|}}}
|{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }}
|{{{url}}}
|{{hide in print|1=http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{pmc|{{{PMC|}}}}}}}}
|{{#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}}]]}}</includeonly><noinclude>
}}{{#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>

Revision as of 06:11, 29 March 2011

Template:Citation/core

  1. Compare archived talk page.