Template:Cite peakbagger/doc: Difference between revisions

Content deleted Content added
new documentation page
 
m top: {{High-use}}
 
(44 intermediate revisions by 12 users not shown)
Line 1:
{{Documentation subpage}}
{{High-use}}
{{cs1 wrapper|type=source|base=Cite web}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
__NOTOC____NOEDITSECTION__
__NOTOC__
{{esoteric}}
 
This [[wikipedia:citation template|citation template]] can be used to cite web pages at [http://peakbagger.com PeakBagger.com].
=== Purpose ===
 
Provides an easy way to cite web pages at '''P'''eak'''b'''agger.com
 
An advantage of this template is that malformed URL's are are less likely to occur. Also, the appearance of the citation will automatically conform with {{tl|cite web}} which sees more frequent maintenance.
 
=== Usage ===
A search engine for PeakBagger is available [http://www.peakbagger.com/Search.aspx here]. Use the text following the '''?''' in the [[URL]]. The Key Col webpage can be reached by clicking the <u>Key Col Page</u> link in the prominence section.
 
{| class="wikitable"
|- width="50%" valign="top" style="vertical-align:top;"
! Parameter !! Instructions !! NotesValue
|- width="50%" valign="top" style="vertical-align:top;"
| style="vertical-align:top;padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent">
{{cite peakbagger
{{ctie bp
| idkid =
| namelid =
| accessdatepid =
| accessdaymonthrid =
| accessmonthdaytitle =
| accessyearunits =
}}</pre>
| style="vertical-align:top; padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent">
&nbsp;
pid number from URL
name form web page
YYYY-MM-DD
DD Month
Month DD
YYYY
&nbsp; </pre>
| style="vertical-align:top;padding:1ex;" |<pre>
&nbsp;
key col id from URL
Required
list id from URL
Required
peak id from URL
Recommended
range id from URL
Alternative
page name
Alternative
see below
Alternative
&nbsp; </pre>
|}
 
The parameters '''name''' and '''kid''', '''lid''', '''pid''' or '''rid''' must be specified. To link to a list showing metric units use {{para|units|meters}}.
The fields <code>id</code> and <code>name</code> must be specified.
 
ForThe moretemplate informationaccepts onall mostother fieldsparameters seethat are acceptable by {{tl|cite web}}, e.g., {{para|access-date}}.
 
=== Examples ===
=== Peak example ===
Used with named parameters:
:<nowiki>{{cite peakbagger |pid=2829 |name=Mount Whitney, California |access-date=2008-10-31}}</nowiki> → {{cite peakbagger |pid=2829 |name=Mount Whitney, California |access-date=2008-10-31}}
Used with unnamed parameters (for peaks only):
:<nowiki>{{cite peakbagger |2829 |Mount Whitney, California |2008-10-31}}</nowiki> → {{cite peakbagger |2829 |Mount Whitney, California |2008-10-31}}
 
==== List example ====
'''Wiki markup'''
:<nowiki>{{cite peakbagger |lid=12003 |name=U.S. State High Points |access-date=2008-10-31}}</nowiki> → {{cite peakbagger |lid=12003|name=U.S. State High Points |access-date=2008-10-31}}
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;"><pre><nowiki>
{{ctie bp
| id = 2829
| title = Mount Whitney, California
| accessdate = 2008-10-31 }}
</nowiki></pre></blockquote>
'''produces:'''
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;">
{{ctie bp
| id = 2829
| title = Mount Whitney, California
| accessdate = 2008-10-31 }}
</blockquote>
 
==== Range example ====
:<nowiki>{{cite peakbagger |rid=126 |name=Sierra Nevada |access-date=2008-10-31}}</nowiki> → {{cite peakbagger |rid=126 |name=Sierra Nevada |access-date=2008-10-31}}
 
==== Key Col example ====
'''Wiki markup'''
:<nowiki>{{cite peakbagger |kid=2829 |name=Mount Whitney, California |access-date=2008-10-31}}</nowiki> → {{cite peakbagger |kid=2829 |name=Mount Whitney, California |access-date=2008-10-31}}
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;"><pre><nowiki>
{{ctie bp
| id = 2829
| name = Mount Whitney, California
| accessdaymonth = 31 October
| accessyear = 2008 }}
</nowiki></pre></blockquote>
'''produces:'''
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;">
{{ctie bp
| id = 2829
| name = Mount Whitney, California
| accessdaymonth = 31 October
| accessyear = 2008 }}
</blockquote>
 
 
'''Wiki markup'''
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;"><pre><nowiki>
{{ctie bp|2829|Mount Whitney, California|2008-10-31}}
</nowiki></pre></blockquote>
'''produces:'''
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;">
{{ctie bp|2829|Mount Whitney, California|2008-10-31}}
</blockquote>
 
 
'''Wiki markup'''
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;"><pre><nowiki>
{{ctie bp|2829|Mount Whitney, California}}
</nowiki></pre></blockquote>
'''produces:'''
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;">
{{ctie bp|2829|Mount Whitney, California}}
</blockquote>
 
=== See also ===
* {{tl|cite gnis}}
* {{tl|cite gvp}}
* {{tl|cite ngs}}
* {{tl|cite web}}
 
<includeonly>{{Sandbox other||
*{{tl|cite bivouac}}
*{{tl|cite gnis}}
*{{tl|cite gvp}}
*{{tl|cite ngs}}
*{{tl|cite web}}
 
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
{{DEFAULTSORT:{{PAGENAME}}}}
[[Category:External link templates]]
}}</includeonly>
[[Category:Citation templates]]
 
</includeonly>