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

From blackwiki
Jump to navigation Jump to search
imported>Droll
(→‎Usage: tweak)
imported>Droll
(simplified)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
__NOTOC__
 
__NOTOC__
{{esoteric}}
 
  
=== Purpose ===
+
This external link template can be used to cite the [http://angeles.sierraclub.org/hps/hpslist.htm Hundred Peaks Section List] published by the Angeles Chapter of the [[Sierra Club]].
 
 
Provides an easy way to cite ''Hundred Peaks Section List'' published by the Angeles Chapter of the [[Sierra Club]].
 
 
 
The advantages of using this template include the avoidance of typographical errors and a standardized appearance which will automatically conform with {{tl|cite web}} which sees more frequent maintenance.
 
  
 
=== Usage ===
 
=== Usage ===
 
 
{| class="wikitable"
 
{| class="wikitable"
|- width="50%" valign="top" style="vertical-align:top;"
+
|- valign="top" style="vertical-align:top;"
 
! Fields !! Instructions
 
! Fields !! Instructions
|- width="50%" valign="top" style="vertical-align:top;"
+
|- valign="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 hps
 
{{cite hps
 
| id =  
 
| id =  
Line 22: Line 16:
 
| 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;
ID number from the HPS guides page (optional)
+
Id from the HPS guides page
Name of the peak (required if ID specified)
+
Name of the peak
 
Full date
 
Full date
&nbsp; </pre>
+
&nbsp;</pre>
 
|}
 
|}
 +
If '''<tt>id</tt>''' is specified then a '''<tt>name</tt>''' must also be specified. Unnamed parameters are allowed. The '''<tt>accessdate</tt>''' is optional.
 +
  
 
=== Examples ===
 
=== Examples ===
 +
Used with named parameters:
 +
:<tt><nowiki>{{cite hps |id=06J |name=Big Pine Mountain}}</nowiki></tt> → {{cite hps |id=06J |name=Big Pine Mountain}}
 +
 +
Used with unnamed parameters:
 +
:<tt><nowiki>{{cite hps |06J |Big Pine Mountain |2010-10-12}}</nowiki></tt> → {{cite hps |06J |Big Pine Mountain |2010-10-12}}
  
'''Wiki markup'''
 
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;"><pre><nowiki>
 
{{cite hps
 
| id = 06J
 
| name = Big Pine Mountain
 
| accessdate = 2009-08-10 }}
 
</nowiki></pre></blockquote>
 
'''produces:'''
 
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;">
 
{{cite hps
 
| id = 06J
 
| name = Big Pine Mountain
 
| accessdate = 2009-08-10 }}
 
</blockquote>
 
  
'''Wiki markup'''
+
Used with no parameters:
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;"><pre><nowiki>
+
:<tt><nowiki>{{cite hps}}</nowiki></tt> {{cite hps}}
{{cite hps
 
| accessdate = 2009-08-10 }}
 
</nowiki></pre></blockquote>
 
'''produces:'''
 
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;">
 
{{cite hps
 
| accessdate = 2009-08-10 }}
 
</blockquote>
 
  
 
=== See also ===
 
=== See also ===
 
 
*{{tl|cite dps}}
 
*{{tl|cite dps}}
 
*{{tl|cite sps}}
 
*{{tl|cite sps}}

Revision as of 09:07, 12 October 2010


This external link template can be used to cite the Hundred Peaks Section List published by the Angeles Chapter of the Sierra Club.

Usage

Fields Instructions
{{cite hps
| id = 
| name =
| accessdate = 
}}
 
Id from the HPS guides page
Name of the peak
Full date
 

If id is specified then a name must also be specified. Unnamed parameters are allowed. The accessdate is optional.


Examples

Used with named parameters:

{{cite hps |id=06J |name=Big Pine Mountain}}"Big Pine Mountain". Hundred Peaks Section List. Angeles Chapter, Sierra Club.

Used with unnamed parameters:

{{cite hps |06J |Big Pine Mountain |2010-10-12}}"Big Pine Mountain". Hundred Peaks Section List. Angeles Chapter, Sierra Club. Retrieved 2010-10-12.


Used with no parameters:

{{cite hps}}"Hundred Peaks Section List". Angeles Chapter, Sierra Club.

See also