Welcome to our new Skyland! Article rewrites are welcome. If you see any missing images, please feel free to add them. Please use the Aboutfile template when uploading and add categories.
We are also aware of some articles being unavailable. Please bear with us while we are working to get them fixed.
Template:Statsbox: Difference between revisions
Shows question marks now if arguments are blank. Tags: visualeditor-wikitext mobile web edit mobile edit |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
{{#tag:tabber| | {{#tag:tabber| | ||
Console Stats= | Console Stats= | ||
''These are the starting and maximum [[Statistics]] for this Skylander in the [[Skylanders ( | ''These are the starting and maximum [[Statistics]] for this Skylander in the [[Skylanders (franchise)|Skylanders]] games.''<br> | ||
*'''Health:''' {{#if:{{{health|}}}|{{{health}}}|???}} {{#if:{{{health|}}}|''(max. {{#expr: {{{health|0}}}+{{{health|0}}}}})''}} | *'''Health:''' {{#if:{{{health|}}}|{{{health}}}|???}} {{#if:{{{health|}}}|''(max. {{#expr: {{{health|0}}}+{{{health|0}}}}})''}} | ||
Line 8: | Line 8: | ||
*'''Armor:''' {{#if:{{{armor|}}}|{{{armor}}}|??}} {{#if:{{{armor|}}}|''(max. {{#expr: {{{armor|0}}}+(10*3)+{{#ifeq:{{PAGENAME}}|Bash|40|0}}+{{#ifeq:{{PAGENAME}}|Drill Sergeant|40|0}}+{{#ifeq:{{PAGENAME}}|Legendary Bash|40|0}}+{{#ifeq:{{PAGENAME}}|Ignitor|40|0}}+{{#ifeq:{{PAGENAME}}|Wham-Shell|40|0}}+{{#ifeq:{{PAGENAME}}|Warnado|40|0}}}}{{#ifeq:{{PAGENAME}}|Dino-Rang|+40|}}{{#ifeq:{{PAGENAME}}|Prism Break|+40|}}{{#ifeq:{{PAGENAME}}|Slam Bam|+40|}})''}} | *'''Armor:''' {{#if:{{{armor|}}}|{{{armor}}}|??}} {{#if:{{{armor|}}}|''(max. {{#expr: {{{armor|0}}}+(10*3)+{{#ifeq:{{PAGENAME}}|Bash|40|0}}+{{#ifeq:{{PAGENAME}}|Drill Sergeant|40|0}}+{{#ifeq:{{PAGENAME}}|Legendary Bash|40|0}}+{{#ifeq:{{PAGENAME}}|Ignitor|40|0}}+{{#ifeq:{{PAGENAME}}|Wham-Shell|40|0}}+{{#ifeq:{{PAGENAME}}|Warnado|40|0}}}}{{#ifeq:{{PAGENAME}}|Dino-Rang|+40|}}{{#ifeq:{{PAGENAME}}|Prism Break|+40|}}{{#ifeq:{{PAGENAME}}|Slam Bam|+40|}})''}} | ||
*'''Critical Hit:''' {{#if:{{{criticalhit|}}}|{{{criticalhit}}}|??}} {{#if:{{{criticalhit|}}}|''(max. {{#expr: {{{criticalhit|0}}}+(10*5)}})''}} | *'''Critical Hit:''' {{#if:{{{criticalhit|}}}|{{{criticalhit}}}|??}} {{#if:{{{criticalhit|}}}|''(max. {{#expr: {{{criticalhit|0}}}+(10*5)}})''}} | ||
*'''Elemental Power:''' {{{elementalpower|?? | *'''Elemental Power:''' {{#if:{{{elementalpower|}}}|{{{elementalpower}}}|??}} {{#if:{{{elementalpower|}}}|''(max. {{#expr: {{{elementalpower|0}}}+(10*5)}})''}} | ||
{{!}}-{{!}} | {{!}}-{{!}} |
Latest revision as of 23:49, May 14, 2025
Use this stats box on pages related to the Skylanders in Skylanders.
Write in the stats found in the first game they appear in on a new game save slot and fully reset stats as the arguments to the parameters - the template will auto complete the rest of the data. Missing arguments will have their respective stat show a placeholder "???" text.
Warning: do not use anything other than numbers to describe the stats, as this can cause errors in the template evaluations.
{{Statsbox (Skylanders) |health = 0 |speed = 0 |armor = 0 |criticalhit = 0 |elementalpower = 0 |strength = 0 |defense = 0 |agility = 0 |luck = 0 |racing=true or false (defaults to false) |topspeed = 0 |acceleration = 0 |handling = 0 |firepower = 0 |armour = 0 }}