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

From blackwiki
Jump to navigation Jump to search
(cite web)
imported>Frietjes
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{1|{{{name|{{{title|}}}}}}}}}||{{citation error|no {{para|name}} specified|cite peakfinder|nocat={{{template doc demo|}}}}}
+
<includeonly>{{#ifeq:{{{1|{{{id|}}}}}}||{{citation error|no {{para|id}}|cite peakfinder|nocat={{{template doc demo|{{{template-doc-demo|}}}}}}}}
| {{cite web
+
| {{#ifeq:{{{2|{{{name|{{{title|}}}}}}}}}||{{citation error|no {{para|name}}|cite peakfinder|nocat={{{template doc demo|{{{template-doc-demo|}}}}}}}}
  | url = http://peakfinder.com/peakfinder.asp?PeakName={{urlencode:{{{1|{{{name|{{{title|}}}}}}}}}}}
+
  | {{cite web
  | title = {{{1|{{{name|{{{title|}}}}}}}}}
+
    | url = http://peakfinder.com/{{if empty|{{{subject|}}}|peaks}}/{{urlencode:{{{1|{{{id}}}}}}}}
  | publisher = PeakFinder.com
+
    | title = {{{2|{{{name|{{{title|}}}}}}}}}
  | accessdate = {{{2|{{{accessdate|}}}}}}
+
    | website = PeakFinder.com
 +
    | access-date = {{{3|{{{access-date|{{{accessdate|}}}}}}}}}
 +
    }}
 
   }}
 
   }}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!--
 
<!--
   PLEASE ADD CATEGORIES AND INTERWIKIS
+
   PLEASE ADD CATEGORIES TO THE /doc SUBPAGE, THANKS
  TO THE /doc SUBPAGE, THANKS
 
 
-->
 
-->
 
</noinclude>
 
</noinclude>

Latest revision as of 12:52, 12 October 2019

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