Difference between revisions of "Template:PixelmonBaseStats"

From Pokeplay.io
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style="width: 75%; background: #{{{{{type|???}}} color}}; border-radius: 15px 15px 15px 15px; border: 3px solid #{{ {{#if:{{{type2|}}}|{{{type2|???}}} color|{{{type|???}}} color dark}} }}; white-space:nowrap"
+
{{#get_web_data:url=http://wiki.pokeplay.io/index.php?title=Special:GetData/PixelmonMainRawData|format=CSV with header|filters=Name={{#ifeq:{{PAGENAME}}|Farfetch'd|Farfetch'd|{{#if:{{{Name|}}}|{{{Name}}}|{{PAGENAME}}}}}}|data=number=Pokedex Number,name=Name,type1=Type1,type2=Type2,ability1=Ability 1,ability2=Ability 2,ha=Hidden Ability,generation=Generation,hp=HP,atk=Attack,def=Defense,spatk=Special Attack,spdef=Special Defense,spd=Speed,catch=Catch Rate,evhp=EVHP,evatk=EVATK,evdef=EVDEF,evspa=EVSPA,evspd=EVSPD,evsp=EVSP,male=Male Ratio,height=Height,weight=Weight,npc=NPC,wild=Wild,exp=Base Experience,rarity=Tier}}{{#vardefine:primaryType|{{#external_value:type1}}}}{{#if:{{#external_value:type2}}|{{#vardefine:secondaryType|{{#external_value:type2}}}}}}
 +
{| style="width: 100%; background: #{{{{#external_value:type1}}_color}}; border-radius: 15px 15px 15px 15px; border: 3px solid #{{{{#external_value:type1}}_color_dark}}; white-space:nowrap"
 
|-
 
|-
! colspan="2" rowspan="2" style="background: #{{{{{type|???}}} color light}}; border-top-left-radius: 15px;" | {{color2|000|Stat}}
+
! colspan="2" rowspan="2" style="background: #{{{{#external_value:type1}}_color_light}}; border-top-left-radius: 15px;" | {{color2|000|Stat}}
! colspan="2" style="background: #{{{{{type|???}}} color light}}; border-top-right-radius: 15px;" | Range
+
! colspan="2" style="background: #{{{{#external_value:type1}}_color_light}}; border-top-right-radius: 15px;" | Range
 
|-
 
|-
! style="background: #{{{{{type|???}}} color light}};" | <small>At Lv. 50</small>
+
! style="background: #{{{{#external_value:type1}}_color_light}};" | <small>At Lv. 50</small>
! style="background: #{{{{{type|???}}} color light}};" | <small>At Lv. 100</small>
+
! style="background: #{{{{#external_value:type1}}_color_light}};" | <small>At Lv. 100</small>
 
|- style="background: #{{HP color light}}; text-align:center"
 
|- style="background: #{{HP color light}}; text-align:center"
 
! style="width:85px; padding-left:0.5em; padding-right:0.5em" | <div style="float:left">{{color2|000|HP}}:</div><div style="float:right">{{{HP|1}}}</div>
 
! style="width:85px; padding-left:0.5em; padding-right:0.5em" | <div style="float:left">{{color2|000|HP}}:</div><div style="float:right">{{{HP|1}}}</div>
Line 36: Line 37:
 
| <small>{{#expr: floor((((0 + 2 * {{{Speed|1}}} + (0/4)) * 50/100) + 5) * .9)}} - {{#expr: floor((((31 + 2 * {{{Speed|1}}} + (252/4)) * 50/100) + 5) * 1.1)}}</small>
 
| <small>{{#expr: floor((((0 + 2 * {{{Speed|1}}} + (0/4)) * 50/100) + 5) * .9)}} - {{#expr: floor((((31 + 2 * {{{Speed|1}}} + (252/4)) * 50/100) + 5) * 1.1)}}</small>
 
| <small>{{#expr: floor((((0 + 2 * {{{Speed|1}}} + (0/4)) * 100/100) + 5) * .9)}} - {{#expr: floor((((31 + 2 * {{{Speed|1}}} + (252/4)) * 100/100) + 5) * 1.1)}}</small>
 
| <small>{{#expr: floor((((0 + 2 * {{{Speed|1}}} + (0/4)) * 100/100) + 5) * .9)}} - {{#expr: floor((((31 + 2 * {{{Speed|1}}} + (252/4)) * 100/100) + 5) * 1.1)}}</small>
|- style="background: #{{{{{type|???}}} color light}};"
+
|- style="background: #{{{{#external_value:type1}}_color_light}};"
 
! style="width:85px; padding-left:0.5em; padding-right:0.5em" | <div style="float:left">Total:</div><div style="float:right">{{#expr: {{{HP|1}}} + {{{Attack|1}}} + {{{Defense|1}}} + {{{SpAtk|1}}} + {{{SpDef|1}}} + {{{Speed|1}}}}}</div>
 
! style="width:85px; padding-left:0.5em; padding-right:0.5em" | <div style="float:left">Total:</div><div style="float:right">{{#expr: {{{HP|1}}} + {{{Attack|1}}} + {{{Defense|1}}} + {{{SpAtk|1}}} + {{{SpDef|1}}} + {{{Speed|1}}}}}</div>
| colspan="3" style="background: #{{{{{type|???}}} color light}}; padding-left:0.5em" | [[:Category:Pixelmon with a base stat total of {{#expr: {{{HP|1}}} + {{{Attack|1}}} + {{{Defense|1}}} + {{{SpAtk|1}}} + {{{SpDef|1}}} + {{{Speed|1}}}}}|{{color|000|Other Pixelmon with this total}}]]
+
| colspan="3" style="background: #{{{{#external_value:type1}}_color_light}}; padding-left:0.5em" | [[:Category:Pixelmon with a base stat total of {{#expr: {{{HP|1}}} + {{{Attack|1}}} + {{{Defense|1}}} + {{{SpAtk|1}}} + {{{SpDef|1}}} + {{{Speed|1}}}}}|{{color|000|Other Pixelmon with this total}}]]
 
|-
 
|-
| colspan="4" style="background: #{{{{{type|???}}} color light}}; white-space:normal; font-size: smaller; width:min-content; border-radius: 1px 1px 15px 15px;" |  
+
| colspan="4" style="background: #{{{{#external_value:type1}}_color_light}}; white-space:normal; font-size: smaller; width:min-content; border-radius: 1px 1px 15px 15px;" |  
 
*Minimum stats are calculated with 0 {{color2|000|Effort values|EVs}}, {{color2|000|Individual values|IVs}} of 0, and (if applicable) a hindering {{color2|000|nature}}.
 
*Minimum stats are calculated with 0 {{color2|000|Effort values|EVs}}, {{color2|000|Individual values|IVs}} of 0, and (if applicable) a hindering {{color2|000|nature}}.
 
*Maximum stats are calculated with 252 {{color2|000|Effort values|EVs}}, {{color2|000|Individual values|IVs}} of 31, and (if applicable) a helpful {{color2|000|nature}}.{{#if: {{{Special|}}}|
 
*Maximum stats are calculated with 252 {{color2|000|Effort values|EVs}}, {{color2|000|Individual values|IVs}} of 31, and (if applicable) a helpful {{color2|000|nature}}.{{#if: {{{Special|}}}|

Latest revision as of 04:59, 5 April 2022

colspan="2" rowspan="2" style="background: #Template:Color light; border-top-left-radius: 15px;" | Stat colspan="2" style="background: #Template:Color light; border-top-right-radius: 15px;" | Range
style="background: #Template:Color light;" | At Lv. 50 style="background: #Template:Color light;" | At Lv. 100
1
1 - 1 1 - 1
1
5 - 58 6 - 111
1
5 - 58 6 - 111
1
5 - 58 6 - 111
1
5 - 58 6 - 111
1
5 - 58 6 - 111
Total:
6
colspan="3" style="background: #Template:Color light; padding-left:0.5em" | Other Pixelmon with this total
colspan="4" style="background: #Template:Color light; white-space:normal; font-size: smaller; width:min-content; border-radius: 1px 1px 15px 15px;" |
  • Minimum stats are calculated with 0 EVs, IVs of 0, and (if applicable) a hindering nature.
  • Maximum stats are calculated with 252 EVs, IVs of 31, and (if applicable) a helpful nature.