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

From blackwiki
Jump to navigation Jump to search
imported>Droll
(cleanup)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
{{cs1 wrapper|base=Cite web}}
 +
<!-- PLEASE ADD CATEGORIES 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 can be initiated on the sites [http://www.summitpost.org/ home page]. For example, enter Hood in the search box. You will be offered a list of matches to choose from. Select the feature you want and click on the name or use the advanced search option. When you locate the page you want, the URL will include a number. For example: {{nowrap|<code><nowiki>http://www.summitpost.org/mount-hood/</nowiki>'''150189'''</code>}}. The number <code>150189</code> is the <code>id</code>. The page <code>name</code> is Mount Hood.
  
 
{| class="wikitable"
 
{| class="wikitable"
|- width="50%" valign="top" style="vertical-align:top;"
+
|- style="vertical-align:top;"
! Parameter !! Instructions !! Notes
+
! Parameter !! Value
|- width="50%" valign="top" style="vertical-align: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 19:
 
| 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
+
Number from URL
Required
+
Page name
Recommended
+
Full date
&nbsp; </pre>
+
&nbsp;</pre>
 
|}
 
|}
 
+
The parameters '''<code>id</code>''' and '''<code>name</code>''' must be specified. An optional parameter, '''<code>date</code>''', is available if the date in the header section of the SummitPost page is relevant.
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:
 +
:<code><nowiki>{{cite summitpost |id=150227 |name=Mount Whitney |accessdate=2008-10-31}}</nowiki></code> → {{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>
+
:<code><nowiki>{{cite summitpost |150227 |Mount Whitney |2008-10-31}}</nowiki></code> {{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 ===
*{{tl|cite bivouac}}
 
 
*{{tl|cite gnis}}
 
*{{tl|cite gnis}}
 
*{{tl|cite gvp}}
 
*{{tl|cite gvp}}
 
*{{tl|cite ngs}}
 
*{{tl|cite ngs}}
 +
*{{tl|cite peakbagger}}
 
*{{tl|cite web}}
 
*{{tl|cite web}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 +
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:External link templates]]
 
[[Category:External link templates]]
 
[[Category:Specific-source templates]]
 
[[Category:Specific-source templates]]
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
}}</includeonly>
 
 
</includeonly>
 

Latest revision as of 14:28, 24 April 2020


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

Usage

A search can be initiated on the sites home page. For example, enter Hood in the search box. You will be offered a list of matches to choose from. Select the feature you want and click on the name or use the advanced search option. When you locate the page you want, the URL will include a number. For example: http://www.summitpost.org/mount-hood/150189. The number 150189 is the id. The page name is Mount Hood.

Parameter Value
{{cite summitpost
| id = 
| name = 
| accessdate = 
}}
 
Number from URL
Page name
Full date
 

The parameters id and name must be specified. An optional parameter, date, is available if the date in the header section of the SummitPost page is relevant.

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