Template:Pokémon Infobox: Difference between revisions

From I-Pixelmon
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
{| class="pkmn-infobox"
{| 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 #{{TypeColor|{{{type1|Unknown}}}}};
           border:4px solid #{{{color|444444}}}; border-radius:10px;
          border-radius:10px; overflow:hidden;
          overflow:hidden; box-shadow:0 0 6px rgba(0,0,0,0.2);"
          box-shadow:0 0 6px rgba(0,0,0,0.2);"
|-
|-
! colspan="2" style="background:#{{TypeColor|{{{type1|Unknown}}}}};
! colspan="2" style="background:#{{{color|444444}}}; color:#FFF;
    color:#FFF; font-size:140%; text-align:center; padding:4px 0;
    font-size:140%; text-align:center; padding:4px 0;
     border-bottom:2px solid #333;" |
     border-bottom:2px solid #333;" | {{{name|}}}
  {{{name|}}}
|-
|-
| colspan="2" style="text-align:center; padding:6px 0;" |
| colspan="2" style="text-align:center; padding:6px 0;" |
Line 18: Line 16:
! scope="row"| Type
! scope="row"| Type
| {{#if:{{{type2|}}}
| {{#if:{{{type2|}}}
  | {{ucfirst:{{{type1}}}}} / {{ucfirst:{{{type2}}}}}
    | {{ucfirst:{{{type1}}}}} / {{ucfirst:{{{type2}}}}}
  | {{ucfirst:{{{type1}}}}} }}
    | {{ucfirst:{{{type1}}}}} }}
|-
|-
! scope="row"| Catch rate
! scope="row"| Catch rate
| {{{catchRate|}}}
| {{{catchRate|}}}
|-
|-
Line 27: Line 25:
| {{{abilities|}}}
| {{{abilities|}}}
|-
|-
! scope="row"| Spawn loc.
! scope="row"| Spawn loc.
| {{{spawnLocations|}}}
| {{{spawnLocations|}}}
|-
|-
! scope="row"| Gender ratio
! scope="row"| Gender ratio
| {{{genderRatio|}}}
| {{{genderRatio|}}}
|-
|-
! scope="row"| EV yield
! scope="row"| EV yield
| {{{evYield|}}}
| {{{evYield|}}}
|-
|-
! scope="row"| Egg group(s)
! scope="row"| Egg group(s)
| {{{eggGroup|}}}
| {{{eggGroup|}}}
|-
|-

Revision as of 07:00, 17 May 2025

(documentation omitted)