Module:eFloras/doc
Appearance
![]() | This is a documentation subpage for Module:EFloras. It may contain usage information, categories and other content that is not part of the original module page. |
Usage
This module performs tasks for Template:eFloras. The first task is taking the flora_id
and the name of the family (or tribe of Asteraceae) and converting them to the corresponding volume numbers for the Floras of North America, China, and Chile. The second is taking the flora_id
from the URL and returning the corresponding flora or list name. The third is detecting what type of scientific name is in the third parameter of the template, and applying the correct italicization. For this purpose, the module strips initial and final whitespace, and any italicization or bolding.
{{#invoke:EFloras|volume|1|family=Rosaceae}} or {{#invoke:EFloras|volume|1|Rosaceae}} {{#invoke:EFloras|resource|1}}
- 9
- Flora of North America North of Mexico (FNA)
{{#invoke:eFloras|name|Asteraceae}}
- Asteraceae
{{#invoke:eFloras|name|Aster}}
- Aster
{{#invoke:eFloras|name|Aster ericoides}}
- Aster ericoides
{{#invoke:eFloras|name|Aster ericoides var. ericoides}}
- Aster ericoides var. ericoides
{{#invoke:eFloras|name|Aster ericoides'' var. ''ericoides}}
- Aster ericoides var. ericoides