Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Humanipedia
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Module:EFloras/doc
(section)
Module
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Usage == This module performs tasks for [[Template:eFloras]]. The first task is taking the <code>flora_id</code> 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 <code>flora_id</code> 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. <nowiki>{{#invoke:EFloras|volume|1|family=Rosaceae}} or {{#invoke:EFloras|volume|1|Rosaceae}}</nowiki> <nowiki>{{#invoke:EFloras|resource|1}}</nowiki> <nowiki>{{#invoke:eFloras|volumeDate|1||Rosaceae}}</nowiki> <nowiki>{{#invoke:eFloras|volumeDate|1|9|}}</nowiki> <nowiki>{{#invoke:eFloras|volumeName|1||Rosaceae}}</nowiki> <nowiki>{{#invoke:eFloras|volumeName|1|9|}}</nowiki> * {{#invoke:EFloras|volume|1|family=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|}} * <code><nowiki>{{#invoke:eFloras|name|Asteraceae}}</nowiki></code> : {{#invoke:eFloras|name|Asteraceae}} * <code><nowiki>{{#invoke:eFloras|name|Aster}}</nowiki></code> : {{#invoke:eFloras|name|Aster}} * <code><nowiki>{{#invoke:eFloras|name|Aster ericoides}}</nowiki></code> : {{#invoke:eFloras|name|Aster ericoides}} * <code><nowiki>{{#invoke:eFloras|name|Aster ericoides var. ericoides}}</nowiki></code> : {{#invoke:eFloras|name|Aster ericoides var. ericoides}} * <code><nowiki>{{#invoke:eFloras|name|Aster ericoides'' var. ''ericoides}}</nowiki></code> : {{#invoke:eFloras|name|Aster ericoides'' var. ''ericoides}} * <code><nowiki>{{#invoke:eFloras|name|Acer tataricum subsp. ginnala}}</nowiki></code> : {{#invoke:eFloras|name|Acer tataricum subsp. ginnala}}
Summary:
Please note that all contributions to Humanipedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Humanipedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)