|
|
Line 5: |
Line 5: |
| This is a simplified implementation of the '''cite journal''' template found on Wikipedia. | | This is a simplified implementation of the '''cite journal''' template found on Wikipedia. |
| | | |
− | Features: | + | '''Features''': |
| | | |
| *based on the [https://en.wikipedia.org/wiki/Template:Cite_journal English Wikipedia equivalent] | | *based on the [https://en.wikipedia.org/wiki/Template:Cite_journal English Wikipedia equivalent] |
| *all common parameters are supported | | *all common parameters are supported |
− | *the maximum number of authors is 25 | + | *up to 25 authors can be listed |
− | *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 | + | *the <span style="background-color: gainsboro; padding-left: 0.5em; padding-right: 0.5em">title</span> field is mandatory |
| + | *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 (if you must) |
| | | |
− | Limitations: | + | '''Limitations''': |
| | | |
− | *no integrity checks are undertaken, aside from noting an absent title field in orange (see above) | + | *no integrity checks are undertaken, aside from noting an absent title field in orange (as shown above) |
| *no metadata is injected into the HTML and the resulting page cannot be scraped by Zotero or Mendeley | | *no metadata is injected into the HTML and the resulting page cannot be scraped by Zotero or Mendeley |
| + | *the page range should be separated by an en dash (&ndash;) but this is not enforced |
| + | |
| + | == Usage == |
| + | |
| + | <pre style="font-size: 85%"> |
| + | {{cite journal |
| + | | first1 = | last1 = |
| + | | display-authors = etal |
| + | | title = |
| + | | date = |
| + | | journal = |
| + | | volume = |
| + | | number = |
| + | | pages = |
| + | | doi = |
| + | | issn = |
| + | | url = |
| + | | access-date = |
| + | }} |
| + | </pre> |
| | | |
| == Example == | | == Example == |
Revision as of 17:36, 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
- up to 25 authors can be listed
- the title field is mandatory
- the display-authors = etal field can be used to truncate the author list (if you must)
Limitations:
- no integrity checks are undertaken, aside from noting an absent title field in orange (as shown above)
- no metadata is injected into the HTML and the resulting page cannot be scraped by Zotero or Mendeley
- the page range should be separated by an en dash (–) but this is not enforced
Usage
{{cite journal
| first1 = | last1 =
| display-authors = etal
| title =
| date =
| journal =
| volume =
| number =
| pages =
| doi =
| issn =
| url =
| access-date =
}}
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.