Difference between revisions of "Template:BaseStats"

From PokeGen Wiki
Jump to navigation Jump to search
(Basic Template)
 
(statconverter)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>== Base Stats ==
+
<includeonly>
{|class="wikitable" style="width: 90%; background-color: #{{{color|FFFFFF}}}; border: 2px solid #{{{color2|000000}}}; 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|{{Converter/NameHP|{{{pokname|{{PAGENAME}}}}}}}}}}
|{{{def|0}}}
+
|style="border: 3px solid; border-color:#728bd4;"|{{{atk|{{Converter/NameAtk|{{{pokname|{{PAGENAME}}}}}}}}}}
|{{{spa|0}}}
+
|style="border: 3px solid; border-color:#728bd4;"|{{{def|{{Converter/NameDef|{{{pokname|{{PAGENAME}}}}}}}}}}
|{{{spd|0}}}
+
|style="border: 3px solid; border-color:#728bd4;"|{{{spa|{{Converter/NameSpa|{{{pokname|{{PAGENAME}}}}}}}}}}
|{{{spe|0}}}
+
|style="border: 3px solid; border-color:#728bd4;"|{{{spd|{{Converter/NameSpd|{{{pokname|{{PAGENAME}}}}}}}}}}
 +
|style="border: 3px solid; border-color:#728bd4;"|{{{spe|{{Converter/NameSpe|{{{pokname|{{PAGENAME}}}}}}}}}}
 +
|style="border: 3px solid; border-color:#728bd4;"|{{#expr: {{{hp|{{Converter/NameHP|{{{pokname|{{PAGENAME}}}}}}}}}}+{{{atk|{{Converter/NameAtk|{{{pokname|{{PAGENAME}}}}}}}}}}+{{{def|{{Converter/NameDef|{{{pokname|{{PAGENAME}}}}}}}}}}+{{{spa|{{Converter/NameSpa|{{{pokname|{{PAGENAME}}}}}}}}}}+{{{spd|{{Converter/NameSpd|{{{pokname|{{PAGENAME}}}}}}}}}}+{{{spe|{{Converter/NameSpe|{{{pokname|{{PAGENAME}}}}}}}}}} }}
 
|}</includeonly>
 
|}</includeonly>
 
<noinclude><pre>{{BaseStats
 
<noinclude><pre>{{BaseStats
 
|hp=(Default:0)
 
|hp=(Default:0)
 
|atk=(Default:0)
 
|atk=(Default:0)
 +
|pokname=(Default:none)
 
|def=(Default:0)
 
|def=(Default:0)
 
|spa=(Default:0)
 
|spa=(Default:0)
 
|spd=(Default:0)
 
|spd=(Default:0)
 
|spe=(Default:0)
 
|spe=(Default:0)
|color=(backgroundcolor, Default:FFFFFF(white))
+
|color=(backgroundcolor,just if we need it someday)
|color2=(bordercolor, Default:000000(black))
+
}}</pre>Examples:<pre>{{BaseStats|atk=20|hp=50}}</pre>{{BaseStats|atk=20|hp=50}}:<pre>{{BaseStats|pokname=Actan}}</pre>{{BaseStats|pokname=Actan}}</noinclude>
}}</pre></noinclude>
 

Latest revision as of 16:16, 16 June 2024

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

Examples:

{{BaseStats|atk=20|hp=50}}
HP Attack Defense Sp. Attack Sp. Defense Speed Total
50 20 0 0 0 0 70
{{BaseStats|pokname=Actan}}
HP Attack Defense Sp. Attack Sp. Defense Speed Total
90 140 100 150 80 140 700