Template:BerryGrowth: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
⧼bulbapediamonobook-jumptonavigation⧽⧼bulbapediamonobook-jumptosearch⧽
Rebuilding using divs instead of tables
No edit summary
Line 22: Line 22:
<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 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>
<div class="roundy" style="background:#fff; padding: 3px; margin: 1px;">A {{{name|Pecha}}} plant will yield {{{yield4|?}}} Berries.</div>
<div class="roundy" style="background:#fff; padding: 3px; margin: 1px;">A {{{name|Pecha}}} plant will yield {{{yield4|?}}} Berries. A growing {{{name|Pecha}}} plant's soil dries {{{drain4|?}}% every hour.</div>
</div>
</div>
<div class="roundy" style="margin:5px; border: 3px solid #{{Berries color dark}}">
<div class="roundy" style="margin:5px; border: 3px solid #{{Berries color dark}}">
Line 55: Line 55:
<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 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>
<div class="roundy" style="background:#fff; padding: 3px; margin: 1px;">A {{{name|Pecha}}} plant will yield {{{yieldORAS|up to ?}}} Berries.</div>
<div class="roundy" style="background:#fff; padding: 3px; margin: 1px;">A {{{name|Pecha}}} plant will yield {{{yieldORAS|?}}} Berries.</div>
</div>}}{{#if: {{{growth7|}}}|
</div>}}{{#if: {{{growth7|}}}|
<div class="roundy" style="margin:5px; border: 3px solid #{{Berries color dark}}">
<div class="roundy" style="margin:5px; border: 3px solid #{{Berries color dark}}">
Line 66: Line 66:
<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="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>
<div class="roundy" style="background:#fff; padding: 3px; margin: 1px;">A {{{name|Pecha}}} plant will yield {{{yield7|?}}} Berries.</div>
<div class="roundy" style="background:#fff; padding: 3px; margin: 1px;">A {{{name|Pecha}}} plant will yield {{{yield7-1|?}}} Berries if {{DL|Poké Pelago|Isle Aplenny}} is at Phase 1, {{{yield7-2|?}}} Berries if it is at Phase 2, and {{{yield7-3|?}}} Berries if it is at Phase 3.</div>
</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>
</div><includeonly>[[Category:{{{growth3|N/A}}}-hour Berries (Generation III)]]{{#if:{{{growth4|}}}|[[Category:{{{growth4|N/A}}}-hour Berries (Generation IV)]]<!--[[Category:{{#expr:{{{growth4|12}}} * 1.5}}-hour Berries (Generation V)]]-->|}}<!--{{#if:{{{growthXY|}}}|[[Category:{{{growthXY|N/A}}}-hour Berries (X and Y)]][[Category:{{{growthORAS|N/A}}}-hour Berries (Omega Ruby and Alpha Sapphire]][[Category:{{{growth7|N/A}}}-hour Berries (Generation VII)]]}}--></includeonly>

Revision as of 08:52, 7 July 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.