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

From blackwiki
Jump to navigation Jump to search
imported>Sawol
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)
 
Line 23: Line 23:
 
&nbsp;</pre>
 
&nbsp;</pre>
 
|}
 
|}
If '''<tt>id</tt>''' is specified then '''<tt>name</tt>''' must also be specified. Unnamed parameters are allowed. The '''<tt>accessdate</tt>''' is optional.
+
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:
 
Used with named parameters:
:<tt><nowiki>{{cite hps |id=06J |name=Big Pine Mountain}}</nowiki></tt> → {{cite hps |id=06J |name=Big Pine Mountain}}
+
:<kbd><nowiki>{{cite hps |id=06J |name=Big Pine Mountain}}</nowiki></kbd> → {{cite hps |id=06J |name=Big Pine Mountain}}
  
 
Used with unnamed parameters:
 
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}}
+
:<kbd><nowiki>{{cite hps |06J |Big Pine Mountain |2010-10-12}}</nowiki></kbd> → {{cite hps |06J |Big Pine Mountain |2010-10-12}}
  
  
 
Used with no parameters:
 
Used with no parameters:
:<tt><nowiki>{{cite hps}}</nowiki></tt> → {{cite hps}}
+
:<kbd><nowiki>{{cite hps}}</nowiki></kbd> → {{cite hps}}
  
 
=== See also ===
 
=== See also ===

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