Warning
This is an unofficial archive of PsychonautWiki as of 2025-08-11T15:14:44Z. Content on this page may be outdated, incomplete, or inaccurate. Please refer to the original page for the most up-to-date information.

Template:BotanyBox/doc: Difference between revisions

From PsychonautWiki Archive
Jump to navigation Jump to search
>White
pj note removed
>White
synonyms parameter added
Line 1: Line 1:
==About==
==About==
'''<big>An example of the template with all features enabled is available at [[Template:BotanyBox/Example]]. Please direct any queries to [[User:Apx|Apx]], or comment on the template's [[Template_Talk:?BotanyBox|discussion]] page.</big>'''
<big>'''An example of the template with all features enabled is available at [[Template:BotanyBox/Example]]. Please direct any queries to [[User:Apx|Apx]], or comment on the template's [[Template_Talk:?BotanyBox|discussion]] page.'''</big>


To standardise the format of the botanical index, we have created a modular template structure which should cover most use cases. For each table created, please create a subpage of [[Template:BotanyBox]] using the same tile as the substance article for simplicity. The template's wiki markup code can be found at [[Template:BotanyBox/Example]]. View source and copy the entire text over to the newly created subpage.
To standardise the format of the botanical index, we have created a modular template structure which should cover most use cases. For each table created, please create a subpage of [[Template:BotanyBox]] using the same tile as the substance article for simplicity. The template's wiki markup code can be found at [[Template:BotanyBox/Example]]. View source and copy the entire text over to the newly created subpage.
Line 44: Line 44:
     |NameTaxonomyGenus=Cannabis
     |NameTaxonomyGenus=Cannabis
     |NameTaxonomySpecies=Sativa & Indica
     |NameTaxonomySpecies=Sativa & Indica
    |Synonyms=Cannabis sativa
     |NamesCommon=Weed, Cannabis, Sativa, Indica
     |NamesCommon=Weed, Cannabis, Sativa, Indica
</pre>
</pre>
Line 63: Line 64:


==See also==
==See also==
[[Template:MycologyBox]]
[[Template:SubstanceBox]]
[[Template:SubstanceBox]]
[[Template:BookBox]]

Revision as of 11:47, 23 March 2017

About

An example of the template with all features enabled is available at Template:BotanyBox/Example. Please direct any queries to Apx, or comment on the template's discussion page.

To standardise the format of the botanical index, we have created a modular template structure which should cover most use cases. For each table created, please create a subpage of Template:BotanyBox using the same tile as the substance article for simplicity. The template's wiki markup code can be found at Template:BotanyBox/Example. View source and copy the entire text over to the newly created subpage.

You may omit almost any value; however, please do not remove entire fields from the list as this may break compatibility. Any images referenced must also specify their width in pixels.

Table Properties

    |BotanyTable_MaxWidth=300px
    |BotanyTable_Title={{PAGENAME}}

These properties define the table's properties. If you find that the table is unnecessarily wide, please set BotanyTable_MaxWidth to a reasonable value, maybe a few pixels wider than the largest image included. If left blank, the table will default to 300px wide.

The BotanyTable_Title property can usually be left as is, except when the article's title is not a sufficient heading for the table.

Modules

    |ModuleSource=true
    |ModuleTaxonomicalNomenclature=true
    |ModuleCommonNomenclature=true
    |ModuleActiveConstituents=true
    |ModuleInactiveConstituents=false

There are several optional modules included in the template, as explained below. Please set any unused modules to false, but do not remove the field as this may break compatibility.

Source

    |PhotoImageFile=File:Cannabis_Plant.jpg
    |PhotoImageWidth=250px
    |PhotoImageCaption=Photo caption

Nomenclature

    |NameTaxonomy̜Kingdom=Plantae
    |NameTaxonomy̜Unranked1=Angiosperms
    |NameTaxonomyUnranked2=Eudicots
    |NameTaxonomyUnranked3=Rosids
    |NameTaxonomyOrder=Rosales
    |NameTaxonomyFamily=Cannabaceae
    |NameTaxonomyGenus=Cannabis
    |NameTaxonomySpecies=Sativa & Indica
    |Synonyms=Cannabis sativa
    |NamesCommon=Weed, Cannabis, Sativa, Indica

The nomenclature module is intended for full specification of the species described. All fields are optional, any values that are omitted will simply not appear in the table. NameCommon can be set as a comma separated list to specify multiple names. Please verify the substitution and systemic names if used.

(In)active Constituents

    |ActiveConstituents=THC, CBD, etc
    |InactiveConstituents=

Please add links to substance articles where available.

All fields are now optional. For ease of modification, please keep the entire template structure intact, removing only the values following =.

Subpages

See also

Template:MycologyBox Template:SubstanceBox Template:BookBox