Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:EFloras/doc
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!
{{Lowercase title}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> == 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}} <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <!-- Categories below this line, please; interwikis at Wikidata --> }}</includeonly>
Summary:
Please note that all contributions to Stockhub 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
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Lowercase title
(
edit
)
Module:EFloras
(
edit
)