Template:Cite journal: Difference between revisions
From IDWiki
imported>Fuhghettaboutit m (Changed protection level of Template:Cite journal: when I changed this to add template editors, I didn't realize it had cascding protection—so all my change did was make it appear as if it could be edited by them ([Edit=Allow only administrators] (in...) |
(Created page with "<span class="citation"{{ #if: {{{ref|{{{harvid|}}}}}} | <nowiki/> id="{{anchorencode:{{{ref|CITEREF{{{harvid}}}}}}}}" }}>{{ #if: {{{author|{{{authors|}}}}}} | {{{autho...") |
||
Line 1: | Line 1: | ||
<span class="citation"{{ |
|||
<includeonly>{{#invoke:Citation/CS1|citation |
|||
#if: {{{ref|{{{harvid|}}}}}} |
|||
|CitationClass=journal |
|||
| <nowiki/> id="{{anchorencode:{{{ref|CITEREF{{{harvid}}}}}}}}" |
|||
}}</includeonly><noinclude> |
|||
}}>{{ |
|||
#if: {{{author|{{{authors|}}}}}} |
|||
| {{{author|{{{authors}}}}}}{{{author.|{{{sep|.}}}}}}  |
|||
}}{{ |
|||
#if: {{{editor|{{{editors|}}}}}} |
|||
| {{{editor|{{{editors}}}}}}{{{editor.|{{{sep|.}}}}}}  |
|||
}}{{ |
|||
#if: {{{url|}}}{{{pmc|}}}{{{title|}}}{{{trans_title|}}}{{{articletype|}}} |
|||
|  {{ |
|||
#if: {{{url|}}}{{{pmc|}}} |
|||
| [{{#if: {{{url|}}} |
|||
| {{{url}}} |
|||
| https://www.ncbi.nlm.nih.gov/pmc/articles/PMC{{{pmc}}}/ |
|||
}} {{#if:|| |
|||
{{{title|}}} {{ |
|||
#if: {{{trans_title|}}} | [{{{trans_title}}}] |
|||
}} {{ |
|||
#if: {{{articletype|}}} | [{{{articletype}}}] |
|||
}} |
|||
}}] |
|||
| {{{title|}}} {{ |
|||
#if: {{{trans_title|}}} | [{{{trans_title}}}] |
|||
}} {{ |
|||
#if: {{{articletype|}}} | [{{{articletype}}}] |
|||
}} |
|||
}}{{ |
|||
#if: {{{format|}}} |  [{{{format}}}] |
|||
}}{{ |
|||
#if: {{{trans_title|}}}{{{articletype|}}}{{{format|}}} |
|||
| {{{sep|.}}} |
|||
| {{{title.|{{{sep|.}}}}}} |
|||
}} |
|||
}}{{ |
|||
#if: {{{journal|}}} |  ''<nowiki/>{{{journal|}}}<nowiki/>'' |
|||
}}{{ |
|||
#if: {{{edition|}}} |  ({{{edition}}}) |
|||
}}{{ |
|||
#if: {{{journalformat|}}} |  [{{{journalformat}}}] |
|||
}}{{ |
|||
#if: {{{edition|}}}{{{journalformat|}}} |
|||
| {{{sep|.}}} |
|||
| {{#if: {{{journal|}}} | {{{journal.|{{{sep|.}}}}}} }} |
|||
}}{{ |
|||
#if: {{{date|{{{year|}}}}}}{{{update|}}}{{{archive-url|{{{archiveurl|}}}}}}{{{accessdate|}}} |
|||
| {{#if: {{{date|{{{year|}}}}}} |  {{{date|{{{year}}}}}} }}{{ |
|||
#if: {{{update|}}}{{{archive-url|{{{archiveurl|}}}}}}{{{accessdate|}}} |
|||
|  [{{{update|}}}{{ |
|||
#if: {{{archive-url|{{{archiveurl|}}}}}} |
|||
| {{#if: {{{update|}}} | <nowiki/>;  |
|||
}}[{{{archive-url|{{{archiveurl}}}}}} archived] {{{archive-date|{{{archivedate|}}}}}} |
|||
}}{{ |
|||
#if: {{{accessdate|}}} |
|||
| {{#if: {{{update|}}}{{{archive-url|{{{archiveurl|}}}}}} | <nowiki/>;  |
|||
}}Retrieved {{{accessdate}}} |
|||
}}] |
|||
}}{{#if: {{{volume|}}}{{{issue|}}} | <nowiki/>; }} |
|||
| {{#if: {{{volume|}}}{{{issue|}}} |   }} |
|||
}}{{{volume|}}}{{#if: {{{issue|}}} | ({{{issue}}}) }}{{ |
|||
#if: {{{p|{{{pages|{{{page|{{{at|}}}}}}}}}}}} |
|||
| <nowiki/>:{{{p|{{{pages|{{{page|{{{at}}}}}}}}}}}}{{{sep|.}}} |
|||
| {{#if: {{{date|{{{year|}}}}}}{{{update|}}}{{{archive-url|{{{archiveurl|}}}}}}{{{accessdate|}}}{{{volume|}}}{{{issue|}}} | {{{sep|.}}} }} |
|||
}}{{ |
|||
#if: {{{language|}}} |  {{{language}}}{{{sep|.}}} |
|||
}}{{ |
|||
#if: {{{doi|}}} |
|||
|  {{ |
|||
#if: {{{doi_brokendate|}}} |
|||
| {{doi|{{{doi}}}}} (inactive {{{doi_brokendate}}}) {{ |
|||
#ifeq: {{NAMESPACE}} | {{ns:0}} |
|||
| [[Category:Pages with DOIs broken since {{#time: Y | {{{doi_brokendate}}} }}]] |
|||
}} |
|||
| {{doi|{{{doi}}}}} |
|||
}}{{{sep|.}}} |
|||
}}{{ |
|||
#if: {{{id|}}} |  {{{id}}}{{{sep|.}}} |
|||
}}{{ |
|||
#if: {{{pmid|}}} |  {{PMID|{{{pmid}}}}}{{{sep|.}}} |
|||
}}{{ |
|||
#if: {{{pmc|}}} |
|||
| {{#if: {{{url|}}} |
|||
|  {{PMC|{{{pmc}}}}}{{{sep|.}}} |
|||
}} |
|||
}}{{ |
|||
#if: {{{bibcode|}}} |  {{Bibcode|{{{bibcode}}}}}{{{sep|.}}} |
|||
}}{{ |
|||
#if: {{{quote|}}} |  "{{{quote}}}" |
|||
}}{{ |
|||
#if: {{{laysummary|}}} |
|||
|  [{{{laysummary}}} Lay summary]{{ |
|||
#if: {{{laysource|}}} | <nowiki/>: ''<nowiki/>{{{laysource}}}<nowiki/>'' |
|||
}}{{#if: {{{laydate|}}} | , {{{laydate}}} }}{{{sep|.}}} |
|||
}}{{ |
|||
#if: {{{notes|}}} |  {{{notes}}} |
|||
}}{{ |
|||
#if: {{{partid|}}} |  {{{partid}}} |
|||
}}{{ |
|||
#if: {{{parturl|}}}{{{parttitle|}}}{{{trans_parttitle|}}} |
|||
| {{#if: {{{partid|}}} | , }} {{ |
|||
#if: {{{parturl|}}} |
|||
| [{{{parturl}}} {{#if:|| |
|||
{{{parttitle|}}} {{ |
|||
#if: {{{trans_parttitle|}}} | [{{{trans_parttitle}}}] |
|||
}} |
|||
}}] |
|||
| {{{parttitle|}}} {{ |
|||
#if: {{{trans_parttitle|}}} | [{{{trans_parttitle}}}] |
|||
}} |
|||
}} |
|||
}}{{ |
|||
#if: {{{partp|}}} |
|||
| {{#if: {{{partid|}}}{{{parturl|}}}{{{parttitle|}}}{{{trans_parttitle|}}} | <nowiki/>; }} p. {{{partp}}}{{{sep|.}}} |
|||
| {{#if: {{{trans_parttitle|}}} |
|||
| {{{sep|.}}} |
|||
| {{#if: {{{parttitle|}}} |
|||
| {{{parttitle.|.}}} |
|||
| {{#if: {{{partid|}}}{{{parturl|}}} | {{{sep|.}}} }} |
|||
}} |
|||
}} |
|||
}}</span><noinclude> |
|||
{{documentation}} |
{{documentation}} |
||
</noinclude> |
</noinclude> |
Revision as of 17:56, 27 August 2019
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}