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>
{| class="roundy" style="border:3px solid #{{Berries color dark}}; background:#{{Berries color}}; margin:auto; margin-bottom:5px;"
<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}}">
{| style="background:#{{Berries color dark}};" width="100%" class="roundy"
<div style="text-align:center; font-weight: bold">Generation III</div>
! class="roundytop" style="background:#{{Berries color}};" | Growth
<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>
|- style="{{#if:{{{growth3|}}}||display:none;}}"
<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>
| {{#if:{{{growth4|}}}||class="roundybottom"}} style="background:#{{Berries color light}};" |
<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>
{| class="roundy" style="background:#{{Berries color light}}; width:100%;"
<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>
! colspan="5" | <small>Generation III</small>
<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>
|- style="text-align:center;"
</div>
| class="roundy" style="background:#fff; width:20%;" | [[File:AllTreeSeedIII.png]]<br>'''<small>Planted</small>'''<br>0 hours
<div class="roundy" style="background:#fff; padding: 3px; margin: 1px;">A {{{name|Pecha}}} plant will yield {{{yield3|?}}} Berries.</div>
| class="roundy" style="background:#fff; width:20%;" | [[File:AllTreeSproutIII.png]]<br>'''<small>Sprouted</small>'''<br>{{#expr:{{{growth3|12}}} div 4}} hour{{#ifexpr:({{{growth3|12}}} div 4) > 1|s}}
</div>}}{{#if: {{{growth4|}}}|
| class="roundy" style="background:#fff; width:20%;" | [[File:{{{name|Pecha}}}TreeTallerIII.png]]<br>'''<small>Taller</small>'''<br>{{#expr:{{{growth3|12}}} * 2 div 4}} hours
<div class="roundy" style="margin:5px; border: 3px solid #{{Berries color dark}}">
| class="roundy" style="background:#fff; width:20%;" | [[File:{{{name|Pecha}}}TreeBloomIII.png]]<br>'''<small>Flowering</small>'''<br>{{#expr:{{{growth3|12}}} * 3 div 4}} hours
<div style="text-align:center; font-weight: bold">Generation IV</div>
| class="roundy" style="background:#fff; width:20%;" | [[File:{{{name|Pecha}}}TreeBerryIII.png]]<br>'''<small>Berries</small>'''<br>{{{growth3|12}}} hours
<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>
{| style="background:#fff; border:2px solid #{{Berries color light}}; {{roundy}}; width:100%;"
<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>
| A {{{name|Pecha}}} plant will yield {{{yield3|2-3}}} Berries.
<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>
|- style="{{#if:{{{growth4|}}}||display:none;}}"
<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>
| style="background:#{{Berries color light}};" |
</div>
{| class="roundy" style="background:#{{Berries color light}}; width:100%;"
<div class="roundy" style="background:#fff; padding: 3px; margin: 1px;">A {{{name|Pecha}}} plant will yield {{{yield4|?}}} Berries.</div>
! colspan="5" | <small>Generation IV</small>
</div>
|- style="text-align:center;"
<div class="roundy" style="margin:5px; border: 3px solid #{{Berries color dark}}">
| class="roundy" style="background:#fff; width:20%;" | {{tree|All|Seed}}<br>'''<small>Planted</small>'''<br>0 hours
<div style="text-align:center; font-weight: bold">Generation V</div>
| class="roundy" style="background:#fff; width:20%;" | {{tree|All|Sprout}}<br>'''<small>Sprouted</small>'''<br>{{#expr:{{{growth4|12}}} div 4}} hour{{#ifexpr:({{{growth4|12}}} div 4) > 1|s}}
<div style="display: flex; flex-wrap: nowrap; justify-content: space-evenly;">
| class="roundy" style="background:#fff; width:20%;" | {{tree|{{{name|Pecha}}}|Taller}}<br>'''<small>Taller</small>'''<br>{{#expr:{{{growth4|12}}} * 0.5}} hours
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:AllTreeSeed.png]]<br>'''<small>Planted</small>'''<br>0 hours</div>
| class="roundy" style="background:#fff; width:20%;" | {{tree|{{{name|Pecha}}}|Bloom}}<br>'''<small>Flowering</small>'''<br>{{#expr:{{{growth4|12}}} * 0.75}} hours
<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>
| class="roundy" style="background:#fff; width:20%;" | {{tree|{{{name|Pecha}}}|Berry}}<br>'''<small>Berries</small>'''<br>{{{growth4|12}}} hours
<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>
{| style="background:#fff; border:2px solid #{{Berries color light}}; {{roundy}}; width:100%;"
<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>
| A {{{name|Pecha}}} plant will yield {{{yield4|2-5}}} Berries.
</div>
|}
<div class="roundy" style="background:#fff; padding: 3px; margin: 1px;">A {{{name|Pecha}}} plant will yield {{{yield5|?}}} Berries.</div>
|- style="{{#if:{{{growth4|}}}||display:none;}}"
</div>}}{{#if: {{{growthXY|}}}{{{growthORAS|}}}|
| {{#if:{{{growthXY|{{{growthORAS|}}}}}}||class="roundybottom"}} style="background:#{{Berries color light}};" |
<div class="roundy" style="margin:5px; border: 3px solid #{{Berries color dark}}">
{| class="roundy" style="background:#{{Berries color light}}; width:100%;"
<div style="text-align:center; font-weight: bold">Generation VI<br><small>Pokémon X and Y</small></div>
! colspan="5" | <small>Generation V</small>
<div style="display: flex; flex-wrap: nowrap; justify-content: space-evenly;">
|- style="text-align:center;"
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:AllTreeSeed.png]]<br>'''<small>Planted</small>'''<br>0 hours</div>
| class="roundy" style="background:#fff; width:20%;" | {{tree|All|Seed}}<br>'''<small>Planted</small>'''<br>0 hours
<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>
| class="roundy" style="background:#fff; width:20%;" | {{tree|All|Sprout}}<br>'''<small>Sprouted</small>'''<br>{{#expr:{{{growth4|12}}} * 0.375}} hour{{#ifexpr:({{{growth4|12}}} * 1.5 * 1 div 4) > 1|s}}
<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>
| class="roundy" style="background:#fff; width:20%;" | {{tree|{{{name|Pecha}}}|Taller}}<br>'''<small>Taller</small>'''<br>{{#expr:{{{growth4|12}}} * 0.75}} hours
<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>
| class="roundy" style="background:#fff; width:20%;" | {{tree|{{{name|Pecha}}}|Bloom}}<br>'''<small>Flowering</small>'''<br>{{#expr:{{{growth4|12}}} * 1.125}} hours
<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>
| class="roundy" style="background:#fff; width:20%;" | {{tree|{{{name|Pecha}}}|Berry}}<br>'''<small>Berries</small>'''<br>{{#expr:{{{growth4|12}}} * 1.5}} hours
<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>
{| style="background:#fff; border:2px solid #{{Berries color light}}; {{roundy}}; width:100%;"
</div>
| A {{{name|Pecha}}} plant will yield {{{yield5|???}}} Berries.
<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>
|- style="{{#if:{{{growthXY|{{{growthORAS|}}}}}}||display:none;}}"
<div style="display: flex; flex-wrap: nowrap; justify-content: space-evenly;">
| class="roundybottom" style="background:#{{Berries color light}};" |
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:AllTreeSeed.png]]<br>'''<small>Planted</small>'''<br>0 hours</div>
{| class="roundy" style="background:#{{Berries color light}}; width:100%;"
<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>
! colspan="7" | <small>Generation VI</small>
<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>
|- style="text-align:center;"
<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>
! colspan="7" | <small>{{color2|000|Pokémon X and Y|X and Y}}</small>
<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>
|- style="text-align:center;"
</div>
| class="roundy" style="background:#fff; width:14.3%;" | {{tree|All|Seed}}<br>'''<small>Planted</small>'''<br>0 hours
<div class="roundy" style="background:#fff; padding: 3px; margin: 1px;">A {{{name|Pecha}}} plant will yield {{{yieldORAS|up to ?}}} Berries.</div>
| class="roundy" style="background:#fff; width:14.3%;" | {{tree|All|Sprout}}<br>'''<small>Sprouted</small>'''<br>{{#expr:{{{growthXY|24}}} div 6}} hour{{#ifexpr:({{{growthXY|12}}} div 6) > 1|s}}
</div>}}{{#if: {{{growth7|}}}|
| class="roundy" style="background:#fff; width:14.3%;" | {{tree|{{{name|Pecha}}}|Taller}}<br>'''<small>Growing</small>'''<br>{{#expr:{{{growthXY|24}}} * 2 div 6}} hours
<div class="roundy" style="margin:5px; border: 3px solid #{{Berries color dark}}">
| class="roundy" style="background:#fff; width:14.3%;" | {{tree|{{{name|Pecha}}}|Taller}}<br>'''<small>Bigger</small>'''<br>{{#expr:{{{growthXY|24}}} * 0.5}} hours
<div style="text-align:center; font-weight: bold">Generation VII<br><small>Pokémon Sun, Moon, Ultra Sun, and Ultra Moon</small></div>
| class="roundy" style="background:#fff; width:14.3%;" | {{tree|{{{name|Pecha}}}|Bloom}}<br>'''<small>Budding</small>'''<br>{{#expr:{{{growthXY|24}}} * 4 div 6}} hours
<div style="display: flex; flex-wrap: nowrap; justify-content: space-evenly;">
| class="roundy" style="background:#fff; width:14.3%;" | {{tree|{{{name|Pecha}}}|Bloom}}<br>'''<small>Blooming</small>'''<br>{{#expr:{{{growthXY|24}}} * 5 div 6}} hours
<div class="roundy" style="flex: 1; margin: 1px; background:#fff; text-align: center;">[[File:AllTreeSeed.png]]<br>'''<small>Planted</small>'''<br>0 hours</div>
| class="roundy" style="background:#fff; width:14.3%;" | {{tree|{{{name|Pecha}}}|Berry}}<br>'''<small>Berries</small>'''<br>{{{growthXY|24}}} hours
<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>
{| style="background:#fff; border:2px solid #{{Berries color light}}; {{roundy}}; width:100%;"
<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>
| A {{{name|Pecha}}} plant will yield {{{yieldXY|4-15}}} Berries. During its growth, watering the plant will add {{{waterXY|1}}} Berry to the final harvest, weeding it will add {{{weedXY|2}}}, and removing a pest will add {{{pestXY|3}}}.
<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>
{| class="roundy" style="background:#{{Berries color light}}; width:100%;"
<div class="roundy" style="background:#fff; padding: 3px; margin: 1px;">A {{{name|Pecha}}} plant will yield {{{yield7|?}}} Berries.</div>
|- style="text-align:center;"
</div>}}
! colspan="7" | <small>{{color2|000|Pokémon Omega Ruby and Alpha Sapphire|Omega Ruby and Alpha Sapphire}}</small>
</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>
|- style="text-align:center;"
| class="roundy" style="background:#fff; width:20%;" | {{tree|All|Seed}}<br>'''<small>Planted</small>'''<br>0 hours
| class="roundy" style="background:#fff; width:20%;" | {{tree|All|Sprout}}<br>'''<small>Sprouted</small>'''<br>{{#expr:{{{growthORAS|16}}} div 4}} hour{{#ifexpr:({{{growthORAS|12}}} div 4) > 1|s}}
| class="roundy" style="background:#fff; width:20%;" | {{tree|{{{name|Pecha}}}|Taller}}<br>'''<small>Taller</small>'''<br>{{#expr:{{{growthORAS|16}}} * 2 div 4}} hours
| class="roundy" style="background:#fff; width:20%;" | {{tree|{{{name|Pecha}}}|Bloom}}<br>'''<small>Flowering</small>'''<br>{{#expr:{{{growthORAS|16}}} * 3 div 4}} hours
| class="roundy" style="background:#fff; width:20%;" | {{tree|{{{name|Pecha}}}|Berry}}<br>'''<small>Berries</small>'''<br>{{{growthORAS|16}}} hours
|}
{| style="background:#fff; border:2px solid #{{Berries color light}}; {{roundy}}; width:100%;"
| A {{{name|Pecha}}} plant will yield {{{yieldORAS|up to 18}}} Berries.
|}
|}
|}<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

Bulbapedia bulb.png 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.