Difference between revisions of "Template:Cite bcgnis/doc"
Jump to navigation
Jump to search
imported>Droll (→Usage: tidied up still more) |
imported>Pfly (add example showing usage without id= name= accessdate=) |
||
| Line 37: | Line 37: | ||
The fields '''<tt>id</tt>''' and '''<tt>title</tt>''' must be specified. | The fields '''<tt>id</tt>''' and '''<tt>title</tt>''' must be specified. | ||
| − | === | + | === Examples === |
'''Wiki markup''' | '''Wiki markup''' | ||
| Line 52: | Line 52: | ||
| title = Fairweather Mountain | | title = Fairweather Mountain | ||
| accessdate = 2010-01-27 }} | | accessdate = 2010-01-27 }} | ||
| + | </blockquote> | ||
| + | |||
| + | '''Wiki markup''' | ||
| + | <blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;"><pre><nowiki> | ||
| + | {{cite bcgnis|38638|Fairweather Mountain|2010-01-27}} | ||
| + | </nowiki></pre></blockquote> | ||
| + | '''produces:''' | ||
| + | <blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em;"> | ||
| + | {{cite bcgnis|38638|Fairweather Mountain|2010-01-27}} | ||
</blockquote> | </blockquote> | ||
Revision as of 08:01, 13 May 2010
| 40px | 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. |
| 40x40px | This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Purpose
Provides an easy way to cite 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://ilmbwww.gov.bc.ca/bcgn-bin/bcg10?name=38638. Use the number after name= as the id.
| Fields | Instructions | Notes |
|---|---|---|
{{cite bcgnis
| id =
| title =
| accessdate =
}}
|
Number form URL Feature Name Full date |
Required Required Optional |
The fields id and title must be specified.
Examples
Wiki markup
{{cite bcgnis
| id = 38638
| title = Fairweather Mountain
| accessdate = 2010-01-27 }}
produces:
"Script error: No such module "If empty".". BC Geographical Names. Retrieved 2010-01-27.
Wiki markup
{{cite bcgnis|38638|Fairweather Mountain|2010-01-27}}
produces:
"Script error: No such module "If empty".". BC Geographical Names. Retrieved 2010-01-27.
See also
- {{cite cgndb}}
- {{cite bivouac}}
- {{cite web}}