Template:Peakbagger/doc
< Template:Peakbagger
Jump to navigation
Jump to search
Revision as of 15:30, 9 October 2019 by Wikipedia>SixTwoEight (Add Wikidata documentaion)
| This is a documentation subpage for Template:Peakbagger. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
Purpose
The external link template, Peakbagger, enables access to the database at Peakbagger, an "informal online resource for summit-focused hikers, climbers, and mountain lovers", and which contains facts and figures about numerous mountains, hills and ranges worldwide.
Usage
{{Peakbagger|id}}
or to load data from Wikidata
{{Peakbagger}}
or for ranges
{{Peakbagger Range|id}}
Parameters
- the ID
- an optional, alternative name for the mountain, hill or range in case the lemma in WP does not match the name at Peakbagger. This name is only for Wikipedia purposes, not for searching.
The template may be used as a reference <ref> and as an external link.
Examples
| Template with parameters | Display |
|---|---|
{{Peakbagger|10027}}
|
Peakbagger/doc at Peakbagger.com |
{{Peakbagger|10027|Matterhorn}}
|
Matterhorn at Peakbagger.com |
{{Peakbagger Range|3324|Ortler-Alpen}}
|
Ortler-Alpen at Peakbagger.com. |
Search
The ID can be found by using Peakbagger Search:
- From the search results, the right mountain must be chosen (e.g. using its elevation) and the page opened.
- For the Großglockner that would be e.g. http://www.peakbagger.com/peak.aspx?pid=10113
- The ID can be removed using the Url parameter pid (peak id) or rid (range id), for the Großglockner that would therefore be http://www.peakbagger.com/peak.aspx?pid=10113
- There is also {{Peakbagger | 10113}}
Of course not all mountains are listed at Peakbagger.