Template:Pokémon Infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<templatestyles src="Template:Pokémon_Infobox/styles.css"/> | <templatestyles src="Template:Pokémon_Infobox/styles.css"/><table class="pkmn-infobox" | ||
<table class="pkmn-infobox" | |||
style=" | style=" | ||
width:280px; | width:280px; | ||
| Line 51: | Line 42: | ||
<!-- ─── breeding ────────────────────────────────────────────── --> | <!-- ─── breeding ────────────────────────────────────────────── --> | ||
<tr><th colspan="3" class="subhead">Breeding</th></tr> | {{#if:{{{eggGroup|}}} | ||
| <!-- only show breeding if an egg group was provided --> | |||
<tr><th colspan="3" class="subhead">Breeding</th></tr> | |||
<tr><td colspan="3"> | |||
<div class="breed-grid"> | |||
<div class="breed-box">Egg Groups<br><b>{{{eggGroup|—}}}</b> | |||
</div> | |||
<div class="breed-box">Hatch time<br><b>{{{eggCycles|?}}} cycles</b> | |||
</div> | |||
</div> | |||
</td></tr> | |||
<tr><th scope="row">Gender ratio</th><td colspan="2">{{{genderRatio}}}</td></tr> | |||
}} | |||
<!-- ─── EV yield ────────────────────────────────────────────── --> | <!-- ─── EV yield ────────────────────────────────────────────── --> | ||