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>
{| class="pkmn-infobox"
<table class="pkmn-infobox"
  style="float:right; margin:0 0 1em 1em; width:260px; background:#FFF;
      style="float:right; margin:0 0 1em 1em; width:260px; background:#FFF;
          border:4px solid #{{{color|444444}}}; border-radius:10px;
              border:4px solid #{{{color|444444}}}; border-radius:10px;
          overflow:hidden; box-shadow:0 0 6px rgba(0,0,0,0.2);"
              overflow:hidden; box-shadow:0 0 6px rgba(0,0,0,0.2);">
|-
  <tr>
! colspan="2" style="background:#{{{color|444444}}}; color:#FFF;
    <th colspan="2"
    font-size:140%; text-align:center; padding:4px 0;
        style="background:#{{{color|444444}}}; color:#FFF;
    border-bottom:2px solid #333;" | {{{name|}}}
              font-size:140%; text-align:center; padding:4px 0;
|-
              border-bottom:2px solid #333;">{{{name}}}</th>
| colspan="2" style="text-align:center; padding:6px 0;" |
  </tr>
  [[File:{{{image|}}}|200px]]
  <tr>
|-
    <td colspan="2" style="text-align:center; padding:6px 0;">
! colspan="2" style="background:#EFEFEF; text-align:center;" | Basic info
      [[File:{{{image}}}|200px]]
|-
    </td>
! scope="row"| Type
  </tr>
| {{#if:{{{type2|}}}
  <tr><th colspan="2"
    | {{ucfirst:{{{type1}}}}} / {{ucfirst:{{{type2}}}}}
        style="background:#EFEFEF; text-align:center;">Basic info</th></tr>
    | {{ucfirst:{{{type1}}}}} }}
 
|-
  <tr><th scope="row">Type</th>
! scope="row"| Catch&nbsp;rate
      <td>{{#if:{{{type2|}}}
| {{{catchRate|}}}
            | {{ucfirst:{{{type1}}}}} / {{ucfirst:{{{type2}}}}}
|-
            | {{ucfirst:{{{type1}}}}} }}</td></tr>
! scope="row"| Abilities
 
| {{{abilities|}}}
  <tr><th scope="row">Catch&nbsp;rate</th><td>{{{catchRate}}}</td></tr>
|-
  <tr><th scope="row">Abilities</th><td>{{{abilities}}}</td></tr>
! scope="row"| Spawn&nbsp;loc.
  <tr><th scope="row">Spawn&nbsp;loc.</th><td>{{{spawnLocations}}}</td></tr>
| {{{spawnLocations|}}}
  <tr><th scope="row">Gender&nbsp;ratio</th><td>{{{genderRatio}}}</td></tr>
|-
  <tr><th scope="row">EV&nbsp;yield</th><td>{{{evYield}}}</td></tr>
! scope="row"| Gender&nbsp;ratio
  <tr><th scope="row">Egg&nbsp;group(s)</th><td>{{{eggGroup}}}</td></tr>
| {{{genderRatio|}}}
  <tr><th scope="row">Mountable</th><td>{{{mount}}}</td></tr>
|-
  <tr><th scope="row">Behavior</th><td>{{{behavior}}}</td></tr>
! scope="row"| EV&nbsp;yield
</table>
| {{{evYield|}}}
|-
! scope="row"| Egg&nbsp;group(s)
| {{{eggGroup|}}}
|-
! scope="row"| Mountable
| {{{mount|}}}
|-
! scope="row"| Behavior
| {{{behavior|}}}
|}
</includeonly>
</includeonly>
<noinclude>(documentation omitted)</noinclude>
<noinclude>(HTML version for use inside &lt;tab&gt;.)</noinclude>

Revision as of 18:04, 17 May 2025

(HTML version for use inside <tab>.)