Difference between revisions of "Template:Cite peakfinder/doc"
Jump to navigation
Jump to search
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) |
imported>RedWolf (updated to match template changes) |
||
| Line 8: | Line 8: | ||
=== Usage === | === Usage === | ||
| − | A search engine can be found [http://www.peakfinder.com/ | + | A search engine for peaks can be found [http://www.peakfinder.com/peaks here]. If the exact name is known then use the search box on [http://www.peakfinder.com/ this page]. |
{| class="wikitable" | {| class="wikitable" | ||
| Line 16: | Line 16: | ||
| style="vertical-align:top;padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent"> | | style="vertical-align:top;padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent"> | ||
{{cite peakfinder | {{cite peakfinder | ||
| + | | id = | ||
| name = | | name = | ||
| − | | | + | | subject = |
| + | | access-date = | ||
}}</pre> | }}</pre> | ||
| style="vertical-align:top; padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent"> | | style="vertical-align:top; padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent"> | ||
| − | | + | |
| + | Feature id | ||
Feature name | Feature name | ||
| + | Use "peaks" for peak, "ranges" for mountain range, "passes" for mountain pass, "people" for a person. | ||
Full date | Full date | ||
</pre> | </pre> | ||
|} | |} | ||
| − | The '''<kbd> | + | The '''<kbd>id</kbd>''' must be entered exactly as it appears at the top of the web page. Unnamed parameters are allowed but <u>not recommended</u> as it makes future changes to the template more difficult to implement. The '''<kbd>access-date</kbd>''' is optional. The '''<kbd>subject<kbd>''' is optional and defaults to "peaks" if not specified. |
=== Examples === | === Examples === | ||
Used with named parameters: | Used with named parameters: | ||
| − | :<kbd><nowiki>{{cite peakfinder |name=Mount Robson | | + | :<kbd><nowiki>{{cite peakfinder |id=1175 | name=Mount Robson |access-date=2010-02-18}}</nowiki></kbd> → {{cite peakfinder |id=1175|name=Mount Robson |access-date=2010-02-18}} |
| + | |||
| + | :<kbd><nowiki>{{cite peakfinder | id=15 | name = Elk Range | subject = ranges | access-date=2019-06-08}}</nowiki></kbd> → {{cite peakfinder | id=15 | name = Elk Range | subject = ranges | access-date=2019-06-08}} | ||
| + | |||
| + | :<kbd><nowiki>{{cite peakfinder | id=4 | name = Crowsnest Pass | subject = passes | access-date=2019-06-08}}</nowiki></kbd> → {{cite peakfinder | id=4 | name = Crowsnest Pass | subject = passes | access-date=2019-06-08}} | ||
| + | |||
| + | :<kbd><nowiki>{{cite peakfinder | id=5 | name = Thomas Blakiston | subject = people | access-date=2019-06-08}}</nowiki></kbd> → {{cite peakfinder | id=5 | name = Thomas Blakiston | subject = people | access-date=2019-06-08}} | ||
Used with unnamed parameters: | Used with unnamed parameters: | ||
| − | :<kbd><nowiki>{{cite peakfinder |Mount Robson |2010-02-18}}</nowiki></kbd> → {{cite peakfinder |Mount Robson |2010-02-18}} | + | :<kbd><nowiki>{{cite peakfinder |1175|Mount Robson |2010-02-18}}</nowiki></kbd> → {{cite peakfinder |1175|Mount Robson |2010-02-18}} |
=== See also === | === See also === | ||
Revision as of 02:03, 9 June 2019
| This is a documentation subpage for Template:Cite peakfinder. It contains usage information, categories and other content that is not part of the original template page. |
| This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
Template:Underused external link template
This citation template can be used to cite data found on the Peakfinder website.
Usage
A search engine for peaks can be found here. If the exact name is known then use the search box on this page.
| Parameter | Value |
|---|---|
{{cite peakfinder
| id =
| name =
| subject =
| access-date =
}}
|
Feature id Feature name Use "peaks" for peak, "ranges" for mountain range, "passes" for mountain pass, "people" for a person. Full date |
The id must be entered exactly as it appears at the top of the web page. Unnamed parameters are allowed but not recommended as it makes future changes to the template more difficult to implement. The access-date is optional. The subject is optional and defaults to "peaks" if not specified.
Examples
Used with named parameters:
- {{cite peakfinder |id=1175 | name=Mount Robson |access-date=2010-02-18}} → Script error: No such module "If empty"./1175 "Mount Robson" Check
|url=value (help). PeakFinder.com. Retrieved 2010-02-18.
- {{cite peakfinder | id=15 | name = Elk Range | subject = ranges | access-date=2019-06-08}} → Script error: No such module "If empty"./15 "Elk Range" Check
|url=value (help). PeakFinder.com. Retrieved 2019-06-08.
- {{cite peakfinder | id=4 | name = Crowsnest Pass | subject = passes | access-date=2019-06-08}} → Script error: No such module "If empty"./4 "Crowsnest Pass" Check
|url=value (help). PeakFinder.com. Retrieved 2019-06-08.
- {{cite peakfinder | id=5 | name = Thomas Blakiston | subject = people | access-date=2019-06-08}} → Script error: No such module "If empty"./5 "Thomas Blakiston" Check
|url=value (help). PeakFinder.com. Retrieved 2019-06-08.
Used with unnamed parameters:
- {{cite peakfinder |1175|Mount Robson |2010-02-18}} → Script error: No such module "If empty"./1175 "Mount Robson" Check
|url=value (help). PeakFinder.com. Retrieved 2010-02-18.
See also
- {{cite bivouac}}
- {{cite gvp}}
- {{cite ngs}}
- {{cite web}}