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

From blackwiki
Jump to navigation Jump to search
imported>Droll
(test)
(cite web)
Line 1: Line 1:
 
<includeonly>{{#ifeq:{{{1|{{{name|{{{title|}}}}}}}}}||{{citation error|no {{para|name}} specified|cite peakfinder|nocat={{{template doc demo|}}}}}
 
<includeonly>{{#ifeq:{{{1|{{{name|{{{title|}}}}}}}}}||{{citation error|no {{para|name}} specified|cite peakfinder|nocat={{{template doc demo|}}}}}
| {{citation/core
+
| {{cite web
   | Sep = .
+
   | url = http://peakfinder.com/peakfinder.asp?PeakName={{urlencode:{{{1|{{{name|{{{title|}}}}}}}}}}}
  | IncludedWorkURL = http://peakfinder.com/peakfinder.asp?PeakName={{urlencode:{{{1|{{{name|{{{title|}}}}}}}}}}}
+
   | title = {{{1|{{{name|{{{title|}}}}}}}}}
   | IncludedWorkTitle = {{{1|{{{name|{{{title|}}}}}}}}}
+
   | publisher = PeakFinder.com
   | Publisher = PeakFinder.com
+
   | accessdate = {{{2|{{{accessdate|}}}}}}
   | AccessDate = {{{2|{{{accessdate|}}}}}}
 
  | PS = .
 
 
   }}
 
   }}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
{{template sandbox notice}}
+
{{documentation}}
 
<!--
 
<!--
 
   PLEASE ADD CATEGORIES AND INTERWIKIS
 
   PLEASE ADD CATEGORIES AND INTERWIKIS

Revision as of 13:44, 7 February 2015

Template documentation[view] [edit] [history] [purge]

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