Difference between revisions of "Template:SpiritInfo"

From Nookipedia, the Animal Crossing wiki
m (wording the enemy label better)
(adding stage form)
Line 26: Line 26:
 
|battle_power = Integer
 
|battle_power = Integer
 
|battle_stage = String
 
|battle_stage = String
 +
|battle_stage_form = String
 
|battle_rules = Text
 
|battle_rules = Text
 
|battle_conditions = Text
 
|battle_conditions = Text
Line 56: Line 57:
 
|battle_power = {{{battle-power|}}}
 
|battle_power = {{{battle-power|}}}
 
|battle_stage = {{{battle-stage|}}}
 
|battle_stage = {{{battle-stage|}}}
 +
|battle_stage_form = {{{battle-stage-form|}}}
 
|battle_rules = [ {{#forargs: battle-rules | key | value | {{#ifexpr: {{#var: key}} > 1 | , }} { "rule{{#var:key}}": "{{{battle-rules{{#var: key }}|}}}"} }} ]
 
|battle_rules = [ {{#forargs: battle-rules | key | value | {{#ifexpr: {{#var: key}} > 1 | , }} { "rule{{#var:key}}": "{{{battle-rules{{#var: key }}|}}}"} }} ]
 
|battle_conditions = [ {{#forargs: battle-conditions | key | value | {{#ifexpr: {{#var: key}} > 1 | , }} { "condition{{#var:key}}": "{{{battle-conditions{{#var: key }}|}}}"} }} ]
 
|battle_conditions = [ {{#forargs: battle-conditions | key | value | {{#ifexpr: {{#var: key}} > 1 | , }} { "condition{{#var:key}}": "{{{battle-conditions{{#var: key }}|}}}"} }} ]
Line 128: Line 130:
 
{{!-}}
 
{{!-}}
 
! style="background: #e6cda8; text-align:center;" {{!}} '''Stage'''
 
! style="background: #e6cda8; text-align:center;" {{!}} '''Stage'''
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{#switch:{{{battle-stage|}}}|Tortimer Island=[[Tortimer Island (stage)|Tortimer Island]]|Smashville|Town and City=[[{{{battle-stage|}}}]]|#default=[[smashwiki:{{{battle-stage|}}}|{{{battle-stage|}}}]]}}
+
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{#switch:{{{battle-stage|}}}|Tortimer Island=[[Tortimer Island (stage)|Tortimer Island]]|Smashville|Town and City=[[{{{battle-stage|}}}]]|#default=[[smashwiki:{{{battle-stage|}}}|{{{battle-stage|}}}]] {{#switch:{{{battle-stage-form|}}}|Battlefield=[[smashwiki:Battlefield form|Battlefield form]]|Ω|Omega=[[smashwiki:Ω form|Ω form]]|#default={{{battle-stage-form|}}}}}
 
{{!-}}
 
{{!-}}
 
{{!-}}
 
{{!-}}

Revision as of 22:21, October 4, 2021

This template defines the table "ssbu_spirit". View table.

#

SpiritInfo

SpiritInfo

Category Missing category
Acquisition
Battle information
Enemy fighter
Type 20px
Power
Stage [[smashwiki:|]]
Rules
Conditions
Music

Template documentation (view)


More Cargo templates