Difference between revisions of "Template:Cite peakbagger"
Jump to navigation
Jump to search
imported>AGK m (Protected Template:Cite peakbagger: Highly-visible template (over 1000 transclusions) ([edit=autoconfirmed] (indefinite) [move=sysop] (indefinite))) |
imported>Droll (added units prameter) |
||
| Line 2: | Line 2: | ||
{{#if: {{{title|{{{name|{{{2|}}}}}}}}} | | {{#if: {{{title|{{{name|{{{2|}}}}}}}}} | | ||
{{cite web | {{cite web | ||
| − | | url = {{#if:{{{id|{{{pid|{{{1|}}}}}}}}} | + | | url = {{#if:{{{id|{{{pid|{{{1|}}}}}}}}} | http://www.peakbagger.com/peak.aspx?pid={{{id|{{{pid|{{{1|}}}}}}}}} |
| − | + | | {{#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|}}} |
| + | }}}} | ||
| + | }} | ||
}} | }} | ||
| title = {{{title|{{{name|{{{2|}}}}}}}}} | | title = {{{title|{{{name|{{{2|}}}}}}}}} | ||
| Line 13: | Line 15: | ||
| date = {{{date|}}} | | date = {{{date|}}} | ||
| accessdate = {{{accessdate|{{{3|}}}}}} | | accessdate = {{{accessdate|{{{3|}}}}}} | ||
| − | | ref = {{{ref|}}}}} | + | | ref = {{{ref|}}} }} |
| {{citation error|no {{para|name}} specified|cite peakbagger|nocat={{{template doc demo|}}}}} | | {{citation error|no {{para|name}} specified|cite peakbagger|nocat={{{template doc demo|}}}}} | ||
}} | }} | ||
| {{citation error|no id number specified|cite peakbagger|nocat={{{template doc demo|}}}}} | | {{citation error|no id number specified|cite peakbagger|nocat={{{template doc demo|}}}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
| + | |||
{{documentation}} | {{documentation}} | ||
<!-- | <!-- | ||
Revision as of 21:08, 8 February 2013
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
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}} → Error: no id number specified when using {{cite peakbagger}}Template:Namespace detect showall
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. |