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

From blackwiki
Jump to navigation Jump to search
imported>Droll
m (tweak)
(cite web)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{id|{{{1|}}}}}}
+
<includeonly>{{#ifeq:{{{1|{{{id|}}}}}}||{{citation error|no <code>id</code> specified|cite bivouac|nocat={{{template doc demo|}}}}}
| {{#if: {{{name|{{{title|{{{2|}}}}}}}}}
+
| {{#ifeq:{{{2|{{{name|{{{title|}}}}}}}}}||{{citation error|no <code>name</code> specified|cite bivouac|nocat={{{template doc demo|}}}}}
   | {{Cite web
+
   | {{cite web
     | url = http://www.bivouac.com/MtnPg.asp?MtnId={{urlencode:{{{id|{{{1|}}}}}} }}
+
     | url = http://www.bivouac.com/MtnPg.asp?MtnId={{urlencode:{{{1|{{{id}}}}}}}}
     | title = {{{name|{{{title|{{{2|}}}}}}}}}
+
     | title = {{{2|{{{name|{{{title|}}}}}}}}}
     | accessdate = {{{accessdate|{{{3|}}}}}}
+
    | publisher = Bivouac.com
     | date = {{{date|}}}
+
     | accessdate = {{{3|{{{accessdate|}}}}}}
    | work = Canadian Mountain Encyclopedia
+
     }}
    | publisher = Bivouac.com }}
+
   }}
   | '''{{Citation error|You must specify {{para|name}}|cite bivouac}}''' }}
+
}}</includeonly><noinclude>
| '''{{Citation error|You must specify {{para|id}}|cite bivouac}}''' }}</includeonly><noinclude>
+
{{documentation}}
{{template sandbox notice}}
 
<!--
 
  PLEASE ADD CATEGORIES AND INTERWIKIS
 
  TO THE /doc SUBPAGE, THANKS
 
-->
 
 
</noinclude>
 
</noinclude>

Latest revision as of 13:37, 7 February 2015

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

This citation template can be used to cite the Bivouac Mountain Encyclopedia website published at Bivouac.com.

Usage

A search engine can be found here.

Parameter Notes
{{cite bivouac
| id = 
| name =
| accessdate =
}}
  
MtnId from the URL
Feature name
Full date
  

The parameters id and name must be specified. Unnamed parameters are allowed. The accessdate is optional.

Examples

Using named parameters:

{{cite bivouac |id=14 |name=Mount Logan}}"Mount Logan". Bivouac.com.

Using unnamed parameters:

{{cite bivouac |14 |Mount Logan |2008-10-31}}"Mount Logan". Bivouac.com. Retrieved 2008-10-31.

See also