Template:Cite journal: Difference between revisions
Jump to navigation
Jump to search
dplus_>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...) |
Dplus admin (talk | contribs) m (1 revision imported) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{# |
<includeonly><cite style="font-style:normal">{{#if:{{{author|}}}{{{last|}}} |
||
|{{#if:{{{authorlink|}}} |
|||
|CitationClass=journal |
|||
|[[{{{authorlink}}}|{{#if: |
|||
}}</includeonly><noinclude> |
|||
{{{last|}}} |
|||
|{{{last}}}{{#if: |
|||
{{{first|}}} |
|||
|, {{{first}}} |
|||
}} |
|||
|{{{author}}} |
|||
}}]] |
|||
|{{#if:{{{last|}}} |
|||
|{{{last}}}{{#if: |
|||
{{{first|}}} |
|||
|, {{{first}}} |
|||
}} |
|||
|{{{author}}} |
|||
}} |
|||
}} |
|||
}}{{#if:{{{author|}}}{{{last|}}} |
|||
|{{#if:{{{coauthors|}}} |
|||
| <nowiki>;</nowiki> {{{coauthors}}} |
|||
}}{{#if:{{{date|}}} |
|||
| ({{{date}}}) |
|||
|{{#if:{{{year|}}} |
|||
|{{#if:{{{month|}}} |
|||
| ({{{month}}} {{{year}}}) |
|||
| ({{{year}}}) |
|||
}} |
|||
}} |
|||
}} |
|||
}}{{#if:{{{author|}}}{{{last|}}} |
|||
| . |
|||
}}{{#if:{{{author|}}}{{{last|}}}{{{year|}}}{{{date|}}} |
|||
|   |
|||
}}{{#ifeq:{{{quotes|}}} |
|||
| no |
|||
| |
|||
| {{#if: {{{curly|}}}|“|"}} |
|||
}}{{#if:{{{url|}}}{{{pmc|}}} |
|||
|{{#ifeq:{{{title|}}}||<span class="error">Citation is missing a title.</span> }}[{{#if:{{{url|}}}|{{{url|}}}|http://www.pubmedcentral.gov/articlerender.fcgi?tool=pmcentrez&artid={{{pmc}}}}} {{{title}}}] |
|||
|{{{title}}} |
|||
}}{{#ifeq:{{{quotes|}}} |
|||
| no |
|||
| |
|||
| {{#if:{{{curly|}}}|”|"}} |
|||
}}{{#if:{{{language|}}} |
|||
|  (in {{{language}}}) |
|||
}}{{#if:{{{format|}}} |
|||
|  ({{{format}}}) |
|||
}}{{#if:{{{author|}}}{{{last|}}} |
|||
| |
|||
|  {{#if:{{{date|}}} |
|||
| ({{{date}}}) |
|||
|{{#if:{{{year|}}} |
|||
|{{#if:{{{month|}}} |
|||
| ({{{month}}} {{{year}}}) |
|||
| ({{{year}}}) |
|||
}} |
|||
}} |
|||
}} |
|||
}}{{#if:{{{journal|{{{work|}}}}}} |
|||
|. ''{{{journal|{{{work}}}}}}'' |
|||
}}{{#if:{{{volume|}}} |
|||
| '''{{{volume}}}''' |
|||
}}{{#if:{{{issue|}}} |
|||
| ({{{issue}}}) |
|||
}}{{#if:{{{pages|}}} |
|||
|<nowiki>:</nowiki> {{{pages}}} |
|||
}}{{#if:{{{publisher|}}} |
|||
|. {{#if:{{{location|}}} |
|||
|{{{location}}}:  |
|||
}}{{{publisher}}} |
|||
}}{{#if:{{{doi|}}} |
|||
|. [[w:Digital object identifier|doi]]:{{#if: {{{doi_brokendate|}}} |
|||
| {{#tag:nowiki|{{{doi}}}}} (inactive [[{{{doi_brokendate|}}}]]) {{#ifeq: {{NAMESPACE}} | {{ns:0}} | [[Category:Pages with DOIs broken since {{#time: Y | {{{doi_brokendate|}}} }}]] }} |
|||
| <span class="neverexpand">[https://dx.doi.org/{{urlencode:{{{doi}}}}} {{#tag:nowiki|{{{doi}}}}}]</span> |
|||
}} |
|||
}}{{#if:{{{issn|}}} |
|||
|. [[w:International Standard Serial Number|ISSN]] [http://worldcat.org/issn/{{{issn}}} {{{issn}}}] |
|||
}}{{#if:{{{pmid|}}} |
|||
|. {{PMID|{{{pmid}}}}} |
|||
}}{{#if:{{{pmc|}}} |
|||
| {{#if:{{{url|}}} |. [[w:PubMed Central|PMC]]:[http://www.pubmedcentral.gov/articlerender.fcgi?tool=pmcentrez&artid={{{pmc}}} {{{pmc}}}]}} |
|||
}}{{#if:{{{bibcode|}}} |
|||
|. [[w:Bibcode]]: [http://adsabs.harvard.edu/abs/{{{bibcode}}} {{{bibcode}}}] |
|||
}}{{#if:{{{oclc|}}} |
|||
|. [[w:OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}] |
|||
}}{{#if:{{{id|}}} |
|||
|. {{{id}}} |
|||
}}{{#if:{{{accessdate|}}} |
|||
|. Retrieved on [[{{{accessdate}}}]]{{#if: {{{accessyear|}}} | , [[{{{accessyear}}}]] }} |
|||
}}{{#if:{{{accessmonthday|}}} |
|||
|  Retrieved on {{{accessmonthday}}}, {{{accessyear}}} |
|||
}}{{#if:{{{accessdaymonth|}}} |
|||
|  Retrieved on {{{accessdaymonth}}} {{{accessyear}}} |
|||
}}{{#if:{{{laysummary|}}} |
|||
|. [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}| – ''{{{laysource}}}''}} |
|||
}}{{#if:{{{laydate|}}} |
|||
|  ([[{{{laydate}}}]]) |
|||
}}.{{#if:{{{quote|}}} |
|||
|  “{{{quote}}}” |
|||
}}</cite><!-- |
|||
This is a COinS tag (http://ocoins.info), which allows automated tools to parse the citation information: |
|||
--><span class="Z3988" title="ctx_ver=Z39.88-2004<!-- |
|||
-->&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:journal}}<!-- Field descriptions: http://www.openurl.info/registry/docs/mtx/info:ofi/fmt:kev:mtx:journal |
|||
-->&rft.genre=article<!-- article: a document published in a journal. (genre could also be (the entire) journal, issue, conference, proceeding, preprint, or unknown) |
|||
-->{{#if: {{{title|}}} | &rft.atitle={{urlencode:{{{title}}}}} }}<!-- Article title. |
|||
-->{{#if: {{{journal|{{{work|}}}}}} | &rft.jtitle={{urlencode:{{{journal|{{{work}}}}}}}} }}<!-- Journal title. Use the most complete title available ... "journal of the american medical association" |
|||
-->{{#if: {{{date|}}} |
|||
| &rft.date={{urlencode:{{{date}}}}} |
|||
| {{#if: {{{year|}}} | &rft.date={{urlencode:{{{year}}}}} }} }}<!-- Date of publication. (ISO 8601) |
|||
-->{{#if: {{{volume|}}} | &rft.volume={{urlencode:{{{volume}}}}} }}<!-- Volume designation usually expressed as a number but could be roman numerals or non-numeric, i.e. "124", or "VI". |
|||
-->{{#if: {{{issue|}}} | &rft.issue={{urlencode:{{{issue}}}}} }}<!-- This is the designation of the published issue of a journal ... could be non-numeric |
|||
-->{{#if: {{{author|}}} | &rft.au={{urlencode:{{{author}}}}} }}<!-- This data element contains the full name of a single author, i. e. "Smith, Fred M", "Harry S. Truman". |
|||
-->{{#if: {{{last|}}} | &rft.aulast={{urlencode:{{{last}}}}} }}<!-- First author's family name. This may be more than one word ... i.e. Smith, Fred James is recorded as "aulast=smith" |
|||
-->{{#if: {{{first|}}} | &rft.aufirst={{urlencode:{{{first}}}}} }}<!-- First author's given name or names or initials. This data element may contain multiple words and punctuation, i.e, "Fred James" |
|||
-->{{#if: {{{pages|}}} | &rft.pages={{urlencode:{{{pages}}}}} }}<!-- Start and end pages, i.e. "53-58". This can also be used for an unstructured pagination statement when data relating to pagination cannot be interpreted as a start-end pair, i.e. "A7, C4-9", "1-3,6". |
|||
-->{{#if: {{{issn|}}} | &rft.issn={{urlencode:{{{issn}}}}} }}<!-- International Standard Serials Number (ISSN). The issn may contain a hyphen, i.e. "1041-5653" |
|||
-->{{#if: {{{pmid|}}} | &rft_id=info:pmid/{{urlencode:{{{pmid}}}}}}}<!-- PubMed ID |
|||
-->{{#if: {{{pmc|}}} | &rft_id=info:pmc/{{urlencode:{{{pmc}}}}}}}<!-- PubMed Central ID |
|||
-->{{#if: {{{doi|}}} | &rft_id=info:doi/{{urlencode:{{{doi}}}}} }}<!-- DOI |
|||
-->{{#if: {{{url|}}} | &rft_id={{urlencode:{{{url}}}}} }}<!-- URL |
|||
-->"><span style="display: none;"> </span></span></includeonly><noinclude> |
|||
{{documentation}} |
{{documentation}} |
||
</noinclude> |
</noinclude> |
||
Latest revision as of 10:00, 25 April 2025
Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.