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" style="float:right; margin:0 0 1em 1em;
{| class="pkmn-infobox"
  background:#FFF; width:260px; border:4px solid #{{TypeColor|{{{type1|Unknown}}}}};"
  style="float:right; margin:0 0 1em 1em;
          width:260px; background:#FFF;
          border:4px solid #{{TypeColor|{{{type1|Unknown}}}}};
          border-radius:10px; overflow:hidden;
          box-shadow:0 0 6px rgba(0,0,0,0.2);"
|-
|-
! colspan="2" style="background:#{{TypeColor|{{{type1|Unknown}}}}};
! colspan="2"
  color:#FFF; font-size:140%; text-align:center; padding:4px 0; border-bottom:2px solid #333;" |
  style="background:#{{TypeColor|{{{type1|Unknown}}}}};
  {{{name|}}}
        color:#FFF; font-size:140%; text-align:center;
        padding:4px 0; border-bottom:2px solid #333;" |
  {{{name|}}}
|-
|-
| colspan="2" style="text-align:center; padding:6px 0;" |
| colspan="2" style="text-align:center; padding:6px 0;" |
Line 12: Line 18:
! colspan="2" style="background:#EFEFEF; text-align:center;" | Basic info
! colspan="2" style="background:#EFEFEF; text-align:center;" | Basic info
|-
|-
! style="width:110px;" | Type
! scope="row" | Type
| {{#if:{{{type2|}}}
| {{#if:{{{type2|}}}
   | {{ucfirst:{{{type1}}}}} / {{ucfirst:{{{type2}}}}}
   | {{ucfirst:{{{type1}}}}} / {{ucfirst:{{{type2}}}}}
   | {{ucfirst:{{{type1}}}}} }}
   | {{ucfirst:{{{type1}}}}} }}
|-
|-
! Catch rate
! scope="row" | Catch&nbsp;rate
| {{{catchRate|}}}
| {{{catchRate|}}}
|-
|-
! Abilities
! scope="row" | Abilities
| {{{abilities|}}}
| {{{abilities|}}}
|-
|-
! Spawn loc.
! scope="row" | Spawn&nbsp;loc.
| {{{spawnLocations|}}}
| {{{spawnLocations|}}}
|-
|-
! Gender ratio
! scope="row" | Gender&nbsp;ratio
| {{{genderRatio|}}}
| {{{genderRatio|}}}
|-
|-
! EV yield
! scope="row" | EV&nbsp;yield
| {{{evYield|}}}
| {{{evYield|}}}
|-
|-
! Egg group(s)
! scope="row" | Egg&nbsp;group(s)
| {{{eggGroup|}}}
| {{{eggGroup|}}}
|-
|-
! Mountable
! scope="row" | Mountable
| {{{mount|}}}
| {{{mount|}}}
|-
|-
! Behavior
! scope="row" | Behavior
| {{{behavior|}}}
| {{{behavior|}}}
|}
|}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
==Usage==
See documentation in previous message.
<pre>
{{Pokémon Infobox
|image=Bulbasaur.png
|name=Bulbasaur
|type1=Grass|type2=Poison
|catchRate=45
|abilities=Overgrow, Hidden: Chlorophyll
|spawnLocations=LAND
|genderRatio=87.5% ♂ / 12.5% ♀
|evYield=specialAttack:1
|eggGroup=Monster, Grass
|mount=No
|behavior=Timid 80% / Passive 0% / Aggressive 20%
}}
</pre>
</noinclude>
</noinclude>

Revision as of 05:29, 17 May 2025


See documentation in previous message.