Difference between revisions of "Template:BaseStats"
Jump to navigation
Jump to search
m (Protected "Template:BaseStats": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]) |
(statconverter) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | {|class ="wikitable" style="width: 90%; background-color: #{{{color| | + | {|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| | + | |- style="background-color: #{{{color|add8e6}}};border: 3px solid; border-color:#728bd4;" |
− | |{{{atk| | + | |style="border: 3px solid; border-color:#728bd4;"|{{{hp|{{Converter/NameHP|{{{pokname|{{PAGENAME}}}}}}}}}} |
− | |{{{def| | + | |style="border: 3px solid; border-color:#728bd4;"|{{{atk|{{Converter/NameAtk|{{{pokname|{{PAGENAME}}}}}}}}}} |
− | |{{{spa| | + | |style="border: 3px solid; border-color:#728bd4;"|{{{def|{{Converter/NameDef|{{{pokname|{{PAGENAME}}}}}}}}}} |
− | |{{{spd| | + | |style="border: 3px solid; border-color:#728bd4;"|{{{spa|{{Converter/NameSpa|{{{pokname|{{PAGENAME}}}}}}}}}} |
− | |{{{spe| | + | |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,just if we need it someday | + | |color=(backgroundcolor,just if we need it someday) |
− | }}</pre></noinclude> | + | }}</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 |