Template:Pokémon Infobox: Difference between revisions

From I-Pixelmon
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<table class="pkmn-infobox"
<table class="pkmn-infobox" style="--pkmn-border:#{{{color|4CAF50}}}; width:280px;">
      style="float:right; margin:0 0 1em 1em; width:260px; background:#FFF;
              border:4px solid #{{{color|444444}}}; border-radius:10px;
              overflow:hidden; box-shadow:0 0 6px rgba(0,0,0,0.2);">
   <tr>
   <tr>
     <th colspan="2"
     <th colspan="3" class="header-main">{{{name}}}</th>
        style="background:#{{{color|444444}}}; color:#FFF;
              font-size:140%; text-align:center; padding:4px 0;
              border-bottom:2px solid #333;">{{{name}}}</th>
   </tr>
   </tr>
   <tr>
   <tr>
     <td colspan="2" style="text-align:center; padding:6px 0;">
     <td colspan="3" style="text-align:center; padding:6px 0;">
       [[File:{{{image}}}|200px]]
       [[File:{{{image}}}|220px]]
     </td>
     </td>
   </tr>
   </tr>
  <tr><th colspan="2"
        style="background:#EFEFEF; text-align:center;">Basic info</th></tr>


  <tr><th colspan="3" class="subhead">Basic info</th></tr>
  <tr><th scope="row">Dex #</th><td colspan="2">#{{{dex}}}</td></tr>
   <tr><th scope="row">Type</th>
   <tr><th scope="row">Type</th>
       <td>{{#if:{{{type2|}}}
       <td colspan="2">{{{typeBadges}}}</td></tr>
            | {{ucfirst:{{{type1}}}}} / {{ucfirst:{{{type2}}}}}
   <tr><th scope="row">Catch rate</th><td colspan="2">{{{catchRate}}}</td></tr>
            | {{ucfirst:{{{type1}}}}} }}</td></tr>
   <tr><th scope="row">Abilities</th><td colspan="2">{{{abilities}}}</td></tr>
 
   <tr><th scope="row">Spawn loc.</th><td colspan="2">{{{spawnLocations}}}</td></tr>
   <tr><th scope="row">Catch&nbsp;rate</th><td>{{{catchRate}}}</td></tr>
   <tr><th scope="row">Gender ratio</th><td colspan="2">{{{genderRatio}}}</td></tr>
   <tr><th scope="row">Abilities</th><td>{{{abilities}}}</td></tr>
   <tr><th scope="row">EV yield</th><td colspan="2">{{{evYield}}}</td></tr>
   <tr><th scope="row">Spawn&nbsp;loc.</th><td>{{{spawnLocations}}}</td></tr>
   <tr><th scope="row">Egg group(s)</th><td colspan="2">{{{eggGroup}}}</td></tr>
   <tr><th scope="row">Gender&nbsp;ratio</th><td>{{{genderRatio}}}</td></tr>
   <tr><th scope="row">Mountable</th><td colspan="2">{{{mount}}}</td></tr>
   <tr><th scope="row">EV&nbsp;yield</th><td>{{{evYield}}}</td></tr>
   <tr><th scope="row">Behavior</th><td colspan="2">{{{behavior}}}</td></tr>
   <tr><th scope="row">Egg&nbsp;group(s)</th><td>{{{eggGroup}}}</td></tr>
   <tr><th scope="row">Mountable</th><td>{{{mount}}}</td></tr>
   <tr><th scope="row">Behavior</th><td>{{{behavior}}}</td></tr>
</table>
</table>
</includeonly>
</includeonly>
<noinclude>(HTML version for use inside &lt;tab&gt;.)</noinclude>

Revision as of 18:09, 17 May 2025