|
|
(32 intermediate revisions by one user not shown) |
Line 3: |
Line 3: |
| == Overview == | | == Overview == |
| | | |
− | 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. It is useful for published articles. |
| | | |
− | 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 | + | *use the <span style="background-color: gainsboro; padding-left: 0.5em; padding-right: 0.5em">display-authors = etal</span> field to truncate the author list (if you must) |
| + | *the <span style="background-color: gainsboro; padding-left: 0.5em; padding-right: 0.5em">title</span> field is '''mandatory''' |
| + | *you can copy-and-paste to and from Wikipedia (indeed the markup can be confirmed on Wikipedia first) |
| | | |
− | Limitations:
| + | '''Absent fields''': |
| | | |
− | *no integrity checks are undertaken, aside from noting an absent title field in orange (see above) | + | *the simplified <span style="background-color: gainsboro; padding-left: 0.5em; padding-right: 0.5em">first</span> and <span style="background-color: gainsboro; padding-left: 0.5em; padding-right: 0.5em">last</span> author fields are '''not''' supported |
− | *no metadata is injected into the HTML and the resulting page cannot be scraped by Zotero or Mendeley | + | *the <span style="background-color: gainsboro; padding-left: 0.5em; padding-right: 0.5em">trans-title</span> and <span style="background-color: gainsboro; padding-left: 0.5em; padding-right: 0.5em">language</span> fields are '''not''' supported |
| | | |
− | == Example == | + | '''Limitations''': |
| + | |
| + | *no '''integrity checks''' are undertaken, aside from noting an absent <span style="background-color: gainsboro; padding-left: 0.5em; padding-right: 0.5em">title</span> field in orange |
| + | *no '''metadata''' is injected into the HTML and the resulting page cannot be scraped by Zotero or Mendeley |
| + | *the <span style="background-color: gainsboro; padding-left: 0.5em; padding-right: 0.5em">pages</span> page range should ideally be separated by an '''en dash''' (&ndash;) but this is not enforced |
| + | *you must use the parameter names as specified, there are '''no aliases''' (unlike Wikipedia) |
| + | |
| + | '''See also''': |
| + | |
| + | *the [[Template:Cite book|cite book]] template |
| + | *the [[Template:Cite conference|cite conference]] template |
| + | *the [[Template:Open access|open access]] template for indicating open access publications |
| + | *the [[Template:Rp|rp]] template to add page references after the closing <code><nowiki></ref></nowiki></code> tag |
| + | *the [[Template:Doi|doi]] template for a single DOI string |
| + | |
| + | == Usage == |
| + | |
| + | This template is normally wrapped in <code><nowiki><ref name="cite-id"> </ref></nowiki></code> tags and the reference list invoked with the <code><nowiki><references/></nowiki></code> tag. |
| + | |
| + | <pre style="font-size: 85%"> |
| + | {{cite journal |
| + | | first1 = | last1 = |
| + | | first2 = | last2 = |
| + | | display-authors = etal |
| + | | title = |
| + | | date = |
| + | | journal = |
| + | | volume = |
| + | | number = |
| + | | pages = |
| + | | doi = |
| + | | issn = |
| + | | url = |
| + | | access-date = |
| + | }} |
| + | </pre> |
| + | |
| + | <pre style="font-size: 85%"> |
| + | {{cite journal | first1 = | last1 = | first2 = | last2 = | display-authors = etal |
| + | | title = | date = | journal = | volume = | number = | pages = | doi = | issn = |
| + | | url = | access-date = }} |
| + | </pre> |
| + | |
| + | == Examples == |
| | | |
| <pre style="font-size: 85%"> | | <pre style="font-size: 85%"> |
Line 52: |
Line 97: |
| | access-date = 2016-12-09 | | | access-date = 2016-12-09 |
| }} | | }} |
| + | |
| + | <pre style="font-size: 85%"> |
| + | {{cite journal |
| + | | first1 = Erika | last1 = Mustermann |
| + | | title = Open data modeling |
| + | | date = 2016 |
| + | | journal = Open Journal |
| + | | doi = 10.1000/12345678 |
| + | }} |
| + | </pre> |
| + | |
| + | {{cite journal |
| + | | first1 = Erika | last1 = Mustermann |
| + | | title = Open data modeling |
| + | | date = 2016 |
| + | | journal = Open Journal |
| + | | doi = 10.1000/12345678 |
| + | }} |
| + | |
| + | <pre style="font-size: 85%"> |
| + | {{cite journal}} |
| + | </pre> |
| + | |
| + | {{cite journal}} |
| + | |
| + | == Support == |
| + | |
| + | Bug reports to [[User:Robbie Morrison|Robbie Morrison]]. |
| + | |
| + | Implemented December 2016. |
| | | |
| </noinclude> | | </noinclude> |
Implemented December 2016.