Template:Plant: Difference between revisions
Jump to navigation
Jump to search
m (Reverting accidental submit) |
(Bit of tidying up, Adjustment for use of Template:PlantProcessing to introduce optional display of processing-options (Option processHide=yes)) |
||
Line 10: | Line 10: | ||
|{{#if:{{{description|}}}|{{{description}}}|No description}} | |{{#if:{{{description|}}}|{{{description}}}|No description}} | ||
|} | |} | ||
{{#if:{{{processHide|}}}||{{PlantProcessing|processDry={{{processDry|}}}|processDistill={{{processDistill|}}}|processGrind={{{processGrind|}}}|processJuice={{{processJuice|}}}|processChop={{{processChop|}}}|processCrafting={{{processCrafting|}}}|processActivation={{{processActivation|}}}}}}} | |||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
Line 21: | Line 17: | ||
== Parameter-Usage == | == Parameter-Usage == | ||
* '''bgcolor1:''' table color 1 (main header) | |||
* '''bgcolor2:''' table color 2 (section headers) | |||
* '''name:''' Name of the plant | * '''name:''' Name of the plant | ||
* '''tablelink:''' Linkanchor of the plant in the [[Guide_to_plants#Comparative_table|comparative table]] | * '''tablelink:''' Linkanchor of the plant in the [[Guide_to_plants#Comparative_table|comparative table]] | ||
Line 36: | Line 34: | ||
* '''processCrafting:''' Optional, possibilities for crafting with and without the crafting-menu | * '''processCrafting:''' Optional, possibilities for crafting with and without the crafting-menu | ||
* '''processActivation:''' Optional, possibilities for activating the plant in the hand | * '''processActivation:''' Optional, possibilities for activating the plant in the hand | ||
* '''processHide:''' No processing options, hides section for processing-options | |||
== Examples == | == Examples == | ||
Line 41: | Line 40: | ||
{{Plant}} | {{Plant}} | ||
=== Bare - Hidden Processing-Options === | |||
{{Plant | |||
|processHide=yes | |||
}} | |||
=== Half-missing data=== | === Half-missing data=== | ||
{{Plant | {{Plant | ||
|name=Egg-plant | |name=Egg-plant | ||
Line 56: | Line 56: | ||
=== Normal === | === Normal === | ||
{{Plant | {{Plant | ||
|name=Egg-plant | |name=Egg-plant | ||
Line 75: | Line 73: | ||
|processActivation=Extracts an egg | |processActivation=Extracts an egg | ||
}} | }} | ||
[[Category:Templates]] | |||
</noinclude> | </noinclude> |
Revision as of 11:16, 13 April 2020
About
Short details of a plant, intended use in Guide to plants
Parameter-Usage
- bgcolor1: table color 1 (main header)
- bgcolor2: table color 2 (section headers)
- name: Name of the plant
- tablelink: Linkanchor of the plant in the comparative table
- imageSeed: Imagefile for the seed
- imageGrowth: Imagefile for the growstages
- imageProduct: Imagefile for the product
- rating: Rough rating of the plant like Harmless, Illegal, Dangerous, Deadly etc.
- usedfor: Short description of the main uses, like medicine and cooking
- description: Long descriptive text
- processDry: Optional, possibilities for drying
- processDistill: Optional, possibilities for winemaking and distillation
- processGrind: Optional, possibilities for grinding
- processJuice: Optional, possibilities for juicing
- processChop: Optional, possibilities for chopping with a hatchet, relevant for wood
- processCrafting: Optional, possibilities for crafting with and without the crafting-menu
- processActivation: Optional, possibilities for activating the plant in the hand
- processHide: No processing options, hides section for processing-options
Examples
Bare
|
Bare - Hidden Processing-Options
|
Half-missing data
|
Normal
|