Difference between revisions of "Template:Cite gvp/doc"

From blackwiki
Jump to navigation Jump to search
imported>Droll
(→‎Bug: tweak)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(28 intermediate revisions by 12 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
{{cs1 wrapper|base=Cite web}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
__NOTOC__
+
__NOTOC____NOEDITSECTION__
{{esoteric}}
+
{{ombox
 +
| type      = content
 +
| text      = The Global Volcanism Program website has changed and it has become necessary to alter this template. This documentation applies to links using the current volcano numbers.}}
  
=== Purpose ===
+
This citation template can be used to cite [[Global Volcanism Program|'''G'''lobal '''V'''olcanism '''P'''rogram]] web pages using a "[[Volcano Number]]".
  
Provides an easy way to cite [[Global Volcanism Program|'''G'''lobal '''V'''olcanism '''P'''rogram]] web pages using a [[Volcano Number|Volcano Reference File Number]].
+
== Usage ==
 
+
A search engine can be found [http://www.volcano.si.edu/search_volcano.cfm 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'''.
=== Usage ===
 
  
 
{| class="wikitable"
 
{| class="wikitable"
|- width="50%" valign="top" style="vertical-align:top;"
+
|- style="vertical-align:top;"
! Fields !! Instructions !! Notes
+
! Parameters !! Value
|- width="50%" valign="top" style="vertical-align:top;"
+
|- style="vertical-align:top;"
| style="vertical-align:top;padding:1ex;" |<pre>
+
| style="vertical-align:top;padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent">
 
{{cite gvp
 
{{cite gvp
| vnum =  
+
| vn =  
 
| name =
 
| name =
 
| accessdate =  
 
| accessdate =  
 
}}</pre>
 
}}</pre>
| style="vertical-align:top;padding:1ex;" |<pre>
+
| style="vertical-align:top; padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent">
&nbsp;  
+
&nbsp;
 
Volcano Number on web page
 
Volcano Number on web page
 
Volcano Name on web page
 
Volcano Name on web page
 
Full date
 
Full date
&nbsp; </pre>
+
&nbsp;</pre>
| style="vertical-align:top;padding:1ex;" |<pre>
 
&nbsp;
 
Required
 
Required
 
Recommended
 
&nbsp; </pre>
 
 
|}
 
|}
  
The fields '''<code>vnum</code>''' and '''<code>name</code>''' must be specified.
+
Values for '''<code>vn</code>''' and '''<code>name</code>''' should be specified. Using the template with no parameters returns a link to the home page. Do not use unnamed parameters.
 
 
=== Bug ===
 
 
 
There is a documented feature in the [[MediaWiki]] software that causes an error message when this template is used if the vnum contains an equals sign. For example [[Kerinci]], a volcano in [[Indonesia]], has a vnum of <tt><nowiki>0601-17&#61;</nowiki></tt>. When such a vnum occurs a citation like <tt><nowiki>{{cite gvp|0601-17=|Kerinci</nowiki>}}</tt> will not work. However, <tt><nowiki>{{cite gvp|vnum=0601-17=|name=Kerinci}}</nowiki></tt> or even <tt><nowiki>{{cite gvp|1=0601-17=|2=Kerinci}}</nowiki></tt> will work without any problem. For example:
 
 
 
'''Wiki markup'''
 
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;"><pre><nowiki>
 
{{cite gvp|vnum=0601-17=|name=Kerinci}}
 
</nowiki></pre></blockquote>
 
'''produces:'''
 
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;">
 
{{cite gvp|vnum=0601-17=|name=Kerinci}}
 
</blockquote>
 
 
 
=== Examples ===
 
 
 
'''Wiki markup'''
 
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;"><pre><nowiki>
 
{{cite gvp
 
| vnum = 1201-04-
 
| name = Adams
 
| accessdate = 2008-07-04 }}
 
</nowiki></pre></blockquote>
 
'''produces:'''
 
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;">
 
{{cite gvp
 
| vnum = 1201-04-
 
| name = Adams
 
| accessdate = 2008-07-04 }}
 
</blockquote>
 
  
 +
== Examples ==
  
'''Wiki markup'''
+
:<code><nowiki>{{cite gvp | 262000}}</nowiki></code> → {{cite gvp | 262000}}
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;"><pre><nowiki>
+
:<code><nowiki>{{cite gvp | 262000 | Krakatau }}</nowiki></code> → {{cite gvp | 262000 | Krakatau }}
{{cite gvp|1=1201-04-|2=Adams|3=2008-07-04}}
+
:<code><nowiki>{{cite gvp|vn=321040 |name=Adams |accessdate=2008-07-04}}</nowiki></code> {{cite gvp |vn=321040 |name=Adams |accessdate=2008-07-04}}
</nowiki></pre></blockquote>
+
:<code><nowiki>{{cite gvp|vn=342090 |name=Volcán de Fuego |accessdate=2014-12-30}}</nowiki></code> → {{cite gvp |vn=342090 |name=Volcán de Fuego |accessdate=2014-12-30}}
'''produces:'''
 
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;">
 
{{cite gvp|1=1201-04-|2=Adams|3=2008-07-04}}
 
</blockquote>
 
  
=== See also ===
+
{{Reflist}}
  
 +
== See also ==
 
* {{tl|cite gnis}}
 
* {{tl|cite gnis}}
 
* {{tl|cite ngs}}
 
* {{tl|cite ngs}}
 
* {{tl|cite web}}
 
* {{tl|cite web}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
{{DEFAULTSORT:{{PAGENAME}}}}
 
 
[[Category:External link templates]]
 
[[Category:External link templates]]
 
[[Category:Specific-source templates]]
 
[[Category:Specific-source templates]]
 +
[[Category:Volcanology templates]]
 +
[[Category:Geology citation templates]]
  
[[de:Vorlage:GVP]]
+
}}</includeonly>
[[id:Templat:cite gvp]]
 
</includeonly>
 

Latest revision as of 05:21, 24 April 2020

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}}"Global Volcanism Program". Smithsonian Institution.
{{cite gvp | 262000 | Krakatau }}"Krakatau". Global Volcanism Program. Smithsonian Institution.
{{cite gvp|vn=321040 |name=Adams |accessdate=2008-07-04}}"Adams". Global Volcanism Program. Smithsonian Institution. Retrieved 2008-07-04.
{{cite gvp|vn=342090 |name=Volcán de Fuego |accessdate=2014-12-30}}"Volcán de Fuego". Global Volcanism Program. Smithsonian Institution. Retrieved 2014-12-30.

See also