Template:Pokémon Infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary |
||
| (8 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; | ||
/* 5-px twin border: outer dark, inner normal */ | /* 5-px twin border: outer dark, inner normal */ | ||
border-width:5px; | border-width:5px; | ||
| Line 22: | Line 11: | ||
box-shadow:0 0 0 3px #{{#if:{{{primarytype|}}} | box-shadow:0 0 0 3px #{{#if:{{{primarytype|}}} | ||
|{{{{lc:{{{primarytype}}}}} color}} | |{{{{lc:{{{primarytype}}}}} color}} | ||
|{{{color|4CAF50}}}}} | |{{{color|4CAF50}}}}}; | ||
/* light background shade */ | /* light background shade */ | ||
"> | "> | ||
<!-- ─── title & image ───────────────────────────────────────── --> | <!-- ─── title & image ───────────────────────────────────────── --> | ||
<tr> | <tr> | ||
| Line 57: | 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 ────────────────────────────────────────────── --> | ||