Template:Plant: Difference between revisions

From Yogstation-13
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}}
|}
|}
{|width="100%" cellspacing="0" cellpadding="2"
{{#if:{{{processHide|}}}||{{PlantProcessing|processDry={{{processDry|}}}|processDistill={{{processDistill|}}}|processGrind={{{processGrind|}}}|processJuice={{{processJuice|}}}|processChop={{{processChop|}}}|processCrafting={{{processCrafting|}}}|processActivation={{{processActivation|}}}}}}}
| style="background-color:{{{bgcolor2|#FFDD66}}};" |'''Processing-Options'''
|-
|{{#if:{{{processActivation|}}}|* '''Activation:''' {{{processActivation}}}|}}{{#if:{{{processCrafting|}}}|* '''Crafting:''' {{{processCrafting}}}|}}{{#if:{{{processJuice|}}}|* '''Juicing:''' {{{processJuice}}}|}}{{#if:{{{processDistill|}}}|* '''Distillation:''' {{{processDistill}}}|}}{{#if:{{{processGrind|}}}|* '''Grinding:''' {{{processGrind}}}|}}{{#if:{{{processDry|}}}|* '''Drying:''' {{{processDry}}}|}}{{#if:{{{processChop|}}}|* '''Chopping:''' {{{processChop}}}|}}
|}
|}</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===
[[Category:Templates]]
Test Plant:
{{Plant
{{Plant
|name=Egg-plant
|name=Egg-plant
Line 56: Line 56:


=== Normal ===
=== Normal ===
[[Category:Templates]]
Test Plant:
{{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


Item
Stats: missing
Rating: Unclassified
Used for: Unknown
Description
No description
Processing-Options

Bare - Hidden Processing-Options


Item
Stats: missing
Rating: Unclassified
Used for: Unknown
Description
No description

Half-missing data

Eggyseed.pngEggygrowth.gif
Egg-plant
Stats: missing
Rating: Harmless
Used for: Getting eggs for that sweet omlette
Description
No description
Processing-Options
  • Activation: Extracts an egg

Normal

Eggyseed.pngEggygrowth.gifBegg.png
Egg-plant
Stats: Check here
Rating: Harmless
Used for: Getting eggs for that sweet omlette
Description
These seeds grow to produce berries that look a lot like eggs. There MUST be a chicken inside.
Processing-Options
  • Activation: Extracts an egg
  • Distillation: Eggnog