Difference between revisions of "Template:Cite peakfinder/doc"

From blackwiki
Jump to navigation Jump to search
imported>Nick Moyes
(Correcting link to Peakfinder.com (Previous url was a dead page))
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(4 intermediate revisions by 3 users not shown)
Line 8: Line 8:
 
=== Usage ===
 
=== Usage ===
  
A search engine can be found [http://www.peakfinder.com/Locatepeak.htm here]. If the exact name is known then use the search box on [http://www.peakfinder.com/ this page].
+
A search engine for peaks can be found [http://www.peakfinder.com/peaks here]. <!-- Not anymore. 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 =
| accessdate =  
+
| 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">
&nbsp;  
+
&nbsp;
 +
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
 
&nbsp; </pre>
 
&nbsp; </pre>
 
|}
 
|}
  
The '''<tt>name</tt>''' must be entered exactly as it appears at the top of the web page. Unnamed parameters are allowed. The '''<tt>accessdate</tt>''' is optional.
+
The '''<kbd>id</kbd>''' must be entered exactly as it appears at the top of the web page. The '''<kbd>access-date</kbd>''' is optional. The '''<kbd>subject</kbd>''' is optional and defaults to "peaks" if not specified.
 +
 
 +
Unnamed parameters are allowed but <u>not recommended</u> as it makes future changes to the template more difficult to implement. The subject cannot be specified as an unnamed parameter so unnamed parameters can only be used for mountain peaks.
  
 
=== Examples ===
 
=== Examples ===
  
 
Used with named parameters:
 
Used with named parameters:
:<tt><nowiki>{{cite peakfinder |name=Mount Robson |accessdate=2010-02-18}}</nowiki></tt> → {{cite peakfinder |name=Mount Robson |accessdate=2010-02-18}}
+
:<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> &rarr; {{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> &rarr; {{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> &rarr; {{cite peakfinder | id=5 | name = Thomas Blakiston | subject = people | access-date=2019-06-08}}
  
 
Used with unnamed parameters:
 
Used with unnamed parameters:
:<tt><nowiki>{{cite peakfinder |Mount Robson |2010-02-18}}</nowiki></tt> → {{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 ===
Line 42: Line 54:
 
* {{tl|cite web}}
 
* {{tl|cite web}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:External link templates]]
 
[[Category:External link templates]]
 
[[Category:Specific-source templates]]
 
[[Category:Specific-source templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 14:20, 24 April 2020

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.

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. The access-date is optional. The subject is optional and defaults to "peaks" if not specified.

Unnamed parameters are allowed but not recommended as it makes future changes to the template more difficult to implement. The subject cannot be specified as an unnamed parameter so unnamed parameters can only be used for mountain peaks.

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