Difference between revisions of "Template:Cite hps/sandbox"
Jump to navigation
Jump to search
imported>Droll (tweaked) |
imported>Droll (test) |
||
| Line 2: | Line 2: | ||
| {{#ifeq:{{{name|{{{2|}}}}}}||{{citation error|no <tt>name</tt> specified|cite hps|nocat={{{template doc demo|}}}}} | | {{#ifeq:{{{name|{{{2|}}}}}}||{{citation error|no <tt>name</tt> specified|cite hps|nocat={{{template doc demo|}}}}} | ||
| {{cite web | | {{cite web | ||
| − | | url = http://www.hundredpeaks.org/guides/{{urlencode:{{{id|{{{1|}}}}}}}}.htm | + | | url = http://www.hundredpeaks.org/guides/{{lc:{{urlencode:{{{id|{{{1|}}}}}}}}}}.htm |
| title = {{{name|{{{2|}}}}}} | | title = {{{name|{{{2|}}}}}} | ||
| work = Hundred Peaks Section List | | work = Hundred Peaks Section List | ||
Revision as of 23:13, 14 March 2016
| This is the template sandbox page for Template:Cite hps (diff). See also the companion subpage for test cases. |
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
| The above documentation is transcluded from Template:Cite hps/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |