Difference between revisions of "Template:Cite isc"
imported>J. Johnson (Checked, cleaned up a few details.) |
imported>J. Johnson (Adding event code option) |
||
| Line 1: | Line 1: | ||
<includeonly>{{replace| | <includeonly>{{replace| | ||
| − | <!-- cite_isc 2018- | + | <!-- cite_isc 2018-03-30 |
| − | -- Takes a product code (req.), and optional "mode". Possibly "title". | + | -- Takes a product code (req.), and optional event code or "mode". Possibly "title". |
-- Based on 'cite encyclopedia', considering databases as 'edited collections'. | -- Based on 'cite encyclopedia', considering databases as 'edited collections'. | ||
--> | --> | ||
| Line 7: | Line 7: | ||
{{#if:{{{debug|}}} |{{cyan|[ | {{#if:{{{debug|}}} |{{cyan|[ | ||
{{{1|*}}} <!-- Required --> | {{{1|*}}} <!-- Required --> | ||
| + | {{{2|}}} | ||
{{#if: {{{mode|}}} |/{{{mode}}} }} | {{#if: {{{mode|}}} |/{{{mode}}} }} | ||
{{#if: {{{title|}}} |/{{{title}}} }} | {{#if: {{{title|}}} |/{{{title}}} }} | ||
| Line 97: | Line 98: | ||
{{red|[[[:Template:Cite isc]] requires a product code. Try "?".]}} | {{red|[[[:Template:Cite isc]] requires a product code. Try "?".]}} | ||
{{main other|[[Category:Articles using Cite isc with an error]]}} | {{main other|[[Category:Articles using Cite isc with an error]]}} | ||
| − | }}<!-- end if --> | + | }}<!-- end if {1} --> |
| + | {{#if: {{{2|}}} <!-- optional event id --> | ||
| + | {{#ifeq: {{{1|}}} | EH | ||
| + | | [Event [http://www.isc.ac.uk/cgi-bin/FormatBibprint.pl?evid={{trim|{{{2}}}}} {{{2}}}]] | ||
| + | | [Event [http://www.isc.ac.uk/cgi-bin/web-db-v4?event_id={{trim|{{{2}}}}}&out_format=IMS1.0&request=COMPREHENSIVE {{{2}}}]] | ||
| + | }} | ||
| + | }}<!-- end if {2} --> | ||
| | | | ||
||}}<!-- end replace --></includeonly><noinclude> | ||}}<!-- end replace --></includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<noinclude> | <noinclude> | ||
Revision as of 22:47, 30 March 2018
Creates a full citation for selected data products of the International Seismological Centre (ISC). Use {{short-isc}} to create in-line "short cites" that link to the full citations created by this template. Note: documents from the ISC should be cited like any other document, using {{cite journal}}, {{cite web}}, or {{citation}}.
Usage
{{ Cite isc | <product code*> | <event id> | mode=cs2 | title= <title> | url= <url> }}
A product code is required. Codes for selected ISC data products are:
- OB - On-line Bulletin
- EB - Event Bibliography
- EHB - ISC-EHB Bulletin
- GEM - ISC-GEM Global Instrumental Earthquake Catalogue
- generic - For citing other ISC material not covered by the options above. Use
|title=and|url=to override the defaults.
An event id is optional. This is intended where an event is cited only once. Otherwise use the {{short-isc}} template in-line to make multiple attributions of specific material to the proper ISC full citation.
Default style is cs1. For cs2 style add |mode=cs2.
Examples:
{{Cite isc|OB}}→
- International Seismological Centre. On-line Bulletin. Thatcham, United Kingdom, http://www.isc.ac.uk/ http://www.isc.ac.uk/iscbulletin/ Missing or empty
|title=(help)
{{Cite isc|EB}}→
- International Seismological Centre. Event Bibliography. Thatcham, United Kingdom, http://www.isc.ac.uk/ http://www.isc.ac.uk/event_bibliography Missing or empty
|title=(help)
{{Cite isc|OB|mode=cs2}}→
- International Seismological Centre, On-line Bulletin, Thatcham, United Kingdom, http://www.isc.ac.uk/ http://www.isc.ac.uk/iscbulletin/ Missing or empty
|title=(help)
{{Cite isc|EB|mode=cs2}}→
- International Seismological Centre, Event Bibliography, Thatcham, United Kingdom, http://www.isc.ac.uk/ http://www.isc.ac.uk/event_bibliography Missing or empty
|title=(help)
{{Cite isc|EHB}}→
- International Seismological Centre. ISC-EHB Bulletin. Thatcham, United Kingdom, http://www.isc.ac.uk/ http://www.isc.ac.uk/isc-ehb/ Missing or empty
|title=(help)
{{Cite isc|GEM}}→
- International Seismological Centre. ISC-GEM Global Instrumental Earthquake Catalogue. Thatcham, United Kingdom, http://www.isc.ac.uk/ http://www.isc.ac.uk/iscgem/ Missing or empty
|title=(help)
{{Cite isc|generic}}→
- International Seismological Centre. ISC web site. Thatcham, United Kingdom, http://www.isc.ac.uk/
{{Cite isc|generic|title= ISC Products and Services|url=http://www.isc.ac.uk/products/}}→
- International Seismological Centre. ISC Products and Services. Thatcham, United Kingdom, http://www.isc.ac.uk/
{{Cite isc|EB|189275}}→
- International Seismological Centre. Event Bibliography. Thatcham, United Kingdom, http://www.isc.ac.uk/ http://www.isc.ac.uk/event_bibliography Missing or empty
|title=(help)
{{Cite isc|OB|189275}}→
- International Seismological Centre. On-line Bulletin. Thatcham, United Kingdom, http://www.isc.ac.uk/ http://www.isc.ac.uk/iscbulletin/ Missing or empty
|title=(help)
Articles using this template are tracked here, and here if an error has been detected.
See also
| The above documentation is transcluded from Template:Cite isc/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |