Template:Plant: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
(Template for use in article 'Guide to plants')
 
(Adjusted template to make icons optional, for plants like starthistle that do not have seed, growthstages and product)
Line 2: Line 2:
  |
  |
{|width="100%" cellspacing="0" cellpadding="2"
{|width="100%" cellspacing="0" cellpadding="2"
|align=center width="200" style="background-color:{{{bgcolor1|#FFEE88}}}"|[[File:{{{imageSeed|Unknown.png}}}|64px]][[File:{{{imageGrowth|Unknown.png}}}|64px]][[File:{{{imageProduct|Unknown.png}}}|64px]]<br>'''{{{name|Item}}}'''
|align=center width="200" style="background-color:{{{bgcolor1|#FFEE88}}}"|{{#if:{{{imageSeed|}}}|[[File:{{{imageSeed|Unknown.png}}}|64px]]|}}{{#if:{{{imageGrowth|}}}|[[File:{{{imageGrowth|Unknown.png}}}|64px]]|}}{{#if:{{{imageProduct|}}}|[[File:{{{imageProduct|Unknown.png}}}|64px]]|}}<br>'''{{{name|Item}}}'''
|'''Stats:''' {{#if:{{{tablelink|}}}|[[Guide_to_plants#{{{tablelink}}}|Check here]]|missing}}<br>'''Rating: '''{{{rating|Unclassified}}}<br>'''Used for:''' {{{usedfor|Unknown}}}<br>
|'''Stats:''' {{#if:{{{tablelink|}}}|[[Guide_to_plants#{{{tablelink}}}|Check here]]|missing}}<br>'''Rating: '''{{{rating|Unclassified}}}<br>'''Used for:''' {{{usedfor|Unknown}}}<br>
|}
|}
Line 40: Line 40:
=== Bare ===
=== Bare ===
{{Plant}}
{{Plant}}
=== Half-missing data===
[[Category:Templates]]
Test Plant:
{{Plant
|name=Egg-plant
|imageSeed=Eggyseed.png
|imageGrowth=Eggygrowth.gif
|rating=Harmless
|usedfor=Getting eggs for that sweet omlette
|processActivation=Extracts an egg
}}


=== Normal ===
=== Normal ===

Revision as of 19:40, 12 April 2020


About

Short details of a plant, intended use in Guide to plants

Parameter-Usage

  • 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

Examples

Bare


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


Half-missing data

Test Plant:

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

Test Plant:

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