Template:BerryGrowth: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (really) |
(Rebuilding using divs instead of tables) |
||
Line 1: | Line 1: | ||
<noinclude>{{mainspace|template|status=complete}}</noinclude> | <noinclude>{{mainspace|template|status=complete}}</noinclude> | ||
<div class="roundy" style="margin: auto; background:#{{Berries color light}}; border: 3px solid #{{Berries color dark}}; min-width:60%; max-width:900px;"> | |||
{{#if: {{{growth3|}}}| | |||
<div class="roundy" style="margin:5px; border: 3px solid #{{Berries color dark}}"> | |||
{ | <div style="text-align:center; font-weight: bold">Generation III</div> | ||
<div style="display: flex; flex-wrap: nowrap; justify-content: space-evenly;"> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:AllTreeSeedIII.png]]<br>'''<small>Planted</small>'''<br>0 hours</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:AllTreeSproutIII.png]]<br>'''<small>Sprouted</small>'''<br>{{#expr:{{{growth3|12}}} div 4}} hour{{#ifexpr:({{{growth3|12}}} div 4) > 1|s}}</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:{{{name|Pecha}}}TreeTallerIII.png]]<br>'''<small>Taller</small>'''<br>{{#expr:{{{growth3|12}}} * 2 div 4}} hours</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:{{{name|Pecha}}}TreeBloomIII.png]]<br>'''<small>Flowering</small>'''<br>{{#expr:{{{growth3|12}}} * 3 div 4}} hours</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:{{{name|Pecha}}}TreeBerryIII.png]]<br>'''<small>Berries</small>'''<br>{{{growth3|12}}} hours</div> | |||
</div> | |||
<div class="roundy" style="background:#fff; padding: 3px; margin: 1px;">A {{{name|Pecha}}} plant will yield {{{yield3|?}}} Berries.</div> | |||
| | </div>}}{{#if: {{{growth4|}}}| | ||
<div class="roundy" style="margin:5px; border: 3px solid #{{Berries color dark}}"> | |||
<div style="text-align:center; font-weight: bold">Generation IV</div> | |||
<div style="display: flex; flex-wrap: nowrap; justify-content: space-evenly;"> | |||
| | <div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:AllTreeSeed.png]]<br>'''<small>Planted</small>'''<br>0 hours</div> | ||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:AllTreeSprout.png]]<br>'''<small>Sprouted</small>'''<br>{{#expr:{{{growth4|12}}} div 4}} hour{{#ifexpr:({{{growth4|12}}} div 4) > 1|s}}</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:{{{name|Pecha}}}TreeTaller.png]]<br>'''<small>Taller</small>'''<br>{{#expr:{{{growth4|12}}} * 0.5}} hours</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:{{{name|Pecha}}}TreeBloom.png]]<br>'''<small>Flowering</small>'''<br>{{#expr:{{{growth4|12}}} * 0.75}} hours</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:{{{name|Pecha}}}TreeBerry.png]]<br>'''<small>Berries</small>'''<br>{{{growth4|12}}} hours</div> | |||
</div> | |||
<div class="roundy" style="background:#fff; padding: 3px; margin: 1px;">A {{{name|Pecha}}} plant will yield {{{yield4|?}}} Berries.</div> | |||
</div> | |||
<div class="roundy" style="margin:5px; border: 3px solid #{{Berries color dark}}"> | |||
<div style="text-align:center; font-weight: bold">Generation V</div> | |||
<div style="display: flex; flex-wrap: nowrap; justify-content: space-evenly;"> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:AllTreeSeed.png]]<br>'''<small>Planted</small>'''<br>0 hours</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:AllTreeSprout.png]]<br>'''<small>Sprouted</small>'''<br>{{#expr:{{{growth4|12}}} * 0.375}} hour{{#ifexpr:({{{growth4|12}}} * 1.5 * 1 div 4) > 1|s}}</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:{{{name|Pecha}}}TreeTaller.png]]<br>'''<small>Taller</small>'''<br>{{#expr:{{{growth4|12}}} * 0.75}} hours</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:{{{name|Pecha}}}TreeBloom.png]]<br>'''<small>Flowering</small>'''<br>{{#expr:{{{growth4|12}}} * 1.125}} hours</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:{{{name|Pecha}}}TreeBerry.png]]<br>'''<small>Berries</small>'''<br>{{#expr:{{{growth4|12}}} * 1.5}} hours</div> | |||
</div> | |||
<div class="roundy" style="background:#fff; padding: 3px; margin: 1px;">A {{{name|Pecha}}} plant will yield {{{yield5|?}}} Berries.</div> | |||
</div>}}{{#if: {{{growthXY|}}}{{{growthORAS|}}}| | |||
<div class="roundy" style="margin:5px; border: 3px solid #{{Berries color dark}}"> | |||
<div style="text-align:center; font-weight: bold">Generation VI<br><small>Pokémon X and Y</small></div> | |||
<div style="display: flex; flex-wrap: nowrap; justify-content: space-evenly;"> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:AllTreeSeed.png]]<br>'''<small>Planted</small>'''<br>0 hours</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:AllTreeSprout.png]]<br>'''<small>Sprouted</small>'''<br>{{#expr:{{{growthXY|24}}} div 6}} hour{{#ifexpr:({{{growthXY|12}}} div 6) > 1|s}}</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:{{{name|Pecha}}}TreeTaller.png]]<br>'''<small>Growing</small>'''<br>{{#expr:{{{growthXY|24}}} * 2 div 6}} hours</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:{{{name|Pecha}}}TreeTaller.png]]<br>'''<small>Bigger</small>'''<br>{{#expr:{{{growthXY|24}}} * 0.5}} hours</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:{{{name|Pecha}}}TreeBloom.png]]<br>'''<small>Budding</small>'''<br>{{#expr:{{{growthXY|24}}} * 4 div 6}} hours</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:{{{name|Pecha}}}TreeBloom.png]]<br>'''<small>Bloom</small>'''<br>{{#expr:{{{growthXY|24}}} * 5 div 6}} hours</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:{{{name|Pecha}}}TreeBerry.png]]<br>'''<small>Berries</small>'''<br>{{{growthXY|24}}} hours</div> | |||
</div> | |||
<div class="roundy" style="background:#fff; padding: 3px; margin: 1px;">A {{{name|Pecha}}} plant will yield {{{yieldXY|?}}} Berries. During its growth, watering the plant will add {{{waterXY|?}}} Berry to the final harvest, weeding it will add {{{weedXY|?}}}, and removing a pest will add {{{pestXY|?}}}.</div> | |||
<div style="text-align:center; font-weight: bold"><small>Pokémon Omega Ruby and Alpha Sapphire</small></div> | |||
<div style="display: flex; flex-wrap: nowrap; justify-content: space-evenly;"> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:AllTreeSeed.png]]<br>'''<small>Planted</small>'''<br>0 hours</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:AllTreeSprout.png]]<br>'''<small>Sprouted</small>'''<br>{{#expr:{{{growthORAS|16}}} div 4}} hour{{#ifexpr:({{{growthORAS|12}}} div 4) > 1|s}}</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:{{{name|Pecha}}}TreeTaller.png]]<br>'''<small>Taller</small>'''<br>{{#expr:{{{growthORAS|16}}} * 2 div 4}} hours</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:{{{name|Pecha}}}TreeBloom.png]]<br>'''<small>Flowering</small>'''<br>{{#expr:{{{growthORAS|16}}} * 3 div 4}} hours</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:{{{name|Pecha}}}TreeBerry.png]]<br>'''<small>Berries</small>'''<br>{{{growthORAS|16}}} hours</div> | |||
</div> | |||
<div class="roundy" style="background:#fff; padding: 3px; margin: 1px;">A {{{name|Pecha}}} plant will yield {{{yieldORAS|up to ?}}} Berries.</div> | |||
</div>}}{{#if: {{{growth7|}}}| | |||
<div class="roundy" style="margin:5px; border: 3px solid #{{Berries color dark}}"> | |||
<div style="text-align:center; font-weight: bold">Generation VII<br><small>Pokémon Sun, Moon, Ultra Sun, and Ultra Moon</small></div> | |||
<div style="display: flex; flex-wrap: nowrap; justify-content: space-evenly;"> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:AllTreeSeed.png]]<br>'''<small>Planted</small>'''<br>0 hours</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:AllTreeSprout.png]]<br>'''<small>Sprouted</small>'''<br>{{#expr:{{{growth7|24}}} - 18}} hours</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:{{{name|Pecha}}}TreeTaller.png]]<br>'''<small>Taller</small>'''<br>{{#expr:{{{growth7|24}}} - 12}} hours</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:{{{name|Pecha}}}TreeBloom.png]]<br>'''<small>Flowering</small>'''<br>{{#expr:{{{growth7|24}}} - 4}} hours</div> | |||
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:{{{name|Pecha}}}TreeBerry.png]]<br>'''<small>Berries</small>'''<br>{{{growth7|24}}} hours</div> | |||
</div> | |||
<div class="roundy" style="background:#fff; padding: 3px; margin: 1px;">A {{{name|Pecha}}} plant will yield {{{yield7|?}}} Berries.</div> | |||
</div>}} | |||
</div><includeonly>[[Category:{{{growth3|N/A}}}-hour Berries (Generation III)|{{{bnum|0}}}]]{{#if:{{{growth4|}}}|[[Category:{{{growth4|N/A}}}-hour Berries (Generation IV)|{{{snum|0}}}]]<!--[[Category:{{#expr:{{{growth4|12}}} * 1.5}}-hour Berries (Generation V)|{{#expr:{{{snum|0}}}}}]]-->|}}<!--[[Category:{{{growthXY|N/A}}}-hour Berries (X and Y)]][[Category:{{{growthORAS|N/A}}}-hour Berries (Omega Ruby and Alpha Sapphire]]--></includeonly> | |||
|}<includeonly>[[Category:{{{growth3|N/A}}}-hour Berries (Generation III)|{{{bnum|0}}}]]{{#if:{{{growth4|}}}|[[Category:{{{growth4|N/A}}}-hour Berries (Generation IV)|{{{snum|0}}}]]<!--[[Category:{{#expr:{{{growth4|12}}} * 1.5}}-hour Berries (Generation V)|{{#expr:{{{snum|0}}}}}]]-->|}}<!--[[Category:{{{growthXY|N/A}}}-hour Berries (X and Y)]][[Category:{{{growthORAS|N/A}}}-hour Berries (Omega Ruby and Alpha Sapphire]]--></includeonly> |
Revision as of 11:00, 16 June 2019
This template is intended to be moved into one of Bulbapedia's main content spaces. Be mindful that it is still part of a personal userspace. Any content changes should be brought up on the talk page for this template. |