Difference between revisions of "Template:BaseStats"
Jump to navigation
Jump to search
(design change, added total) |
(statconverter) |
||
Line 9: | Line 9: | ||
|style="border: 3px solid; border-color:#728bd4;width: 13%"|'''Total''' | |style="border: 3px solid; border-color:#728bd4;width: 13%"|'''Total''' | ||
|- style="background-color: #{{{color|add8e6}}};border: 3px solid; border-color:#728bd4;" | |- style="background-color: #{{{color|add8e6}}};border: 3px solid; border-color:#728bd4;" | ||
− | |style="border: 3px solid; border-color:#728bd4;"|{{{hp| | + | |style="border: 3px solid; border-color:#728bd4;"|{{{hp|{{Converter/NameHP|{{{pokname|{{PAGENAME}}}}}}}}}} |
− | |style="border: 3px solid; border-color:#728bd4;"|{{{atk| | + | |style="border: 3px solid; border-color:#728bd4;"|{{{atk|{{Converter/NameAtk|{{{pokname|{{PAGENAME}}}}}}}}}} |
− | |style="border: 3px solid; border-color:#728bd4;"|{{{def| | + | |style="border: 3px solid; border-color:#728bd4;"|{{{def|{{Converter/NameDef|{{{pokname|{{PAGENAME}}}}}}}}}} |
− | |style="border: 3px solid; border-color:#728bd4;"|{{{spa| | + | |style="border: 3px solid; border-color:#728bd4;"|{{{spa|{{Converter/NameSpa|{{{pokname|{{PAGENAME}}}}}}}}}} |
− | |style="border: 3px solid; border-color:#728bd4;"|{{{spd| | + | |style="border: 3px solid; border-color:#728bd4;"|{{{spd|{{Converter/NameSpd|{{{pokname|{{PAGENAME}}}}}}}}}} |
− | |style="border: 3px solid; border-color:#728bd4;"|{{{spe| | + | |style="border: 3px solid; border-color:#728bd4;"|{{{spe|{{Converter/NameSpe|{{{pokname|{{PAGENAME}}}}}}}}}} |
− | |style="border: 3px solid; border-color:#728bd4;"|{{#expr: {{{hp| | + | |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) | ||
Line 25: | Line 26: | ||
|spe=(Default:0) | |spe=(Default:0) | ||
|color=(backgroundcolor,just if we need it someday) | |color=(backgroundcolor,just if we need it someday) | ||
− | }}</pre> | + | }}</pre>Examples:<pre>{{BaseStats|atk=20|hp=50}}</pre>{{BaseStats|atk=20|hp=50}}:<pre>{{BaseStats|pokname=Actan}}</pre>{{BaseStats|pokname=Actan}}</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 |