Module:EFloras/doc

MyWikiBiz, Author Your Legacy — Sunday November 03, 2024
< Module:EFloras
Revision as of 21:23, 15 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This is the documentation page for Module:EFloras

Template:Lowercase title

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