Difference between revisions of "Template:PixelmonInfo"

From Pokeplay.io
Jump to navigation Jump to search
 
(13 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
{{#arraydefine:generations|I,II,III,IV,V,VI,VII}}
 
{{#arraydefine:generations|I,II,III,IV,V,VI,VII}}
 
{{#vardefine:gen|{{#arrayindex:generations|{{#expr:{{#external_value:generation}} - 1}}}}}}
 
{{#vardefine:gen|{{#arrayindex:generations|{{#expr:{{#external_value:generation}} - 1}}}}}}
<table align="left" class="informational-box" cellpadding="6" cellspacing="3" style="width: {{{Width|45}}}%; border: 4px solid #{{{{#external_value:type1}}_color_dark}}; background-color: #{{{{#external_value:type1}}_color}}; padding: 4px; border-radius: 15px;">
+
<table align="left" class="informational-box" cellpadding="6" cellspacing="3" style="width: {{{Width|50}}}%; border: 4px solid #{{{{#external_value:type1}}_color_dark}}; background-color: #{{{{#external_value:type1}}_color}}; padding: 4px; border-radius: 15px;">
 
<tr><td style="border: 3px solid #{{{{#external_value:type1}}_color_dark}}; background-color: #{{{{#external_value:type1}}_color_light}}; border-radius: 15px;"><span style="margin-bottom: 7px; font-weight: bold; color:#{{{{#external_value:type1}}_color_dark}};">#{{padleft:{{#external_value:number}}|3}}</span>&nbsp;&nbsp;&nbsp;[[File:{{#external_value:number}}.png]]</td><td style="border: 3px solid #{{{{#external_value:type1}}_color_dark}}; background-color: #{{{{#external_value:type1}}_color_light}}; border-radius: 15px;"><span style="margin-bottom: 7px;margin-left: 10px; font-weight: bold; color:#{{{{#external_value:type1}}_color_dark}};">{{{Name|{{PAGENAME}}}}}</span></td></tr>
 
<tr><td style="border: 3px solid #{{{{#external_value:type1}}_color_dark}}; background-color: #{{{{#external_value:type1}}_color_light}}; border-radius: 15px;"><span style="margin-bottom: 7px; font-weight: bold; color:#{{{{#external_value:type1}}_color_dark}};">#{{padleft:{{#external_value:number}}|3}}</span>&nbsp;&nbsp;&nbsp;[[File:{{#external_value:number}}.png]]</td><td style="border: 3px solid #{{{{#external_value:type1}}_color_dark}}; background-color: #{{{{#external_value:type1}}_color_light}}; border-radius: 15px;"><span style="margin-bottom: 7px;margin-left: 10px; font-weight: bold; color:#{{{{#external_value:type1}}_color_dark}};">{{{Name|{{PAGENAME}}}}}</span></td></tr>
  
Line 48: Line 48:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
+
<td colspan="6" style="border: 0px solid #{{{{#external_value:type1}}_color_dark}}; background-color: #{{{{#external_value:type1}}_color}}; padding: 0px; border-radius: 0px; width: 100%;">
<td style ="padding: 1px;">
+
<table width="100%">
 
{{PixelmonBaseStats
 
{{PixelmonBaseStats
|type=Electric
+
|HP={{#external_value:hp}}
|HP=35
+
|Attack={{#external_value:atk}}
|Attack=55
+
|Defense={{#external_value:def}}
|Defense=40
+
|SpAtk={{#external_value:spatk}}
|SpAtk=50
+
|SpDef={{#external_value:spdef}}
|SpDef=50
+
|Speed={{#external_value:spd}}
|Speed=90}}
+
}}
 
</td>
 
</td>
 
</tr>
 
</tr>
Line 96: Line 96:
 
</includeonly>
 
</includeonly>
 
<includeonly>
 
<includeonly>
[[Category:Pokémon species]] [[Category:Generation {{#var:gen}} Pokémon]] [[Category:{{#external_value:type1}}-type Pokémon]] {{#if:{{#external_value:type2}} | [[Category:{{#external_value:type2}}-type Pokémon]]}}
+
[[Category:Pixelmon species]] [[Category:Generation {{#var:gen}} Pokémon]] [[Category:{{#external_value:type1}}-type Pokémon]] {{#if:{{#external_value:type2}} | [[Category:{{#external_value:type2}}-type Pokémon]]}}
 
</includeonly>
 
</includeonly>

Latest revision as of 12:52, 3 May 2022