Difference between revisions of "Template:SpiritInfo"

From Nookipedia, the Animal Crossing wiki
(adding small fix to size of labels)
(adding icons for decorative effect)
Line 74: Line 74:
 
|-
 
|-
 
! style="width:40%; background: #e6cda8; text-align:center; {{roundytl|9px}} " {{!}} '''Category'''
 
! style="width:40%; background: #e6cda8; text-align:center; {{roundytl|9px}} " {{!}} '''Category'''
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px; {{roundytr|9px}}" {{!}} {{{category|Missing category}}}
+
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px; {{roundytr|9px}}" {{!}} {{#ifeq:{{{category|}}}|Support Spirit|[[File:SpiritTypeSupport.png|20px|link=|alt=]]}} {{{category|Missing category}}}
 
|-  {{#if:{{{type|}}}|
 
|-  {{#if:{{{type|}}}|
 
{{!-}}
 
{{!-}}
 
! style="background: #e6cda8; text-align:center;" {{!}} '''Type'''
 
! style="background: #e6cda8; text-align:center;" {{!}} '''Type'''
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{type|}}}}}
+
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} [[File:SpiritType{{{type|}}}.png|20px|link=|alt=]] {{{type|}}}}}
 
|- {{#if:{{{class|}}}|
 
|- {{#if:{{{class|}}}|
 
{{!-}}
 
{{!-}}
Line 94: Line 94:
 
{{!-}}
 
{{!-}}
 
! style="background: #e6cda8; text-align:center;" {{!}} '''Stats'''
 
! style="background: #e6cda8; text-align:center;" {{!}} '''Stats'''
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} '''Power:''' {{{stats|}}}{{#if:{{{attack|}}}|<br>'''Attack power:''' {{{attack|}}}}}{{#if:{{{defense|}}}|<br>'''Defense power:''' {{{defense|}}}}}}}
+
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} [[File:Equipment Icon Power Badge.png|20px|link=|alt=]] '''Power:''' {{{stats|}}}{{#if:{{{attack|}}}|<br>[[File:Equipment Icon Prawn Badge.png|20px|link=|alt=]] '''Attack power:''' {{{attack|}}}}}{{#if:{{{defense|}}}|<br>[[File:Equipment Icon Protection Badge.png|20px|link=|alt=]] '''Defense power:''' {{{defense|}}}}}}}
 
|- {{#if:{{{ability|}}}|
 
|- {{#if:{{{ability|}}}|
 
{{!-}}
 
{{!-}}
Line 120: Line 120:
 
{{!-}}
 
{{!-}}
 
! style="background: #e6cda8; text-align:center;" {{!}} '''Type'''
 
! style="background: #e6cda8; text-align:center;" {{!}} '''Type'''
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{battle-type|}}}
+
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} [[File:SpiritType{{{battle-type|}}}.png|20px|link=|alt=]] {{{battle-type|}}}
 
{{!-}}
 
{{!-}}
 
{{!-}}
 
{{!-}}
 
! style="background: #e6cda8; text-align:center;" {{!}} '''Power'''
 
! style="background: #e6cda8; text-align:center;" {{!}} '''Power'''
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{#invoke:formatnum|main|lang=en|{{{battle-power|}}}}}
+
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px;" {{!}} [[File:Equipment Icon Power Badge.png|20px|link=|alt=]] {{#invoke:formatnum|main|lang=en|{{{battle-power|}}}}}
 
{{!-}}
 
{{!-}}
 
{{!-}}
 
{{!-}}

Revision as of 21:52, October 4, 2021

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

#

SpiritInfo

SpiritInfo

Category Missing category
Acquisition

Template documentation (view)


More Cargo templates