Module:eFloras/doc

< Module:EFloras
Revision as of 14:13, 19 August 2018 by imported>Erutuon (whew)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:EFloras


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 data used for these two tasks is in Module:eFloras/data. 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}}
{{#invoke:eFloras|volumeDate|1||Rosaceae}}
{{#invoke:eFloras|volumeDate|1|9|}}
{{#invoke:eFloras|volumeName|1||Rosaceae}}
{{#invoke:eFloras|volumeName|1|9|}}
  • 9
  • Flora of North America North of Mexico (FNA)
  • 2014
  • 2014
  • Magnoliophyta: Picramniaceae to Rosaceae
  • Magnoliophyta: Picramniaceae to Rosaceae


  • {{#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
  • {{#invoke:eFloras|name|Acer tataricum subsp. ginnala}}
Acer tataricum subsp. ginnala