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

From blackwiki
Jump to navigation Jump to search
imported>GoingBatty
m (General fixes, typo(s) fixed: For example → For example, using AWB (11376))
imported>Debresser
m (Standardize.)
 
(8 intermediate revisions by 6 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____NOEDITSECTION__
 
__NOTOC____NOEDITSECTION__
  
This [[Wikipedia:Citation templates|citation template]] can be used to cite references to the [[BC Geographical Names]] web service.
+
This [[Wikipedia:Citation templates|citation template]] can be used to cite references to the [[BC Geographical Names]] web service for British Columbia, Canada.
  
=== Usage ===
+
== Usage ==
A search engine for BC Geographical Names is available [http://archive.ilmb.gov.bc.ca/bcnames/ here]. The feature number can be found near the end of the URL.  
+
A search engine for BC Geographical Names is available [https://apps.gov.bc.ca/pub/bcgnws/ here]. The feature number can be found near the end of the URL.  
  
For example, a search for [[Fairweather Mountain]] yields the URL: <code><nowiki>http://apps.gov.bc.ca/pub/bcgnws/names/</nowiki><span style="background:yellow">38638</span>.html</code>. Use the highlighted number as the '''<code>id</code>''' for this template.
+
For example, a search for [[Fairweather Mountain]] yields the URL: <code><nowiki>https://apps.gov.bc.ca/pub/bcgnws/names/</nowiki><span style="background:yellow">38638</span>.html</code>. Use the highlighted number as the '''<code>id</code>''' for this template.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 16: Line 17:
 
| style="vertical-align:top;padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent">
 
| style="vertical-align:top;padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent">
 
{{cite bcgnis
 
{{cite bcgnis
| id =  
+
| id=
| name =
+
| name=
| accessdate =  
+
| access-date=
 
}}</pre>
 
}}</pre>
 
| style="vertical-align:top; padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent">
 
| style="vertical-align:top; padding:1ex;" |<pre style="margin:0; padding:0; border-color:transparent">
Line 28: Line 29:
 
|}
 
|}
  
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.
+
If no '''<kbd>name</kbd>''' is specified, the article name is used. Specifying the '''<kbd>name</kbd>''' is recommended since the article name might be need to be [[Wikipedia:Disambiguation|disambiguated]] in the future.  Unnamed parameters are allowed. The use of '''<kbd>access-date</kbd>''' is optional.
 
   
 
   
=== Examples ===
+
== Examples ==
 
Used with named parameters:
 
Used with named parameters:
:<tt><nowiki>{{cite bcgnis |id=38638 |name=Fairweather Mountain}}</nowiki></tt> → {{cite bcgnis |id=38638 |name=Fairweather Mountain}}
+
:<kbd><nowiki>{{cite bcgnis |id=38638 |name=Fairweather Mountain}}</nowiki></kbd> → {{cite bcgnis |id=38638 |name=Fairweather Mountain}}
  
 
Used with unnamed parameters:
 
Used with unnamed parameters:
:<tt><nowiki>{{cite bcgnis |38638 |Fairweather Mountain |2010-09-27}}</nowiki></tt> → {{cite bcgnis |38638 |Fairweather Mountain |2010-09-27}}
+
:<kbd><nowiki>{{cite bcgnis |38638 |Fairweather Mountain |2017-06-25}}</nowiki></kbd> → {{cite bcgnis |38638 |Fairweather Mountain |2017-06-25}}
  
=== See also ===
+
== See also ==
 
* {{tl|cite cgndb}}
 
* {{tl|cite cgndb}}
 
* {{tl|cite bivouac}}
 
* {{tl|cite bivouac}}
Line 43: Line 44:
 
* {{tl|cite web}}
 
* {{tl|cite web}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:External link templates]]
 
[[Category:External link templates]]

Latest revision as of 20:08, 30 August 2020


This citation template can be used to cite references to the BC Geographical Names web service for British Columbia, Canada.

Usage

A search engine for BC Geographical Names is available here. The feature number can be found near the end of the URL.

For example, a search for Fairweather Mountain yields the URL: https://apps.gov.bc.ca/pub/bcgnws/names/38638.html. Use the highlighted number as the id for this template.

Parameter Notes
{{cite bcgnis
| id=
| name=
| access-date=
}}
 
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 access-date 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 unnamed parameters:

{{cite bcgnis |38638 |Fairweather Mountain |2017-06-25}}"Script error: No such module "If empty".". BC Geographical Names. Retrieved 2017-06-25.

See also