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

From blackwiki
Jump to navigation Jump to search
imported>Droll
(tweaked a bit)
imported>Zyxw
m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB)
 
(8 intermediate revisions by 3 users not shown)
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://www.hundredpeaks.org/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;"
+
|- style="vertical-align:top;"
! Fields !! Instructions
+
! Parameter !! 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 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
YYYY-MM-DD
+
Full date
&nbsp; </pre>
+
&nbsp;</pre>
 
|}
 
|}
 +
If '''<kbd>id</kbd>''' is specified then '''<kbd>name</kbd>''' must also be specified. Unnamed parameters are allowed. The '''<kbd>accessdate</kbd>''' is optional.
 +
  
 
=== Examples ===
 
=== Examples ===
 +
Used with named parameters:
 +
:<kbd><nowiki>{{cite hps |id=06J |name=Big Pine Mountain}}</nowiki></kbd> → {{cite hps |id=06J |name=Big Pine Mountain}}
 +
 +
Used with unnamed parameters:
 +
:<kbd><nowiki>{{cite hps |06J |Big Pine Mountain |2010-10-12}}</nowiki></kbd> → {{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>
+
:<kbd><nowiki>{{cite hps}}</nowiki></kbd> {{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}}
  
<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]]
</includeonly>
+
}}</includeonly>

Latest revision as of 06:25, 5 August 2018


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

Usage

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

If id is specified then 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