Template:Plant: Difference between revisions

322 bytes added ,  19:40, 12 April 2020
Adjusted template to make icons optional, for plants like starthistle that do not have seed, growthstages and product
(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 ===
1,133

edits