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|.}}}}}}&#32;
}}{{
#if: {{{editor|{{{editors|}}}}}}
| {{{editor|{{{editors}}}}}}{{{editor.|{{{sep|.}}}}}}&#32;
}}{{
#if: {{{url|}}}{{{pmc|}}}{{{title|}}}{{{trans_title|}}}{{{articletype|}}}
| &#32;{{
#if: {{{url|}}}{{{pmc|}}}
| [{{#if: {{{url|}}}
| {{{url}}}
| https://www.ncbi.nlm.nih.gov/pmc/articles/PMC{{{pmc}}}/
}} {{#if:||
{{{title|}}} {{
#if: {{{trans_title|}}} | &#91;{{{trans_title}}}&#93;
}} {{
#if: {{{articletype|}}} | &#91;{{{articletype}}}&#93;
}}
}}]
| {{{title|}}} {{
#if: {{{trans_title|}}} | &#91;{{{trans_title}}}&#93;
}} {{
#if: {{{articletype|}}} | &#91;{{{articletype}}}&#93;
}}
}}{{
#if: {{{format|}}} | &#32;&#91;{{{format}}}&#93;
}}{{
#if: {{{trans_title|}}}{{{articletype|}}}{{{format|}}}
| {{{sep|.}}}
| {{{title.|{{{sep|.}}}}}}
}}
}}{{
#if: {{{journal|}}} | &#32;''<nowiki/>{{{journal|}}}<nowiki/>''
}}{{
#if: {{{edition|}}} | &#32;({{{edition}}})
}}{{
#if: {{{journalformat|}}} | &#32;&#91;{{{journalformat}}}&#93;
}}{{
#if: {{{edition|}}}{{{journalformat|}}}
| {{{sep|.}}}
| {{#if: {{{journal|}}} | {{{journal.|{{{sep|.}}}}}} }}
}}{{
#if: {{{date|{{{year|}}}}}}{{{update|}}}{{{archive-url|{{{archiveurl|}}}}}}{{{accessdate|}}}
| {{#if: {{{date|{{{year|}}}}}} | &#32;{{{date|{{{year}}}}}} }}{{
#if: {{{update|}}}{{{archive-url|{{{archiveurl|}}}}}}{{{accessdate|}}}
| &#32;&#91;{{{update|}}}{{
#if: {{{archive-url|{{{archiveurl|}}}}}}
| {{#if: {{{update|}}} | <nowiki/>;&#32;
}}[{{{archive-url|{{{archiveurl}}}}}} archived] {{{archive-date|{{{archivedate|}}}}}}
}}{{
#if: {{{accessdate|}}}
| {{#if: {{{update|}}}{{{archive-url|{{{archiveurl|}}}}}} | <nowiki/>;&#32;
}}Retrieved {{{accessdate}}}
}}&#93;
}}{{#if: {{{volume|}}}{{{issue|}}} | <nowiki/>; }}
| {{#if: {{{volume|}}}{{{issue|}}} | &#32; }}
}}{{{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|}}} | &#32;{{{language}}}{{{sep|.}}}
}}{{
#if: {{{doi|}}}
| &#32;{{
#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|}}} | &#32;{{{id}}}{{{sep|.}}}
}}{{
#if: {{{pmid|}}} | &#32;{{PMID|{{{pmid}}}}}{{{sep|.}}}
}}{{
#if: {{{pmc|}}}
| {{#if: {{{url|}}}
| &#32;{{PMC|{{{pmc}}}}}{{{sep|.}}}
}}
}}{{
#if: {{{bibcode|}}} | &#32;{{Bibcode|{{{bibcode}}}}}{{{sep|.}}}
}}{{
#if: {{{quote|}}} | &#32;"{{{quote}}}"
}}{{
#if: {{{laysummary|}}}
| &#32;[{{{laysummary}}} Lay summary]{{
#if: {{{laysource|}}} | <nowiki/>: ''<nowiki/>{{{laysource}}}<nowiki/>''
}}{{#if: {{{laydate|}}} | , {{{laydate}}} }}{{{sep|.}}}
}}{{
#if: {{{notes|}}} | &#32;{{{notes}}}
}}{{
#if: {{{partid|}}} | &#32;{{{partid}}}
}}{{
#if: {{{parturl|}}}{{{parttitle|}}}{{{trans_parttitle|}}}
| {{#if: {{{partid|}}} | , }}&#32;{{
#if: {{{parturl|}}}
| [{{{parturl}}} {{#if:||
{{{parttitle|}}} {{
#if: {{{trans_parttitle|}}} | &#91;{{{trans_parttitle}}}&#93;
}}
}}]
| {{{parttitle|}}} {{
#if: {{{trans_parttitle|}}} | &#91;{{{trans_parttitle}}}&#93;
}}
}}
}}{{
#if: {{{partp|}}}
| {{#if: {{{partid|}}}{{{parturl|}}}{{{parttitle|}}}{{{trans_parttitle|}}} | <nowiki/>; }}&#32;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}}}}}}