|
|
(18 intermediate revisions by one user not shown) |
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|}}} <i>{{{title|{{orange|title required}}}}}</i>{{#if: {{{trans-title|}}} |  [<i>{{{trans-title|}}}</i>] }}.] | <i>{{{title|{{orange|title required}}}}}</i>. }}{{#if: {{{language|}}} |  (in {{{language|}}}). }}{{#if: {{{location|}}} |  {{{location|}}}: }}{{#if: {{{publisher|}}} |  {{{publisher|}}}. }}{{#if: {{{isbn|}}} |  ISBN [https://en.wikipedia.org/wiki/Special:BookSources/{{{isbn|}}} {{{isbn|}}}.] }}{{#if: {{{access-date|}}} |  Retrieved {{{access-date|}}}. }}{{#if: {{{chapter|}}} |  {{orange|chapter not supported}}. }}<noinclude> | + | {{#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|}}} <i>{{{title|{{orange|title required}}}}}</i>{{#if: {{{trans-title|}}} |  [<i>{{{trans-title|}}}</i>] }}.] | <i>{{{title|{{orange|title required}}}}}</i>. }}{{#if: {{{language|}}} |  (in {{{language|}}}) }}{{#if: {{{edition|}}} |  ({{{edition|}}} ed.). | . }}{{#if: {{{location|}}} |  {{{location|}}}: }}{{#if: {{{publisher|}}} |  {{{publisher|}}}. }}{{#if: {{{isbn|}}} |  ISBN [https://en.wikipedia.org/wiki/Special:BookSources/{{{isbn|}}} {{{isbn|}}}.] }}{{#if: {{{access-date|}}} |  Retrieved {{{access-date|}}}. }}{{#if: {{{chapter|}}} |  {{orange|chapter not supported}}. }}<noinclude> |
| <br> | | <br> |
| == Overview == | | == Overview == |
Line 10: |
Line 10: |
| *most of the '''common parameters''' are supported | | *most of the '''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">trans-title</span> and <span style="background-color: gainsboro; padding-left: 0.5em; padding-right: 0.5em">language</span> fields allows an English translation of the title to be included | + | *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 allow an English translation of the title to be included |
| *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">editor</span> fields are '''not''' supported | | *the <span style="background-color: gainsboro; padding-left: 0.5em; padding-right: 0.5em">editor</span> fields are '''not''' supported |
− | *the <span style="background-color: gainsboro; padding-left: 0.5em; padding-right: 0.5em">chapter</span> field is '''not''' supported | + | *the <span style="background-color: gainsboro; padding-left: 0.5em; padding-right: 0.5em">chapter</span> and <span style="background-color: gainsboro; padding-left: 0.5em; padding-right: 0.5em">pages</span> fields are '''not''' supported |
| | | |
| '''Limitations''': | | '''Limitations''': |
Line 23: |
Line 25: |
| *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 |
− | *you must use the parameter names as specified, there are '''no aliases''' (unlike Wikipedia) | + | *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">language</span> field must contain the '''language name''' (German) and not the ISO 639-1 code (de) | | *the <span style="background-color: gainsboro; padding-left: 0.5em; padding-right: 0.5em">language</span> field must contain the '''language name''' (German) and not the ISO 639-1 code (de) |
| + | *you must use the parameter names as specified, there are '''no aliases''' (unlike Wikipedia) |
| | | |
| '''See also''': | | '''See also''': |
Line 30: |
Line 33: |
| *the [[Template:Cite conference|cite conference]] template | | *the [[Template:Cite conference|cite conference]] template |
| *the [[Template:Cite journal|cite journal]] template | | *the [[Template:Cite journal|cite journal]] 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 41: |
Line 49: |
| | trans-title = | | | trans-title = |
| | language = German | | | language = German |
| + | | edition = |
| | date = | | | date = |
| | publisher = | | | publisher = |
Line 48: |
Line 57: |
| | access-date = | | | access-date = |
| }} | | }} |
| + | </pre> |
| + | |
| + | <pre style="font-size: 85%"> |
| + | {{cite book | first1 = | last1 = | first2 = | last2 = | display-authors = etal |
| + | | title = | trans-title = | language = German | edition = | date = | publisher = |
| + | | location = | isbn = | url = | access-date = }} |
| </pre> | | </pre> |
| | | |
Line 60: |
Line 75: |
| | trans-title = Open source models — Report | | | trans-title = Open source models — Report |
| | language = German | | | language = German |
| + | | edition = 5 |
| | date = 9 December 2016 | | | date = 9 December 2016 |
| | publisher = Bär Verlag | | | publisher = Bär Verlag |
Line 76: |
Line 92: |
| | trans-title = Open source models — Report | | | trans-title = Open source models — Report |
| | language = German | | | language = German |
| + | | edition = 5 |
| | date = 9 December 2016 | | | date = 9 December 2016 |
| | publisher = Bär Verlag | | | publisher = Bär Verlag |
Line 92: |
Line 109: |
| | location = London, United Kingdom | | | location = London, United Kingdom |
| | isbn = 978-0-12-345678-6 | | | isbn = 978-0-12-345678-6 |
− | | url = http://website.org/wright-and-bosch-2016-osm.pdf | + | | url = http://website.org/mustermann-2016-osd.pdf |
| | access-date = 2016-12-09 | | | access-date = 2016-12-09 |
| }} | | }} |
Line 104: |
Line 121: |
| | location = London, United Kingdom | | | location = London, United Kingdom |
| | isbn = 978-0-12-345678-6 | | | isbn = 978-0-12-345678-6 |
− | | url = http://website.org/wright-and-bosch-2016-osm.pdf | + | | url = http://website.org/mustermann-2016-osd.pdf |
| | access-date = 2016-12-09 | | | access-date = 2016-12-09 |
| }} | | }} |
Line 116: |
Line 133: |
| == 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.