Difference between revisions of "Template:Cite bcgnis/doc"
Jump to navigation
Jump to search
imported>RedWolf (updated search engine URL) |
imported>Debresser m (Standardize.) |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 7: | Line 7: | ||
== Usage == | == Usage == | ||
| − | A search engine for BC Geographical Names is available [ | + | 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> | + | 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 17: | 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= |
| − | | | + | | 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 29: | Line 29: | ||
|} | |} | ||
| − | If no '''< | + | 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: | ||
| − | :< | + | :<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: | ||
| − | :< | + | :<kbd><nowiki>{{cite bcgnis |38638 |Fairweather Mountain |2017-06-25}}</nowiki></kbd> → {{cite bcgnis |38638 |Fairweather Mountain |2017-06-25}} |
== See also == | == See also == | ||
| Line 44: | Line 44: | ||
* {{tl|cite web}} | * {{tl|cite web}} | ||
| − | <includeonly>{{ | + | <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 is a documentation subpage for Template:Cite bcgnis. It contains usage information, categories and other content that is not part of the original template page. |
| This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
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
- {{cite cgndb}}
- {{cite bivouac}}
- {{cite peakfinder}}
- {{cite web}}