|
|
Line 1: |
Line 1: |
− | {{#if: {{{last1|}}} | {{{last1|}}} }}{{#if: {{{first1|}}} | , {{{first1|}}} }}{{#if: {{{last2|}}} | ; {{{last2|}}} }}{{#if: {{{first2|}}} | , {{{first2|}}} }}{{#if: {{{last3|}}} | ; {{{last3|}}} }}{{#if: {{{first3|}}} | , {{{first3|}}} }}{{#if: {{{last4|}}} | ; {{{last4|}}} }}{{#if: {{{first4|}}} | , {{{first4|}}} }}{{#if: {{{last5|}}} | ; {{{last5|}}} }}{{#if: {{{first5|}}} | , {{{first5|}}} }}{{#if: {{{last6|}}} | ; {{{last6|}}} }}{{#if: {{{first6|}}} | , {{{first6|}}} }}{{#if: {{{last7|}}} | ; {{{last7|}}} }}{{#if: {{{first7|}}} | , {{{first7|}}} }}{{#if: {{{last8|}}} | ; {{{last8|}}} }}{{#if: {{{first8|}}} | , {{{first8|}}} }}{{#if: {{{last9|}}} | ; {{{last9|}}} }}{{#if: {{{first9|}}} | , {{{first9|}}} }}{{#if: {{{last10|}}} | ; {{{last10|}}} }}{{#if: {{{first10|}}} | , {{{first10|}}} }}{{#if: {{{last11|}}} | ; {{{last11|}}} }}{{#if: {{{first11|}}} | , {{{first11|}}} }}{{#if: {{{last12|}}} | ; {{{last12|}}} }}{{#if: {{{first12|}}} | , {{{first12|}}} }}{{#if: {{{last13|}}} | ; {{{last13|}}} }}{{#if: {{{first13|}}} | , {{{first13|}}} }}{{#if: {{{last14|}}} | ; {{{last14|}}} }}{{#if: {{{first14|}}} | , {{{first14|}}} }}{{#if: {{{last15|}}} | ; {{{last15|}}} }}{{#if: {{{first15|}}} | , {{{first15|}}} }}{{#if: {{{last16|}}} | ; {{{last16|}}} }}{{#if: {{{first16|}}} | , {{{first16|}}} }}{{#if: {{{last17|}}} | ; {{{last17|}}} }}{{#if: {{{first17|}}} | , {{{first17|}}} }}{{#if: {{{last18|}}} | ; {{{last18|}}} }}{{#if: {{{first18|}}} | , {{{first18|}}} }}{{#if: {{{last18|}}} | ; {{{last19|}}} }}{{#if: {{{first19|}}} | , {{{first19|}}} }}{{#if: {{{last20|}}} | ; {{{last20|}}} }}{{#if: {{{first20|}}} | , {{{first20|}}} }}{{#if: {{{last21|}}} | ; {{{last21|}}} }}{{#if: {{{first21|}}} | , {{{first21|}}} }}{{#if: {{{last22|}}} | ; {{{last22|}}} }}{{#if: {{{first22|}}} | , {{{first22|}}} }}{{#if: {{{last23|}}} | ; {{{last23|}}} }}{{#if: {{{first23|}}} | , {{{first23|}}} }}{{#if: {{{last24|}}} | ; {{{last24|}}} }}{{#if: {{{first24|}}} | , {{{first24|}}} }}{{#if: {{{last25|}}} | ; {{{last25|}}} }}{{#if: {{{first25|}}} | , {{{first25|}}} }}{{#ifeq: {{{display-authors|}}} | etal | ; et al. }}{{#if: {{{last1|}}} |   }}{{#if: {{{date|}}} | ({{{date|}}}). }}{{#if: {{{date|}}} |   }}{{#if: {{{url|}}} | [{{{url|}}} "{{{title|{{orange|title required}}}}}".] | "{{{title|{{orange|title required}}}}}". }}{{#if: {{{journal|}}} |  <i>{{{journal|}}}</i>. }}{{#if: {{{volume|}}} |  '''{{{volume|}}}''' }}{{#if: {{{number|}}} |  ({{{number|}}}) }}{{#if: {{{pages|}}} | : {{{pages|}}} }}{{#if: {{{volume|}}} | . }}{{#if: {{{doi|}}} |  [https://dx.doi.org/{{{doi|}}} doi:{{{doi|}}}.] }}{{#if: {{{issn|}}} |  ISSN [https://www.worldcat.org/issn/{{{issn|}}} {{{issn|}}}.] }}{{#if: {{{access-date|}}} |  Retrieved {{{access-date|}}}. }} | + | {{#if: {{{last1|}}} | {{{last1|}}} }}{{#if: {{{first1|}}} | , {{{first1|}}} }}{{#if: {{{last2|}}} | ; {{{last2|}}} }}{{#if: {{{first2|}}} | , {{{first2|}}} }}{{#if: {{{last3|}}} | ; {{{last3|}}} }}{{#if: {{{first3|}}} | , {{{first3|}}} }}{{#if: {{{last4|}}} | ; {{{last4|}}} }}{{#if: {{{first4|}}} | , {{{first4|}}} }}{{#if: {{{last5|}}} | ; {{{last5|}}} }}{{#if: {{{first5|}}} | , {{{first5|}}} }}{{#if: {{{last6|}}} | ; {{{last6|}}} }}{{#if: {{{first6|}}} | , {{{first6|}}} }}{{#if: {{{last7|}}} | ; {{{last7|}}} }}{{#if: {{{first7|}}} | , {{{first7|}}} }}{{#if: {{{last8|}}} | ; {{{last8|}}} }}{{#if: {{{first8|}}} | , {{{first8|}}} }}{{#if: {{{last9|}}} | ; {{{last9|}}} }}{{#if: {{{first9|}}} | , {{{first9|}}} }}{{#if: {{{last10|}}} | ; {{{last10|}}} }}{{#if: {{{first10|}}} | , {{{first10|}}} }}{{#if: {{{last11|}}} | ; {{{last11|}}} }}{{#if: {{{first11|}}} | , {{{first11|}}} }}{{#if: {{{last12|}}} | ; {{{last12|}}} }}{{#if: {{{first12|}}} | , {{{first12|}}} }}{{#if: {{{last13|}}} | ; {{{last13|}}} }}{{#if: {{{first13|}}} | , {{{first13|}}} }}{{#if: {{{last14|}}} | ; {{{last14|}}} }}{{#if: {{{first14|}}} | , {{{first14|}}} }}{{#if: {{{last15|}}} | ; {{{last15|}}} }}{{#if: {{{first15|}}} | , {{{first15|}}} }}{{#if: {{{last16|}}} | ; {{{last16|}}} }}{{#if: {{{first16|}}} | , {{{first16|}}} }}{{#if: {{{last17|}}} | ; {{{last17|}}} }}{{#if: {{{first17|}}} | , {{{first17|}}} }}{{#if: {{{last18|}}} | ; {{{last18|}}} }}{{#if: {{{first18|}}} | , {{{first18|}}} }}{{#if: {{{last18|}}} | ; {{{last19|}}} }}{{#if: {{{first19|}}} | , {{{first19|}}} }}{{#if: {{{last20|}}} | ; {{{last20|}}} }}{{#if: {{{first20|}}} | , {{{first20|}}} }}{{#if: {{{last21|}}} | ; {{{last21|}}} }}{{#if: {{{first21|}}} | , {{{first21|}}} }}{{#if: {{{last22|}}} | ; {{{last22|}}} }}{{#if: {{{first22|}}} | , {{{first22|}}} }}{{#if: {{{last23|}}} | ; {{{last23|}}} }}{{#if: {{{first23|}}} | , {{{first23|}}} }}{{#if: {{{last24|}}} | ; {{{last24|}}} }}{{#if: {{{first24|}}} | , {{{first24|}}} }}{{#if: {{{last25|}}} | ; {{{last25|}}} }}{{#if: {{{first25|}}} | , {{{first25|}}} }}{{#ifeq: {{{display-authors|}}} | etal | ; et al. }}{{#if: {{{last1|}}} |   }}{{#if: {{{date|}}} | ({{{date|}}}). }}{{#if: {{{date|}}} |   }}{{#if: {{{url|}}} | [{{{url|}}} "{{{title|{{orange|title required}}}}}".] | "{{{title|{{orange|title required}}}}}". }}{{#if: {{{journal|}}} |  <i>{{{journal|}}}</i>. }}{{#if: {{{volume|}}} |  '''{{{volume|}}}''' }}{{#if: {{{number|}}} |  ({{{number|}}}) }}{{#if: {{{pages|}}} | : {{{pages|}}} }}{{#if: {{{volume|}}} | . }}{{#if: {{{doi|}}} |  doi:[https://dx.doi.org/{{{doi|}}} {{{doi|}}}.] }}{{#if: {{{issn|}}} |  ISSN [https://www.worldcat.org/issn/{{{issn|}}} {{{issn|}}}.] }}{{#if: {{{access-date|}}} |  Retrieved {{{access-date|}}}. }}<noinclude> |
| + | <br> |
| + | == Overview == |
| + | |
| + | This is a simplified implementation of the '''cite journal''' template found on Wikipedia. |
| + | |
| + | Features: |
| + | |
| + | *based on the [https://en.wikipedia.org/wiki/Template:Cite_journal English Wikipedia equivalent] |
| + | *all common parameters are supported |
| + | *the maximum number of authors is 25 |
| + | *the <span style="background-color: gainsboro; padding-left: 0.5em; padding-right: 0.5em">display-authors = etal</span> field can be used to truncate the author list |
| + | |
| + | Limitations: |
| + | |
| + | *no integrity checks are undertaken, aside from noting an absent title field in orange (see above) |
| + | *no metadata is injected into the HTML and the resulting page cannot be scraped by Zotero or Mendeley |
| + | |
| + | == Example == |
| + | |
| + | <pre style="font-size: 85%"> |
| + | {{cite journal |
| + | | first1 = Bill | last1 = Frog |
| + | | first2 = Jill | last2 = Bean |
| + | | display-authors = etal |
| + | | title = Open energy system modeling |
| + | | date = 9 December 2016 |
| + | | journal = Open Journal |
| + | | volume = 10 |
| + | | number = 20 |
| + | | pages = 30–40 |
| + | | doi = 10.1000/12345678 |
| + | | issn = 1234-5679 |
| + | | url = http://website.org/frog-2016-oesm.pdf |
| + | | access-date = 2016-12-09 |
| + | }} |
| + | </pre> |
| + | |
| + | {{cite journal |
| + | | first1 = Bill | last1 = Frog |
| + | | first2 = Jill | last2 = Bean |
| + | | display-authors = etal |
| + | | title = Open energy system modeling |
| + | | date = 9 December 2016 |
| + | | journal = Open Journal |
| + | | volume = 10 |
| + | | number = 20 |
| + | | pages = 30–40 |
| + | | doi = 10.1000/12345678 |
| + | | issn = 1234-5679 |
| + | | url = http://website.org/frog-2016-oesm.pdf |
| + | | access-date = 2016-12-09 |
| + | }} |
| + | |
| + | </noinclude> |
Revision as of 17:21, 9 December 2016
"title required".
Overview
This is a simplified implementation of the cite journal template found on Wikipedia.
Features:
- based on the English Wikipedia equivalent
- all common parameters are supported
- the maximum number of authors is 25
- the display-authors = etal field can be used to truncate the author list
Limitations:
- no integrity checks are undertaken, aside from noting an absent title field in orange (see above)
- no metadata is injected into the HTML and the resulting page cannot be scraped by Zotero or Mendeley
Example
{{cite journal
| first1 = Bill | last1 = Frog
| first2 = Jill | last2 = Bean
| display-authors = etal
| title = Open energy system modeling
| date = 9 December 2016
| journal = Open Journal
| volume = 10
| number = 20
| pages = 30–40
| doi = 10.1000/12345678
| issn = 1234-5679
| url = http://website.org/frog-2016-oesm.pdf
| access-date = 2016-12-09
}}
Frog, Bill; Bean, Jill; et al. (9 December 2016). "Open energy system modeling". Open Journal. 10 (20): 30–40. doi:10.1000/12345678. ISSN 1234-5679. Retrieved 2016-12-09.