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

From blackwiki
Jump to navigation Jump to search
imported>Droll
(added NOEDITSECTION)
imported>Droll
(rewrite)
Line 5: Line 5:
  
 
=== Usage ===
 
=== Usage ===
 
+
A search engine for BCGNIS is available [http://ilmbwww.gov.bc.ca/bcnames/g2_search_by_name.htm here]. The feature number can be found at the end of the URL. For example a search for [[Fairweather Mountain]] yields the URL: <tt>http://archive.ilmb.gov.bc.ca/bcgn-bin/bcg10?name=38638</tt>. Use the number after <tt>name=</tt> as the '''<tt>id</tt>'''.
A search engine for BCGNIS is available [http://ilmbwww.gov.bc.ca/bcnames/g2_search_by_name.htm here]. The feature number can be found at the end of the URL. For example a search for [[Fairweather Mountain]] yields the URL: <tt>http://archive.ilmb.gov.bc.ca/bcgn-bin/bcg10?name=38638</tt>. Use the number after <b><tt>name=</tt></b> as the <b><tt>id</tt></b>.
 
  
 
{| class="wikitable"
 
{| class="wikitable"
|- width="50%" valign="top" style="vertical-align:top;"
+
|- valign="top" style="vertical-align:top;"
! Fields !! Instructions !! Notes
+
! Parameter !! Notes
|- 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 bcgnis
 
{{cite bcgnis
 
| id =  
 
| id =  
Line 18: Line 17:
 
| 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;
 
&nbsp;
 
Number form URL
 
Number form URL
 
Official name
 
Official name
 
Full date
 
Full date
&nbsp;</pre>
 
| style="vertical-align:top;padding:1ex;" |<pre>
 
&nbsp;
 
Required
 
Recommended
 
Optional
 
 
&nbsp;</pre>
 
&nbsp;</pre>
 
|}
 
|}
  
If no <tt>name</tt> is specified, the article name is used. Specifying the <tt>name</tt> is recommended since the article name might be need to be [[Wikipedia:Disambiguation|disambiguated]] in the future.
+
If no '''<tt>name</tt>''' is specified, the article name is used. Specifying the '''<tt>name</tt>''' is recommended since the article name might be need to be [[Wikipedia:Disambiguation|disambiguated]] in the future.  Unnamed parameters are allowed. The use of '''<tt>accessdate</tt>''' is optional.
 
   
 
   
 
=== Examples ===
 
=== Examples ===
 +
Used with named parameters:
 +
:<tt><nowiki>{{cite bcgnis |id=38638 |name=Fairweather Mountain}}</nowiki></tt> → {{cite bcgnis |id=38638 |name=Fairweather Mountain}}
  
'''Wiki markup'''
+
Used with named parameters:
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;"><pre><nowiki>
+
:<tt><nowiki>{{cite bcgnis |38638 |Fairweather Mountain}}</nowiki></tt> {{cite bcgnis |38638 |Fairweather Mountain |27-09-2010}}
{{cite bcgnis
 
| id = 38638
 
| name = Fairweather Mountain }}
 
</nowiki></pre></blockquote>
 
'''produces:'''
 
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;">
 
{{cite bcgnis
 
| id = 38638
 
| name = Fairweather Mountain }}
 
</blockquote>
 
 
 
'''Wiki markup'''
 
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;"><pre><nowiki>
 
{{cite bcgnis|38638|Fairweather Mountain}}
 
</nowiki></pre></blockquote>
 
'''produces:'''
 
<blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;">
 
{{cite bcgnis|38638|Fairweather Mountain}}
 
</blockquote>
 
  
 
=== See also ===
 
=== See also ===
 
* {{tl|cite cgndb}}
 
* {{tl|cite cgndb}}
 
* {{tl|cite bivouac}}
 
* {{tl|cite bivouac}}
 +
* {{tl|cite peakfinder}}
 
* {{tl|cite web}}
 
* {{tl|cite web}}
  

Revision as of 07:46, 27 September 2010

This citation template can be used to cite references to the BC Geographical Names Information System (BCGNIS).

Usage

A search engine for BCGNIS is available here. The feature number can be found at the end of the URL. For example a search for Fairweather Mountain yields the URL: http://archive.ilmb.gov.bc.ca/bcgn-bin/bcg10?name=38638. Use the number after name= as the id.

Parameter Notes
{{cite bcgnis
| id = 
| name =
| accessdate = 
}}
 
Number form URL
Official name
Full date
 

If no name is specified, the article name is used. Specifying the name is recommended since the article name might be need to be disambiguated in the future. Unnamed parameters are allowed. The use of accessdate is optional.

Examples

Used with named parameters:

{{cite bcgnis |id=38638 |name=Fairweather Mountain}}"Script error: No such module "If empty".". BC Geographical Names.

Used with named parameters:

{{cite bcgnis |38638 |Fairweather Mountain}}"Script error: No such module "If empty".". BC Geographical Names. Retrieved 27-09-2010. Check date values in: |access-date= (help)

See also