Difference between revisions of "Template:Cite gvp"

From blackwiki
Jump to navigation Jump to search
imported>Droll
(updated template from sandbox)
(change parse order, will explain on talk)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{1|{{{vnum|{{{id|}}}}}}}}}||{{citation error|no <tt>vnum</tt> specified|cite gvp|nocat={{{template doc demo|}}}}}
+
<includeonly>{{#ifeq:{{{vnum|{{{id|{{{1|}}}}}}}}}||{{citation error|no <tt>vnum</tt> specified|cite gvp|nocat={{{template doc demo|}}}}}
| {{#ifeq: {{{2|{{{name|{{{title|}}}}}}}}}||{{citation error|no <tt>name</tt> specified|cite gvp|nocat={{{template doc demo|}}}}}
+
| {{#ifeq: {{{name|{{{title|{{{2|}}}}}}}}}||{{citation error|no <tt>name</tt> specified|cite gvp|nocat={{{template doc demo|}}}}}
 
   | {{citation/core
 
   | {{citation/core
 
     | Sep = .
 
     | Sep = .
 
     | IncludedWorkURL = http://www.volcano.si.edu/world/volcano.cfm?vnum={{{1|{{{vnum|{{{id|}}}}}}}}}
 
     | IncludedWorkURL = http://www.volcano.si.edu/world/volcano.cfm?vnum={{{1|{{{vnum|{{{id|}}}}}}}}}
     | IncludedWorkTitle = {{{2|{{{name|{{{title|}}}}}}}}}
+
     | IncludedWorkTitle = {{{name|{{{title|{{{2|}}}}}}}}}
     | AccessDate = {{{3|{{{accessdate|}}}}}}
+
     | AccessDate = {{{accessdate|{{{3|}}}}}}
     | Date = {{{4|{{{entrydate|}}}}}}
+
     | Date = {{{entrydate|{{{4|}}}}}}
 
     | Publisher = [[Global Volcanism Program]], [[Smithsonian Institution]]
 
     | Publisher = [[Global Volcanism Program]], [[Smithsonian Institution]]
 
     | PS = .
 
     | PS = .

Revision as of 16:15, 20 December 2010

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

This citation template can be used to cite Global Volcanism Program web pages using a "Volcano Number".

Usage

A search engine can be found here. If the name contains "Mount", "Peak" or something similar, enter the name without the designation. For example, for "Mount Hood" enter Hood. For Volcán de Fuego, enter Fuego.

Parameters Value
{{cite gvp
| vn = 
| name =
| accessdate = 
}}
 
Volcano Number on web page
Volcano Name on web page
Full date
 

Values for vn and name should be specified. Using the template with no parameters returns a link to the home page. Do not use unnamed parameters.

Examples

{{cite gvp | 262000}}Error: no name specified when using {{cite gvp}}Template:Namespace detect showall
{{cite gvp | 262000 | Krakatau }}262000 "Krakatau". Global Volcanism Program, Smithsonian Institution. http://www.volcano.si.edu/world/volcano.cfm?vnum= 262000. 
{{cite gvp|vn=321040 |name=Adams |accessdate=2008-07-04}}Error: no vnum specified when using {{cite gvp}}Template:Namespace detect showall
{{cite gvp|vn=342090 |name=Volcán de Fuego |accessdate=2014-12-30}}Error: no vnum specified when using {{cite gvp}}Template:Namespace detect showall

See also