|
|
(12 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''': |
Line 10: |
Line 10: |
| *all '''common parameters''' are supported | | *all '''common parameters''' are supported |
| *up to '''25 authors''' can be listed | | *up to '''25 authors''' can be listed |
| + | *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''' | | *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)
| |
| *you can copy-and-paste to and from Wikipedia (indeed the markup can be confirmed on Wikipedia first) | | *you can copy-and-paste to and from Wikipedia (indeed the markup can be confirmed on Wikipedia first) |
| | | |
| '''Absent fields''': | | '''Absent fields''': |
| | | |
| + | *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 |
| *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 | | *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 |
| | | |
Line 22: |
Line 23: |
| *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 '''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 | | *no '''metadata''' is injected into the HTML and the resulting page cannot be scraped by Zotero or Mendeley |
− | *the '''page range''' should ideally be separated by an '''en dash''' (&ndash;) but this is not enforced | + | *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) | | *you must use the parameter names as specified, there are '''no aliases''' (unlike Wikipedia) |
| | | |
| '''See also''': | | '''See also''': |
| | | |
− | * the [[Template:Cite book|cite book]] template | + | *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 == | | == 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%"> | | <pre style="font-size: 85%"> |
Line 47: |
Line 54: |
| | access-date = | | | 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> | | </pre> |
| | | |
Line 111: |
Line 124: |
| == Support == | | == Support == |
| | | |
− | Bug reports to [[User:Robbie Morrison|Robbie Morrison]] <robbie.morrison@posteo.de> | + | Bug reports to [[User:Robbie Morrison|Robbie Morrison]]. |
| | | |
| Implemented December 2016. | | Implemented December 2016. |
| | | |
| </noinclude> | | </noinclude> |
Implemented December 2016.