Template:eFloras/doc
This is a documentation subpage for Template:EFloras. It may contain 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 {{Citation}}. For centralized Citation Style 1 discussions, see Help talk:Citation Style 1. |
This external link template is underused, compared to the number of links to the site it represents (check here). Please help convert those links to make use of this template, for ease of tracking, and ease of interoperability with Wikidata. |
This template uses Lua: |
This template creates a citation of a taxon treatment in the floras and other resources on the web site eFloras. The most commonly cited resources are the Flora of North America (FNA) and the Flora of China (FoC). See the table below for a full list.
Usage
[edit]The first three parameters are the flora id, the taxon id, and the taxon name. For the Flora of North America and the Flora of China, the taxon id and taxon name can be omitted if they can be retrieved from Wikidata, but the authors and volume number should always be added.
In order to use the template, copy the link, and remove everything from it except for the two numbers. Place them in parameters 1 and 2.
The taxon name (parameter 3) is required if it is different from the taxon name on Wikidata or the page title. Do not italicize the taxon name; italics are automatically added if necessary by Module:eFloras. Taxonomic authorities should not be included: Caltha palustris, not Caltha palustris Linnaeus.
http://www.efloras.org/florataxon.aspx?flora_id=1&taxon_id=200007551
{{eFloras|1|200007551|Caltha palustris}}
To link to the treatment on the species in the current article in Flora of North America or Flora of China, just add the flora id (|1=
) – 1
(Flora of North America) or 2
(Flora of China) – and the template will look up the taxon id in Wikidata. For example, on the page for Pinus contorta, {{eFloras|1}}
is the same as {{eFloras|1|233500927}}
.
Authors of treatments in the Flora of North America and the Flora of China should be added, using the author-related parameters of {{citation}}
(see Template:Citation/doc § Authors). If authors are not listed in the treatment of one taxon, go to the page for the next highest taxon. Usually the authors of species treatments are listed on the page for the genus, tribe, or family. For instance, in the Flora of North America, the author of the treatment of the species Prunus virginiana is found in the treatment of the genus Prunus; in the Flora of China, the authors of the treatment of Rudbeckia hirta are found in the treatment of Asteraceae tribe Heliantheae.
- One author:
{{eFloras||||first= |last= |access-date=30 November 2024}}
- Up to five authors:
{{eFloras||||first1= |last1= |first2= |last2= |first3= |last3= |first4= |last4= |first5= |last5= |access-date=30 November 2024}}
There are three ways to add the volume number. You can add it directly in the |volume=
parameter, add the family in the parameter |family=
for taxa in the Floras of North America, China, and Chile, or add the tribe in |tribe=
for taxa in Asteraceae in the Flora of North America. The family or tribe is passed to Module:eFloras and the module returns the volume number (or range of volumes).
For the Flora of North America, the date of publication will be added based on the volume number.
By default, Citation Style 1 is used. Switch to Citation Style 2 using |mode=cs2
.
Examples
[edit]Code
[edit]{{eFloras|1|233501007|Quercus alba |volume=3 |first=Kevin C. |last=Nixon | access-date = 30 November 2024 }}
{{eFloras|1|233501007|Quercus alba |family=Fagaceae |first=Kevin C. |last=Nixon | access-date = 30 November 2024 }}
{{eFloras|1|233501007|Quercus alba |first=Kevin C. |last=Nixon | access-date = 30 November 2024 }}
{{eFloras|11|233501007|Quercus alba | access-date = 30 November 2024 }}
{{eFloras | 1 | 125519 | Pinus | family = Pinaceae | last = Kral | first = Robert | access-date = 30 November 2024 }}
{{eFloras | 2 | 240001195 | Dioscorea polystachya | family = Dioscoreaceae | first1 = Chih-chi | last1 = Ting | first2 = Michael G. | last2 = Gilbert | access-date = 30 November 2024 }}
{{eFloras | 1 | 10509 | Limnocharitaceae | family = Limnocharitaceae | first = Robert R. | last = Haynes | access-date = 30 November 2024 }}
{{eFloras | 201 | 10136 | Buxaceae | family = Buxaceae | access-date = 30 November 2024 }}
{{eFloras | 5 | 220004167 | Dioscorea sativa | nv | access-date = 30 November 2024 }}
{{eFloras | 5 | 250072783 | Avenula pratensis | nv | access-date = 30 November 2024 }}
{{eFloras|120|242442611|Tulipa tarda}}
Results
[edit]- Nixon, Kevin C. (1997). "Quercus alba". In Flora of North America Editorial Committee (ed.). Flora of North America North of Mexico (FNA). Vol. 3. New York and Oxford: Oxford University Press. Retrieved 30 November 2024 – via eFloras.org, Missouri Botanical Garden, St. Louis, MO & Harvard University Herbaria, Cambridge, MA.
- Nixon, Kevin C. (1997). "Quercus alba". In Flora of North America Editorial Committee (ed.). Flora of North America North of Mexico (FNA). Vol. 3. New York and Oxford: Oxford University Press. Retrieved 30 November 2024 – via eFloras.org, Missouri Botanical Garden, St. Louis, MO & Harvard University Herbaria, Cambridge, MA.
- Nixon, Kevin C. "Quercus alba". In Flora of North America Editorial Committee (ed.). Flora of North America North of Mexico (FNA). New York and Oxford: Oxford University Press. Retrieved 30 November 2024 – via eFloras.org, Missouri Botanical Garden, St. Louis, MO & Harvard University Herbaria, Cambridge, MA.
- Yatskievych, George. "Quercus alba". Flora of Missouri. Retrieved 30 November 2024 – via eFloras.org, Missouri Botanical Garden, St. Louis, MO & Harvard University Herbaria, Cambridge, MA.
- Kral, Robert (1993). "Pinus". In Flora of North America Editorial Committee (ed.). Flora of North America North of Mexico (FNA). Vol. 2. New York and Oxford: Oxford University Press. Retrieved 30 November 2024 – via eFloras.org, Missouri Botanical Garden, St. Louis, MO & Harvard University Herbaria, Cambridge, MA.
- Ting, Chih-chi; Gilbert, Michael G. "Dioscorea polystachya". Flora of China. Vol. 24. Retrieved 30 November 2024 – via eFloras.org, Missouri Botanical Garden, St. Louis, MO & Harvard University Herbaria, Cambridge, MA.
- Haynes, Robert R. (2000). "Limnocharitaceae". In Flora of North America Editorial Committee (ed.). Flora of North America North of Mexico (FNA). Vol. 22. New York and Oxford: Oxford University Press. Retrieved 30 November 2024 – via eFloras.org, Missouri Botanical Garden, St. Louis, MO & Harvard University Herbaria, Cambridge, MA.
- Ulloa Ulloa, Carmen; Jørgensen, Peter Møller. "Buxaceae". Árboles y arbustos de los Andes del Ecuador [Trees and shrubs of the Andes of Ecuador] (in Spanish). Retrieved 30 November 2024 – via eFloras.org, Missouri Botanical Garden, St. Louis, MO & Harvard University Herbaria, Cambridge, MA.
- "Dioscorea sativa Synonym". Flora of Pakistan. Retrieved 30 November 2024 – via eFloras.org, Missouri Botanical Garden, St. Louis, MO & Harvard University Herbaria, Cambridge, MA.
- "Avenula pratensis Synonym". Flora of Pakistan. Retrieved 30 November 2024 – via eFloras.org, Missouri Botanical Garden, St. Louis, MO & Harvard University Herbaria, Cambridge, MA.
- Shulkina, Tatyana. "Tulipa tarda". Ornamental Plants from Russia and Adjacent States of the Former Soviet Union – via eFloras.org, Missouri Botanical Garden, St. Louis, MO & Harvard University Herbaria, Cambridge, MA.
Syntax
[edit]{{eFloras | <flora_id> | <taxon_id> | <taxonName> | <validity> | first = <first name> | last = <last name> | access-date = 30 November 2024 }}
Positional parameters:
code | title |
---|---|
1 |
Flora of North America North of Mexico (FNA) |
2 |
Flora of China |
3 |
Chinese Plant Names |
4 |
Moss Flora of China |
5 |
Flora of Pakistan |
11 |
Flora of Missouri |
12 |
Madagascar Catalogue |
60 |
Flora of Chile |
100 |
Flora of Taiwan |
101 |
Flora of Taiwan Checklist |
110 |
Annotated Checklist of the Flowering Plants of Nepal |
120 |
Ornamental Plants from Russia and Adjacent States of the Former Soviet Union |
201 |
Árboles y arbustos de los Andes del Ecuador |
610 |
A Checklist for the South China Botanical Garden, Guangzhou, Guangdong Province, P. R. China |
1200 |
Monocot Families (USDA) |
|1=flora_id
- The id of the resource on eFloras.org. The list here is generated from Module:eFloras/data.
- Sample (for Pinus):
1
|2=taxon_id
- The id for the taxon. Can be retrieved from Wikidata in some cases.
- Sample (for Pinus):
10136
|3=name
- The name of the taxon (don't italicize). Can be retrieved from Wikidata in some cases.
- Sample (for Pinus):
Pinus
|4=nv
- Indicates that the taxon is not valid. "Synonym" will be displayed after the name. (Other values are ignored.)
Named parameters:
|first=
,|last=
,|first1=
,|last1=
, ...- First and last names of authors of the treatment.
- Sample (for Pinus):
|first=Robert
,|last=Kral
|family=
,|tribe=
- Names of the family, or the tribe (for Asteraceae). Used to retrieve the volume number for Flora of North America and Flora of China.
|volume=
- To supply the volume number manually instead of looking it up.
|mode=cs2
- Changes the citation mode to Citation Style 2. The default is
cs1
, Citation Style 1. |access-date=
- As in other citation templates.
See also
[edit]- {{eFloras/label}}, {{eFloras/title}}, and {{eFloras/url}}, subtemplates
- Maintenance categories, which should be empty:
- Category:Pages using eFloras template with unsupported parameter values
- Category:Pages using eFloras template without author names
- Category:Pages using eFloras template without volume: tracks absence of
|volume=
,|family=
,|tribe=
, which all can be used to supply the volume number
- fr:Modèle:EFloras: a copy of this template