Difference between revisions of "Template:BONAP/doc"

From blackwiki
Jump to navigation Jump to search
imported>Erutuon
(→‎Usage: should probably be including date map was generated, if different from 2013)
imported>Jonesey95
(Fix empty citation, unnamed or unsupported parameter, or invalid parameter value; see Help:CS1 errors)
 
Line 8: Line 8:
 
The first parameter chooses between ref or link. Place the genus name in parameter {{para|genus}} if you are linking to either a genus  page or a species map, and add the specific epithet in parameter {{para|species}} if you are linking to a species map. By default, links to the county-level maps. Add {{para|state}} with any non-empty value to switch to the state- and province-level maps.
 
The first parameter chooses between ref or link. Place the genus name in parameter {{para|genus}} if you are linking to either a genus  page or a species map, and add the specific epithet in parameter {{para|species}} if you are linking to a species map. By default, links to the county-level maps. Add {{para|state}} with any non-empty value to switch to the state- and province-level maps.
  
By default, [[Help:Citation Style 1|Citation Style 1]] is used. Switch to [[Help:Citation Style 2|Citation Style 2]] using {{para|mode|CS2}}.
+
By default, [[Help:Citation Style 1|Citation Style 1]] is used. Switch to [[Help:Citation Style 2|Citation Style 2]] using {{para|mode|cs2}}.
  
 
; Syntax
 
; Syntax

Latest revision as of 18:37, 4 September 2019

Template:Underused external link template

Usage

This template links to the county-level and the state- and province-level plant distribution maps for species or genera in the Biota of North America Program's North American Plant Atlas. At the moment, it is meant to be used in footnotes, not external links sections.

The first parameter chooses between ref or link. Place the genus name in parameter |genus= if you are linking to either a genus page or a species map, and add the specific epithet in parameter |species= if you are linking to a species map. By default, links to the county-level maps. Add |state= with any non-empty value to switch to the state- and province-level maps.

By default, Citation Style 1 is used. Switch to Citation Style 2 using |mode=cs2.

Syntax
{{BONAP}}
Examples
  1. {{BONAP |genus=Campanula |species=rotundifolia |date=2014 |access-date=26 December 2025}}
  2. {{BONAP |genus=Campanula |date=2014 |access-date=26 December 2025}}
  3. {{BONAP |genus=Campanula |species=rotundifolia |state=1 |date=2014 |access-date=26 December 2025}}
  4. {{BONAP |genus=Campanula |state=1 |date=2014 |access-date=26 December 2025}}
yield
  1. "Campanula rotundifolia". County-level distribution map from the North American Plant Atlas (NAPA). Biota of North America Program (BONAP). 2014. Retrieved 26 December 2025.
  2. "Campanula". County-level distribution maps from the North American Plant Atlas (NAPA). Biota of North America Program (BONAP). 2014. Retrieved 26 December 2025.
  3. "Campanula rotundifolia". State-level distribution map from the North American Plant Atlas (NAPA). Biota of North America Program (BONAP). 2014. Retrieved 26 December 2025.
  4. "Campanula". State-level distribution maps from the North American Plant Atlas (NAPA). Biota of North America Program (BONAP). 2014. Retrieved 26 December 2025.