Difference between revisions of "Template:Cite peakbagger"
Jump to navigation
Jump to search
imported>Droll (tweaked) |
imported>Droll (added "kid" parameter option for key col data) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{#if: {{{id|{{{pid|{{{1|}}}}}}}}}{{{rid|}}}{{{lid|}}} | | + | <includeonly>{{#if: {{{id|{{{pid|{{{1|}}}}}}}}}{{{rid|}}}{{{lid|}}}{{{kid|}}} | |
{{#if: {{{title|{{{name|{{{2|}}}}}}}}} | | {{#if: {{{title|{{{name|{{{2|}}}}}}}}} | | ||
{{cite web | {{cite web | ||
| url = {{#if:{{{id|{{{pid|{{{1|}}}}}}}}} | http://www.peakbagger.com/peak.aspx?pid={{urlencode:{{{id|{{{pid|{{{1|}}}}}}}}}}} | | url = {{#if:{{{id|{{{pid|{{{1|}}}}}}}}} | http://www.peakbagger.com/peak.aspx?pid={{urlencode:{{{id|{{{pid|{{{1|}}}}}}}}}}} | ||
| − | | {{#if:{{{rid|}}} | http://www.peakbagger.com/range.aspx?rid={{{rid|}}} | + | | {{#if:{{{kid|}}} | http://www.peakbagger.com/KeyCol.aspx?pid={{{kid|}}} |
| − | + | | {{#if:{{{rid|}}} | http://www.peakbagger.com/range.aspx?rid={{{rid|}}} | |
| − | + | | {{#if:{{{lid|}}} | {{#switch:{{lc:{{{units|}}}}} | |
| − | + | | feet | ft = http://www.peakbagger.com/list.aspx?lid={{{lid|}}}&u=ft | |
| − | + | | meters | m = http://www.peakbagger.com/list.aspx?lid={{{lid|}}}&u=m | |
| − | + | | #default = http://www.peakbagger.com/list.aspx?lid={{{lid|}}} | |
| + | }}}} | ||
| + | }} | ||
}} | }} | ||
}} | }} | ||
Revision as of 21:20, 23 March 2016
This citation template can be used to cite web pages at PeakBagger.com.
Usage
A search engine for PeakBagger is available here. Use the text following the ? in the URL. The Key Col webpage can be reached by clicking the Key Col Page link in the prominence section.
| Parameter | Value |
|---|---|
{{cite peakbagger
| kid =
| lid =
| pid =
| rid =
| title =
| units =
| access-date =
}}
|
key col id from URL list id from URL peak id from URL range id from URL page name (in maroon) see below full date |
The parameters name and kid, lid, pid or rid must be specified. To link to a list showing metric units use |units=meters.
Examples
Peak example
Used with named parameters:
- {{cite peakbagger |pid=2829 |name=Mount Whitney, California |access-date=2008-10-31}} → "Mount Whitney, California". Peakbagger.com.
Used with unnamed parameters (for peaks only):
- {{cite peakbagger |2829 |Mount Whitney, California |2008-10-31}} → "Mount Whitney, California". Peakbagger.com. Retrieved 2008-10-31.
List example
- {{cite peakbagger |lid=12003 |name=U.S. State High Points |access-date=2008-10-31}} → "U.S. State High Points". Peakbagger.com.
Range example
- {{cite peakbagger |rid=126 |name=Sierra Nevada |access-date=2008-10-31}} → "Sierra Nevada". Peakbagger.com.
Key Col example
- {{cite peakbagger |kid=2829 |name=Mount Whitney, California |access-date=2008-10-31}} → "Mount Whitney, California". Peakbagger.com.
See also
| The above documentation is transcluded from Template:Cite peakbagger/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. |