Difference between revisions of "Template:Cite Secor"

From blackwiki
Jump to navigation Jump to search
imported>Droll
(tweaked)
imported>Droll
(rewrite)
Line 1: Line 1:
<includeonly>{{#switch:{{{edition|{{{1|}}}}}}
+
{{#if:{{{edition|{{{1|}}}}}}
| 1 = {{cite book |last=Secor |first=R.J. |title=The High Sierra Peaks, Passes, and Trails |publisher=The Mountaineers {{#if:{{{page|{{{2|}}}}}}|{{!}}page={{{page|{{{2|}}}}}}|{{#if:{{{page|{{{3|}}}}}}|{{!}}pages={{{page|{{{3|}}}}}}}}}} |year=1992 |edition=1st |isbn=9780898863130}}
+
| {{#if:{{{pages|{{{3|}}}}}}
| 2 = {{cite book |last=Secor |first=R.J. |title=The High Sierra Peaks, Passes, and Trails |publisher=The Mountaineers {{#if:{{{page|{{{2|}}}}}}|{{!}}page={{{page|{{{2|}}}}}}|{{#if:{{{page|{{{3|}}}}}}|{{!}}pages={{{page|{{{3|}}}}}}}}}} |year=1999 |edition=2nd |isbn=9780898866254}}
+
  | {{cite book
| 3 = {{cite book |last=Secor |first=R.J. |title=The High Sierra Peaks, Passes, and Trails |publisher=The Mountaineers {{#if:{{{page|{{{2|}}}}}}|{{!}}page={{{page|{{{2|}}}}}}|{{#if:{{{page|{{{3|}}}}}}|{{!}}pages={{{page|{{{3|}}}}}}}}}} |year=2009 |edition=3rd |isbn=9780898869712}}
+
    | last = Secor
| {{citation error|no {{para|edition}} specified|cite Secor|nocat={{{template doc demo|}}}}}
+
    | first = R.J.
}}</includeonly><noinclude>
+
    | title = The High Sierra Peaks, Passes, and Trails
 +
    | publisher = The Mountaineers
 +
    | pages = {{{pages|{{{3|}}}}}}
 +
    | year = {{#switch:{{{edition|{{{1|}}}}}} | 1 = 1992 | 2 = 1999 | 3= 2009 }}
 +
    | edition = {{ordinal|{{{edition|{{{1|}}}}}}}}
 +
    | isbn = {{#switch:{{{edition|{{{1|}}}}}} | 1 = 9780898863130 | 2 = 9780898866254 | 3 = 9780898869712 }} }}
 +
  | {{cite book
 +
    | last = Secor
 +
    | first = R.J.
 +
    | title = The High Sierra Peaks, Passes, and Trails
 +
    | publisher = The Mountaineers
 +
    | page = {{{pages|{{{2|}}}}}}
 +
    | year = {{#switch:{{{edition|{{{1|}}}}}} | 1 = 1992 | 2 = 1999 | 3= 2009 }}
 +
    | edition = {{ordinal|{{{edition|{{{1|}}}}}}}}
 +
    | isbn = {{#switch:{{{edition|{{{1|}}}}}} | 1 = 9780898863130 | 2 = 9780898866254 | 3 = 9780898869712 }} }} }}
 +
| <includeonly>{{cite book
 +
  | last = Secor
 +
  | first = R.J.
 +
  | title = The High Sierra Peaks, Passes, and Trails
 +
  | publisher = The Mountaineers
 +
  }}</includeonly>
 +
}}<noinclude>
 
{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}/sandbox
 
{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}/sandbox
 
| {{template sandbox notice}}
 
| {{template sandbox notice}}
 
| {{documentation}}
 
| {{documentation}}
}}
+
}}<!--
<!--
 
 
     PLEASE ADD CATEGORIES AND INTER-WIKI
 
     PLEASE ADD CATEGORIES AND INTER-WIKI
 
     LINKS TO THE /doc SUB-PAGE, THANKS
 
     LINKS TO THE /doc SUB-PAGE, THANKS
 
--></noinclude>
 
--></noinclude>

Revision as of 22:14, 22 December 2012

Usage

This citation template can be used to cite information in R.J. Secor's book The High Sierra Peaks, Passes, and Trails. The book is a reliable source for information about the Sierra Nevada back-country, including climbing routes and first ascents. There have been three editions of the book.

Parameter Value Notes
{{cite Secor
| edition = 
| page =
}}
 
Edition number
Page number
 
 
Recommended
Recommended
 

As with the {{cite book}} template, uses page to refer to one page and pages to refer to multiple pages. If pages is used the page numbers should be separated by and endash. See MOS:ENDASH.

Examples

Used with named parameters:

{{cite Secor |edition=3 |page=254}}Secor, R.J. (2009). The High Sierra Peaks, Passes, and Trails (Template:Ordinal ed.). The Mountaineers. ISBN 9780898869712.
{{cite Secor |edition=3 |pages=254–258}}Secor, R.J. (2009). The High Sierra Peaks, Passes, and Trails (Template:Ordinal ed.). The Mountaineers. pp. 254–258. ISBN 9780898869712.

See also