Difference between revisions of "Template:Cite isc"

From blackwiki
Jump to navigation Jump to search
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-02-20
+
<!-- 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|&#91;
 
{{#if:{{{debug|}}} |{{cyan|&#91;
 
  {{{1|*}}} <!-- Required -->
 
  {{{1|*}}} <!-- Required -->
 +
{{{2|}}}
 
  {{#if: {{{mode|}}} |/{{{mode}}} }}
 
  {{#if: {{{mode|}}} |/{{{mode}}} }}
 
  {{#if: {{{title|}}} |/{{{title}}} }}
 
  {{#if: {{{title|}}} |/{{{title}}} }}
Line 97: Line 98:
 
   {{red|&#91;[[:Template:Cite isc]] requires a product code. Try "?".&#93;}}
 
   {{red|&#91;[[:Template:Cite isc]] requires a product code. Try "?".&#93;}}
 
   {{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
 +
  | &#91;Event [http://www.isc.ac.uk/cgi-bin/FormatBibprint.pl?evid={{trim|{{{2}}}}} {{{2}}}]&#93;
 +
  | &#91;Event [http://www.isc.ac.uk/cgi-bin/web-db-v4?event_id={{trim|{{{2}}}}}&out_format=IMS1.0&request=COMPREHENSIVE {{{2}}}]&#93;
 +
  }}
 +
}}<!-- end if {2} -->
 
|
 
|
 
||}}<!-- end replace --></includeonly><noinclude>
 
||}}<!-- end replace --></includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
<noinclude>
 
<noinclude>

Revision as of 22:47, 30 March 2018

50px Template documentation[view] [edit] [history] [purge]

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:

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)
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)
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)
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)
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)
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)
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/
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)
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