Template:SciteVancouverJournalFormatter: Difference between revisions

From IDWiki
imported>Pppery
(Archive-date support per edit request)
 
m (Aidan moved page Template:Vcite journal to Template:SciteVancouverJournalFormatter without leaving a redirect)
 
(2 intermediate revisions by the same user not shown)
Line 14: Line 14:
| [{{#if: {{{url|}}}
| [{{#if: {{{url|}}}
| {{{url}}}
| {{{url}}}
| https://www.ncbi.nlm.nih.gov/pmc/articles/PMC{{{pmc}}}/
| http://www.ncbi.nlm.nih.gov/pmc/articles/PMC{{{pmc}}}/
}} {{#if:||
}} {{#if:||
{{{title|}}} {{
{{{title|}}} {{
Line 45: Line 45:
| {{#if: {{{journal|}}} | {{{journal.|{{{sep|.}}}}}} }}
| {{#if: {{{journal|}}} | {{{journal.|{{{sep|.}}}}}} }}
}}{{
}}{{
#if: {{{date|{{{year|}}}}}}{{{update|}}}{{{archive-url|{{{archiveurl|}}}}}}{{{accessdate|}}}
#if: {{{date|{{{year|}}}}}}{{{update|}}}{{{archiveurl|}}}{{{accessdate|}}}
| {{#if: {{{date|{{{year|}}}}}} |  {{{date|{{{year}}}}}} }}{{
| {{#if: {{{date|{{{year|}}}}}} |  {{{date|{{{year}}}}}} }}{{
#if: {{{update|}}}{{{archive-url|{{{archiveurl|}}}}}}{{{accessdate|}}}
#if: {{{update|}}}{{{archiveurl|}}}{{{accessdate|}}}
|  [{{{update|}}}{{
|  [{{{update|}}}{{
#if: {{{archive-url|{{{archiveurl|}}}}}}
#if: {{{archiveurl|}}}
| {{#if: {{{update|}}} | <nowiki/>;&#32;
| {{#if: {{{update|}}} | <nowiki/>;&#32;
}}[{{{archive-url|{{{archiveurl}}}}}} archived] {{{archive-date|{{{archivedate|}}}}}}
}}[{{{archiveurl}}} archived] {{{archivedate|}}}
}}{{
}}{{
#if: {{{accessdate|}}}
#if: {{{accessdate|}}}
| {{#if: {{{update|}}}{{{archive-url|{{{archiveurl|}}}}}} | <nowiki/>;&#32;
| {{#if: {{{update|}}}{{{archiveurl|}}} | <nowiki/>;&#32;
}}Retrieved {{{accessdate}}}
}}cited {{{accessdate}}}
}}&#93;
}}&#93;
}}{{#if: {{{volume|}}}{{{issue|}}} | <nowiki/>; }}
}}{{#if: {{{volume|}}}{{{issue|}}} | <nowiki/>; }}
Line 62: Line 62:
#if: {{{p|{{{pages|{{{page|{{{at|}}}}}}}}}}}}
#if: {{{p|{{{pages|{{{page|{{{at|}}}}}}}}}}}}
| <nowiki/>:{{{p|{{{pages|{{{page|{{{at}}}}}}}}}}}}{{{sep|.}}}
| <nowiki/>:{{{p|{{{pages|{{{page|{{{at}}}}}}}}}}}}{{{sep|.}}}
| {{#if: {{{date|{{{year|}}}}}}{{{update|}}}{{{archive-url|{{{archiveurl|}}}}}}{{{accessdate|}}}{{{volume|}}}{{{issue|}}} | {{{sep|.}}} }}
| {{#if: {{{date|{{{year|}}}}}}{{{update|}}}{{{archiveurl|}}}{{{accessdate|}}}{{{volume|}}}{{{issue|}}} | {{{sep|.}}} }}
}}{{
}}{{
#if: {{{language|}}} | &#32;{{{language}}}{{{sep|.}}}
#if: {{{language|}}} | &#32;{{{language}}}{{{sep|.}}}
Line 69: Line 69:
| &#32;{{
| &#32;{{
#if: {{{doi_brokendate|}}}
#if: {{{doi_brokendate|}}}
| {{doi|{{{doi}}}}} (inactive {{{doi_brokendate}}}) {{
| doi:{{#tag:nowiki|{{{doi}}}}} (inactive {{{doi_brokendate}}}) {{
#ifeq: {{NAMESPACE}} | {{ns:0}}
#ifeq: {{NAMESPACE}} | {{ns:0}}
| [[Category:Pages with DOIs broken since {{#time: Y | {{{doi_brokendate}}} }}]]
| [[Category:Pages with DOIs broken since {{#time: Y | {{{doi_brokendate}}} }}]]
}}
}}
| {{doi|{{{doi}}}}}
| [[Digital Object Identifier|doi]]:[http://dx.doi.org/{{urlencode:{{{doi}}}}} {{#tag:nowiki|{{{doi}}}}}]
}}{{{sep|.}}}
}}{{{sep|.}}}
}}{{
}}{{
#if: {{{id|}}} | &#32;{{{id}}}{{{sep|.}}}
#if: {{{id|}}} | &#32;{{{id}}}{{{sep|.}}}
}}{{
}}{{
#if: {{{pmid|}}} | &#32;{{PMID|{{{pmid}}}}}{{{sep|.}}}
#if: {{{pmid|}}} | &#32;PMID {{{pmid}}}{{{sep|.}}}
}}{{
}}{{
#if: {{{pmc|}}}
#if: {{{pmc|}}}
| {{#if: {{{url|}}}
| {{#if: {{{url|}}}
| &#32;{{PMC|{{{pmc}}}}}{{{sep|.}}}
| &#32;[[PubMed Central|PMC]] [http://www.ncbi.nlm.nih.gov/pmc/articles/PMC{{{pmc}}}/ {{{pmc}}}]{{{sep|.}}}
}}
}}
}}{{
}}{{
#if: {{{bibcode|}}} | &#32;{{Bibcode|{{{bibcode}}}}}{{{sep|.}}}
#if: {{{bibcode|}}} | &#32;[[Bibcode]]:[http://adsabs.harvard.edu/abs/{{{bibcode}}} {{{bibcode}}}]{{{sep|.}}}
}}{{
}}{{
#if: {{{quote|}}} | &#32;"{{{quote}}}"
#if: {{{quote|}}} | &#32;"{{{quote}}}"

Latest revision as of 11:24, 20 March 2024

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}