Difference between revisions of "Template:SpiritInfo"

From Nookipedia, the Animal Crossing wiki
(Updating category)
(setting cargo table for new infobox design)
Line 21: Line 21:
 
|acquisition3 = String
 
|acquisition3 = String
 
|acquisition4 = String
 
|acquisition4 = String
 +
|battle_enemies = Text
 +
|battle_type = String
 +
|battle_power = String
 +
|battle_stage = String
 +
|battle_rules = Text
 +
|battle_conditions = Text
 +
|battle_music = String
 
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
_table=ssbu_spirit
 
_table=ssbu_spirit
Line 43: Line 50:
 
|acquisition3 = {{{acquisition3|}}}
 
|acquisition3 = {{{acquisition3|}}}
 
|acquisition4 = {{{acquisition4|}}}
 
|acquisition4 = {{{acquisition4|}}}
 +
|battle_enemies = [ {{#forargs: battle-conditions | key | value | {{#ifexpr: {{#var: key}} > 1 | , }} { "fighter{{#var:key}}": "{{{battle-enemy{{#var: key }}|}}}", "fighter{{#var:key}}-variant": "{{{b{{#var: key }}-enemyvariant|}}}", {{#if:{{{b{{#var: key }}-enemycondition|}}}|"fighter{{#var:key}}-condition": "{{{b{{#var: key }}-enemycondition|}}}"} }} ]
 +
|battle_type = {{{battle-type|}}}
 +
|battle_power = {{{battle-power|}}}
 +
|battle_stage = {{{battle-stage|}}}
 +
|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_music = {{{battle-music|}}}
 
}}}}</includeonly>
 
}}}}</includeonly>
 
{| align="left" style="background: #daa520; border: 2px solid #bc8f8f; width: 50%; {{roundy|25px}}"
 
{| align="left" style="background: #daa520; border: 2px solid #bc8f8f; width: 50%; {{roundy|25px}}"

Revision as of 21:06, October 4, 2021

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

Nia.png SpiritInfo
Missing category

Template documentation (view)


More Cargo templates