Difference between revisions of "Template:Cite summitpost/doc"

From blackwiki
Jump to navigation Jump to search
imported>Droll
(→‎Usage: tweak)
imported>Droll
(cleaned up some)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
__NOTOC__
 
__NOTOC__
{{esoteric}}
 
  
=== Purpose ===
+
This [[wikipedia:citation template|citation template]] can be used to cite web pages at [http://SummitPost.org SummitPost.org].
 
 
Provides an easy way to cite web pages at SummitPost.org
 
 
 
An advantage of this template is that malformed URL's are less likely to occur. Also, the appearance of the citation will automatically conform with {{tl|cite web}} which sees more frequent maintenance.
 
  
 
=== Usage ===
 
=== Usage ===
 +
A search engine for SummitPost is available [http://www.summitpost.com/Search.aspx here]. For example, enter Mount Whitney in the search box. You will usually be offered a list of close matches to choose from. Select the feature you want and click on the name. Another page will be displayed with useful information. The URL should look like: <nowiki>http://</nowiki>www.summitpost.org/mountain/rock/'''150227'''/mount-whitney.html. The number <tt>150227</tt> is the <tt>id</tt>. The page <tt>name</tt> is Mount Whitney.
  
 
{| class="wikitable"
 
{| class="wikitable"
|- width="50%" valign="top" style="vertical-align:top;"
+
|- valign="top" style="vertical-align:top;"
! Parameter !! Instructions !! Notes
+
! Parameter !! Instructions
|- width="50%" valign="top" style="vertical-align:top;"
+
|- valign="top" style="vertical-align:top;"
| style="vertical-align:top;padding:1ex;" |<pre>
+
| style="vertical-align:top;padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent">
 
{{cite summitpost
 
{{cite summitpost
 
| id =  
 
| id =  
Line 22: Line 18:
 
| accessdate =  
 
| accessdate =  
 
}}</pre>
 
}}</pre>
| style="vertical-align:top;padding:1ex;" |<pre>
+
| style="vertical-align:top; padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent">
&nbsp;
 
number from the URL
 
name from web page
 
full date
 
&nbsp; </pre>
 
| style="vertical-align:top;padding:1ex;" |<pre>
 
 
&nbsp;
 
&nbsp;
Required
+
Id from URL
Required
+
Mountain name
Recommended
+
Full date
&nbsp; </pre>
+
&nbsp;</pre>
 
|}
 
|}
 
+
The parameters '''<tt>id</tt>''' and '''<tt>name</tt>''' must be specified.
To find the feature page use the [http://www.summitpost.org/object_list.php?object_type=1&sort_select_1=object_name advanced search page] and enter the name of the feature in the ''for'' box
 
 
 
For example enter Mount Whitney in the search box . You will usually be offered a list of close matches to choose from. Select the feature you are want and click on the name. Another page will be displayed with useful information. The URL should look like: <nowiki>http://</nowiki>www.summitpost.org/mountain/rock/'''150227'''/mount-whitney.html. The number 150227 is the '''<code>id</code>'''. The page '''<code>name</code>''' is Mount Whitney.
 
 
 
The fields '''<code>id</code>''' and '''<code>name</code>''' must be specified.
 
  
 
=== Examples ===
 
=== Examples ===
 +
Used with named parameters:
 +
:<tt><nowiki>{{cite summitpost |id=150227 |name=Mount Whitney |accessdate=2008-10-31}}</nowiki></tt> → {{cite summitpost |id=150227 |name=Mount Whitney |accessdate=2008-10-31}}
  
'''Wiki markup'''
+
Used with unnamed parameters:
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;"><pre><nowiki>
+
:<tt><nowiki>{{cite summitpost |150227 |Mount Whitney |2008-10-31}}</nowiki></tt> {{cite summitpost |150227 |Mount Whitney |2008-10-31}}
{{cite summitpost
 
| id = 150227
 
| name = Mount Whitney
 
| accessdate = 2008-10-31 }}
 
</nowiki></pre></blockquote>
 
'''produces:'''
 
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;">
 
{{cite summitpost
 
| id = 150227
 
| name = Mount Whitney
 
| accessdate = 2008-10-31 }}
 
</blockquote>
 
 
 
 
 
'''Wiki markup'''
 
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;"><pre><nowiki>
 
{{cite summitpost |150227 |Mount Whitney |2008-10-31}}
 
</nowiki></pre></blockquote>
 
'''produces:'''
 
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;">
 
{{cite summitpost |150227 |Mount Whitney |2008-10-31}}
 
</blockquote>
 
  
 
=== See also ===
 
=== See also ===

Revision as of 23:21, 22 October 2010


This citation template can be used to cite web pages at SummitPost.org.

Usage

A search engine for SummitPost is available here. For example, enter Mount Whitney in the search box. You will usually be offered a list of close matches to choose from. Select the feature you want and click on the name. Another page will be displayed with useful information. The URL should look like: http://www.summitpost.org/mountain/rock/150227/mount-whitney.html. The number 150227 is the id. The page name is Mount Whitney.

Parameter Instructions
{{cite summitpost
| id = 
| name = 
| accessdate = 
}}
 
Id from URL
Mountain name
Full date
 

The parameters id and name must be specified.

Examples

Used with named parameters:

{{cite summitpost |id=150227 |name=Mount Whitney |accessdate=2008-10-31}}"Mount Whitney". SummitPost.org. Retrieved 2008-10-31.

Used with unnamed parameters:

{{cite summitpost |150227 |Mount Whitney |2008-10-31}}"Mount Whitney". SummitPost.org. Retrieved 2008-10-31.

See also