Template:Silvics/sandbox
Appearance
This is the template sandbox page for Template:Silvics (diff). See also the companion subpage for test cases. |
This template is a Citation Style 1 wrapper template based on {{Citation}}. For centralized Citation Style 1 discussions, see Help talk:Citation Style 1. |
This template uses Lua: |
This template creates a citation of the Silvics Manual from the United States Forest Service.
Usage
[edit]Parameters
[edit]- If there is one author:
{{Silvics|volume = 1 (Conifers) or 2 (Hardwoods)|genus = genus name|species = species epithet|first = author's first name|last = author's last name|access-date = 30 October 2024}}
- If there are two:
{{Silvics|volume = 1 (Conifers) or 2 (Hardwoods)|genus = genus name|species = species epithet|first1 = first author's first name|last1 = first author's last name|first2 = second author's first name|last2 = second author's last name|access-date = 30 October 2024}}
- Blank versions:
{{Silvics|volume = |genus = |species = |first = |last = |access-date = {{{date}}}}}
{{Silvics|volume = |genus = |species = |first1 = |last1 = |first2 = |last2 = |access-date = {{{date}}}}}
By default, Citation Style 1 is used. Switch to Citation Style 2 using |mode=cs2
. Other parameters from Template:citation are also available.
Example
[edit]{{Silvics|volume=1|genus=Pinus|species=strobus|first1=G. W.|last1=Wendel|first2=H. Clay|last2=Smith|access-date=30 October 2024}}
yields
- Wendel, G. W.; Smith, H. Clay (1990). "Pinus strobus". In Burns, Russell M.; Honkala, Barbara H. (eds.). Conifers. Silvics of North America. Vol. 1. Washington, D.C.: United States Forest Service (USFS), United States Department of Agriculture (USDA). Retrieved 30 October 2024 – via Southern Research Station.