Difference between revisions of "Template:BaseStats"

From PokeGen Wiki
Jump to navigation Jump to search
m (Protected "Template:BaseStats": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
(design change, added total)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{|class ="wikitable" style="width: 90%; background-color: #{{{color|fff}}}; border: 2px solid; text-align:center"
+
{|class ="wikitable" style="width: 90%; background-color: #{{{color|add8e6}}};text-align:center; margin:auto;"
|'''HP'''
+
|style="border: 3px solid; border-color:#728bd4;width: 13%"|'''HP'''
|'''Attack'''
+
|style="border: 3px solid; border-color:#728bd4;width: 13%"|'''Attack'''
|'''Defense'''
+
|style="border: 3px solid; border-color:#728bd4;width: 13%"|'''Defense'''
|'''Sp. Attack'''
+
|style="border: 3px solid; border-color:#728bd4;width: 13%"|'''Sp. Attack'''
|'''Sp. Defense'''
+
|style="border: 3px solid; border-color:#728bd4;width: 13%"|'''Sp. Defense'''
|'''Speed'''
+
|style="border: 3px solid; border-color:#728bd4;width: 13%"|'''Speed'''
|-
+
|style="border: 3px solid; border-color:#728bd4;width: 13%"|'''Total'''
|{{{hp|0}}}
+
|- style="background-color: #{{{color|add8e6}}};border: 3px solid; border-color:#728bd4;"
|{{{atk|0}}}
+
|style="border: 3px solid; border-color:#728bd4;"|{{{hp|0}}}
|{{{def|0}}}
+
|style="border: 3px solid; border-color:#728bd4;"|{{{atk|0}}}
|{{{spa|0}}}
+
|style="border: 3px solid; border-color:#728bd4;"|{{{def|0}}}
|{{{spd|0}}}
+
|style="border: 3px solid; border-color:#728bd4;"|{{{spa|0}}}
|{{{spe|0}}}
+
|style="border: 3px solid; border-color:#728bd4;"|{{{spd|0}}}
 +
|style="border: 3px solid; border-color:#728bd4;"|{{{spe|0}}}
 +
|style="border: 3px solid; border-color:#728bd4;"|{{#expr: {{{hp|0}}}+{{{atk|0}}}+{{{def|0}}}+{{{spa|0}}}+{{{spd|0}}}+{{{spe|0}}} }}
 
|}</includeonly>
 
|}</includeonly>
 
<noinclude><pre>{{BaseStats
 
<noinclude><pre>{{BaseStats
Line 22: Line 24:
 
|spd=(Default:0)
 
|spd=(Default:0)
 
|spe=(Default:0)
 
|spe=(Default:0)
|color=(backgroundcolor,just if we need it someday Default:fff(white))
+
|color=(backgroundcolor,just if we need it someday)
}}</pre></noinclude>
+
}}</pre>Example:{{BaseStats|atk=20|hp=50}}</noinclude>

Revision as of 10:00, 14 June 2024

{{BaseStats
|hp=(Default:0)
|atk=(Default:0)
|def=(Default:0)
|spa=(Default:0)
|spd=(Default:0)
|spe=(Default:0)
|color=(backgroundcolor,just if we need it someday)
}}

Example:

HP Attack Defense Sp. Attack Sp. Defense Speed Total
50 20 0 0 0 0 70