Template:Pokémon Infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| 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" style="- | <table class="pkmn-infobox" | ||
style="border-color: #{{{color|4CAF50}}};"> | |||
<!-- title & image --> | |||
<tr><th colspan="3" class="header-main">{{{name}}} #{{{dex}}}</th></tr> | |||
<tr><td colspan="3" style="text-align:center; padding:6px 0;">{{{image}}}</td></tr> | |||
<!-- type --> | |||
<tr> | |||
<td colspan="3" style="text-align:center;"> | |||
<div class="type-box">{{{typeBadges}}}</div> | |||
</td> | |||
</tr> | |||
<!-- abilities --> | |||
<tr><th colspan="3" class="subhead">Abilities</th></tr> | |||
<tr><td colspan="3"> | |||
<div class=" | <div class="abil-grid"> | ||
</ | <div class="abil-box">{{{ability1|—}}}</div> | ||
</tr> | {{#if:{{{hiddenAbility|}}} | ||
|<div class="abil-box"> | |||
<span class="abil-name">{{{hiddenAbility}}}</span><br> | |||
<span class="hidden-small">Hidden Ability</span> | |||
</div> | |||
}} | |||
</div> | |||
<!-- clear floats if needed --> | |||
<div style="clear: both;"></div> | |||
</td></tr> | |||
<!-- breeding --> | |||
<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> | |||
<div style="clear: both;"></div> | |||
</td></tr> | |||
<tr><th scope="row">Gender ratio</th><td colspan="2">{{{genderRatio}}}</td></tr> | |||
<!-- EV yield --> | |||
<tr><th colspan="3" class="subhead">EV yield</th></tr> | |||
<tr><td colspan="3"> | |||
<div class="ev-wrapper"> | |||
<div class="ttl">Total: {{{evTotal}}}</div> | |||
<div class="ev-row">{{{evBoxes}}}</div> | |||
</div> | |||
</td></tr> | |||
<!-- misc --> | |||
<tr><th colspan="3" class="subhead">Misc info</th></tr> | |||
<tr><th scope="row">Spawn loc.</th><td colspan="2">{{{spawnLocations}}}</td></tr> | |||
<tr><th scope="row">Catch rate</th><td colspan="2">{{{catchRate}}}</td></tr> | |||
<tr><th scope="row">Mountable</th><td colspan="2">{{{mount}}}</td></tr> | |||
<tr><th scope="row">Behavior</th><td colspan="2">{{{behavior}}}</td></tr> | |||
</table> | |||
</includeonly> | </includeonly> | ||