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}}} |
||
| |
| 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|}}} |
#if: {{{date|{{{year|}}}}}}{{{update|}}}{{{archiveurl|}}}{{{accessdate|}}} |
||
| {{#if: {{{date|{{{year|}}}}}} |  {{{date|{{{year}}}}}} }}{{ |
| {{#if: {{{date|{{{year|}}}}}} |  {{{date|{{{year}}}}}} }}{{ |
||
#if: {{{update|}}} |
#if: {{{update|}}}{{{archiveurl|}}}{{{accessdate|}}} |
||
|  [{{{update|}}}{{ |
|  [{{{update|}}}{{ |
||
#if: |
#if: {{{archiveurl|}}} |
||
| {{#if: {{{update|}}} | <nowiki/>;  |
| {{#if: {{{update|}}} | <nowiki/>;  |
||
}}[ |
}}[{{{archiveurl}}} archived] {{{archivedate|}}} |
||
}}{{ |
}}{{ |
||
#if: {{{accessdate|}}} |
#if: {{{accessdate|}}} |
||
| {{#if: {{{update|}}} |
| {{#if: {{{update|}}}{{{archiveurl|}}} | <nowiki/>;  |
||
}} |
}}cited {{{accessdate}}} |
||
}}] |
}}] |
||
}}{{#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|}}} |
| {{#if: {{{date|{{{year|}}}}}}{{{update|}}}{{{archiveurl|}}}{{{accessdate|}}}{{{volume|}}}{{{issue|}}} | {{{sep|.}}} }} |
||
}}{{ |
}}{{ |
||
#if: {{{language|}}} |  {{{language}}}{{{sep|.}}} |
#if: {{{language|}}} |  {{{language}}}{{{sep|.}}} |
||
Line 69: | Line 69: | ||
|  {{ |
|  {{ |
||
#if: {{{doi_brokendate|}}} |
#if: {{{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|}}} |  {{{id}}}{{{sep|.}}} |
#if: {{{id|}}} |  {{{id}}}{{{sep|.}}} |
||
}}{{ |
}}{{ |
||
#if: {{{pmid|}}} |   |
#if: {{{pmid|}}} |  PMID {{{pmid}}}{{{sep|.}}} |
||
}}{{ |
}}{{ |
||
#if: {{{pmc|}}} |
#if: {{{pmc|}}} |
||
| {{#if: {{{url|}}} |
| {{#if: {{{url|}}} |
||
|   |
|  [[PubMed Central|PMC]] [http://www.ncbi.nlm.nih.gov/pmc/articles/PMC{{{pmc}}}/ {{{pmc}}}]{{{sep|.}}} |
||
}} |
}} |
||
}}{{ |
}}{{ |
||
#if: {{{bibcode|}}} |   |
#if: {{{bibcode|}}} |  [[Bibcode]]:[http://adsabs.harvard.edu/abs/{{{bibcode}}} {{{bibcode}}}]{{{sep|.}}} |
||
}}{{ |
}}{{ |
||
#if: {{{quote|}}} |  "{{{quote}}}" |
#if: {{{quote|}}} |  "{{{quote}}}" |
Latest revision as of 11:24, 20 March 2024
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}