Difference between revisions of "Template:Cite gvp"

From blackwiki
Jump to navigation Jump to search
imported>Droll
(fix error messages)
imported>Droll
(switch to {{Citation/core}})
Line 1: Line 1:
 
<includeonly>{{#if: {{{vnum|{{{1|}}}}}} |
 
<includeonly>{{#if: {{{vnum|{{{1|}}}}}} |
 
   {{#if: {{{name|{{{title|{{{2|}}}}}}}}} |
 
   {{#if: {{{name|{{{title|{{{2|}}}}}}}}} |
     {{cite web
+
     {{Citation/core
     | url = http://www.volcano.si.edu/world/volcano.cfm?vnum={{#if: x | {{{vnum|{{{1|}}}}}}}}
+
    | Citation class = web
     | title = {{{name|{{{title|{{{2|}}}}}}}}}
+
     | Sep = .
     | accessdate = {{{accessdate|{{{3|}}}}}}
+
    | URL =  http://www.volcano.si.edu/world/volcano.cfm?vnum={{#if: x | {{{vnum|{{{1|}}}}}}}}
     | accessyear = {{{accessyear|}}}
+
     | IncludedWorkTitle = {{{name|{{{title|{{{2|}}}}}}}}}
    | date = {{{date|}}}
+
     | AccessDate = {{{accessdate|{{{3|}}}}}}
     | work = [[Global Volcanism Program]]
+
     | Date = {{{entrydate|{{{4|}}}}}}
     | publisher = Smithsonian Institution}}
+
     | Other = [[Global Volcanism Program]]
   | <strong class="error">You must specify <font style="color:black">name</font> when using {{[[Template:cite gvp|cite gvp]]}}.</strong>}}
+
     | Publisher = [[Smithsonian Institution]]
| <strong class="error">You must specify <font style="color:black">vnum</font> when using {{[[Template:cite gvp|cite gvp]]}}.</strong>}}</includeonly>{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}|[[Category:Cite web templates using unusual accessdate parameters|{{NAMESPACE}} {{PAGENAME}}]]}}<noinclude>
+
    }}
 +
   | <strong class="error">You must specify <font style="color:black">name</font> when using {{[[Template:cite gvp|cite gvp]]}}.</strong>
 +
  }}
 +
| <strong class="error">You must specify <font style="color:black">id</font> when using {{[[Template:cite gvp|cite gvp]]}}.</strong>
 +
}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
+
<!--
 +
  PLEASE ADD CATEGORIES AND INTERWIKIS
 +
  TO THE /doc SUBPAGE, THANKS
 +
-->
 
</noinclude>
 
</noinclude>

Revision as of 21:31, 27 August 2009

50px 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}}You must specify name when using {{cite gvp}}.
{{cite gvp | 262000 | Krakatau }}"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}}You must specify id when using {{cite gvp}}.
{{cite gvp|vn=342090 |name=Volcán de Fuego |accessdate=2014-12-30}}You must specify id when using {{cite gvp}}.

See also