Difference between revisions of "Template:SpiritInfo"

From Nookipedia, the Animal Crossing wiki
m
(fixing spacing issues)
Line 61: Line 61:
 
|battle_conditions = {{#if:{{{battle-conditions1|}}}|[ {{#forargs: battle-conditions | key | value | {{#ifexpr: {{#var: key}} > 1 | , }} { "condition{{#var:key}}": "{{{battle-conditions{{#var: key }}|}}}"} }} ]}}
 
|battle_conditions = {{#if:{{{battle-conditions1|}}}|[ {{#forargs: battle-conditions | key | value | {{#ifexpr: {{#var: key}} > 1 | , }} { "condition{{#var:key}}": "{{{battle-conditions{{#var: key }}|}}}"} }} ]}}
 
|battle_music = {{{battle-music|}}}
 
|battle_music = {{{battle-music|}}}
}}}}</includeonly>
+
}}}}</includeonly><div style="display: grid; vertical-align: top; background: #f5deb3; margin-left: 10px; margin-bottom: 10px; {{roundy|15px}} border: 3px solid #daa520; max-width: 700px; padding: 2px;">
<div style="display: grid; vertical-align: top; background: #f5deb3; margin-left: 10px; margin-bottom: 10px; {{roundy|15px}} border: 3px solid #daa520; max-width: 700px; padding: 2px;">
 
 
<div class="flex-container">
 
<div class="flex-container">
 
<div class="flex-item" style="margin: 0 auto; background: #ffffff; {{roundy|9px}}; text-align: center; padding: 10px; max-width: 250px;">
 
<div class="flex-item" style="margin: 0 auto; background: #ffffff; {{roundy|9px}}; text-align: center; padding: 10px; max-width: 250px;">
Line 118: Line 117:
 
  | key
 
  | key
 
  | value
 
  | value
  | <nowiki /> {{#if: {{{battle-enemy2|}}} |<li style="list-style-position: inside; padding-left: 5px">}}{{#if:{{{b{{#var: key }}-enemycondition|}}}|{{{b{{#var: key }}-enemycondition|}}}}} {{#if:{{{b{{#var: key }}-enemyvariant|}}}|{{{b{{#var: key }}-enemyvariant|}}}}} {{#switch:{{{battle-enemy{{#var: key }}}}}|Villager=[[Villager (Super Smash Bros. series){{!}}Villager]]|Isabelle=[[Isabelle]]|#default=[[smashwiki:{{{battle-enemy{{#var: key }}|}}} (SSBU){{!}}{{{battle-enemy{{#var: key }}|}}}]]}}{{#if: {{{battle-enemy2|}}} |</li>}}}}
+
  | <nowiki /> {{#if: {{{battle-enemy2|}}} |<li style="list-style-position: inside; padding-left: 5px">}}{{#if:{{{b{{#var: key }}-enemycondition|}}}|{{{b{{#var: key }}-enemycondition|}}}&#32;}}{{#if:{{{b{{#var: key }}-enemyvariant|}}}|{{{b{{#var: key }}-enemyvariant|}}}&#32;}}{{#switch:{{{battle-enemy{{#var: key }}}}}|Villager=[[Villager (Super Smash Bros. series){{!}}Villager]]|Isabelle=[[Isabelle]]|#default=[[smashwiki:{{{battle-enemy{{#var: key }}|}}} (SSBU){{!}}{{{battle-enemy{{#var: key }}|}}}]]}}{{#if: {{{battle-enemy2|}}} |</li>}}}}
 
{{!-}}
 
{{!-}}
 
{{!-}}
 
{{!-}}

Revision as of 00:29, October 5, 2021

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

#

SpiritInfo

SpiritInfo

Category Missing category
Acquisition

Template documentation (view)


More Cargo templates