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

From blackwiki
Jump to navigation Jump to search
imported>Droll
(test)
imported>Droll
(test)
Line 1: Line 1:
{{#iferror: {{#expr: {{{id|{{{1|}}}}}} * 1}}
+
<includeonly>{{#iferror: {{#expr: {{{id|{{{1|}}}}}} * 1}}
 
| {{Citation error|You must specify a valid <tt>id</tt> number|cite bcgnis}}
 
| {{Citation error|You must specify a valid <tt>id</tt> number|cite bcgnis}}
| {{#ifeq: {{{name|{{{title|{{{2|}}}}}}}}}|
+
| {{Citation/core
  | {{Citation error|You must specify a <tt>title</tt>|cite bcgnis}}
+
   | Sep = .
   | {{Citation/core
+
  | IncludedWorkURL = http://archive.ilmb.gov.bc.ca/bcgn-bin/bcg10?name={{{id|{{{1}}}}}}
    | Sep = .
+
  | IncludedWorkTitle = {{{name|{{{title|{{{2|{{PAGENAME}}}}}}}}}}}
    | IncludedWorkURL = http://archive.ilmb.gov.bc.ca/bcgn-bin/bcg10?name={{{id|{{{1}}}}}}
+
  | Publisher = [[BC Geographical Names Information System]]
    | IncludedWorkTitle = {{{name|{{{title|{{{2|}}}}}}}}}
+
  | AccessDate = {{{accessdate|{{{3|}}}}}}
    | Publisher = [[BC Geographical Names Information System]]
+
  | PS = .
    | AccessDate = {{{accessdate|{{{3|}}}}}}
 
    | PS = .
 
    }}
 
 
   }}
 
   }}
}}</includeonly><noinclude>
+
}}<!--
 
+
-->{{if both|{{is article}}|{{is empty|{{{2|{{{name|{{{title|}}}}}}}}} }}
{{template sandbox notice}}
+
  | [[Category:Articles using cite bcgnis without feature name]]}}<!--
 +
--></includeonly><noinclude>
 +
{{documentation}}
 +
<!--
 +
  PLEASE ADD CATEGORIES AND INTERWIKIS
 +
  TO THE /doc SUBPAGE, THANKS
 +
-->
 
</noinclude>
 
</noinclude>

Revision as of 21:26, 16 September 2010

50px Template documentation[view] [edit] [history] [purge]


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