Difference between revisions of "Template:SpiritInfo"
From Nookipedia, the Animal Crossing wiki
PanchamBro (talk | contribs) |
PanchamBro (talk | contribs) (adding parameters for attack and defense + changing star system to desired spirit classification names) |
||
Line 10: | Line 10: | ||
|class = String | |class = String | ||
|stats = String | |stats = String | ||
+ | |attack = String | ||
+ | |defense = String | ||
|slots = Integer | |slots = Integer | ||
|cost = Integer | |cost = Integer | ||
Line 28: | Line 30: | ||
|category = {{{category|}}} | |category = {{{category|}}} | ||
|type = {{{type|}}} | |type = {{{type|}}} | ||
− | |class = {{{class|}}} | + | |class = {{#switch:{{{class|}}}|★ = Novice|★★ = Advanced|★★★ = Ace|★★★★ Legend}} |
|stats = {{{stats|}}} | |stats = {{{stats|}}} | ||
+ | |attack = {{{attack|}}} | ||
+ | |defense = {{{defense|}}} | ||
|slots = {{{slots|}}} | |slots = {{{slots|}}} | ||
|cost = {{{cost|}}} | |cost = {{{cost|}}} | ||
Line 45: | Line 49: | ||
| style="background: #f5deb3; padding: 3px; {{roundytr|25px}};" align="center" width="100%" colspan="3"|<big>'''{{{name|{{PAGENAME}}}}}'''</big> | | style="background: #f5deb3; padding: 3px; {{roundytr|25px}};" align="center" width="100%" colspan="3"|<big>'''{{{name|{{PAGENAME}}}}}'''</big> | ||
|- | |- | ||
− | | style="background: #f5deb3; padding: 10px;" align="center" width="60%" | '''{{{category|Missing category}}}'''{{#if:{{{type|}}}|<br>'''Type:''' {{{type|}}}}}{{#if:{{{class|}}}|<br>'''Class:''' {{{class|}}}}}{{#if:{{{slots|}}}|<br>'''Slots:''' {{#switch:{{{slots|}}}|1=⬡|2=⬡⬡|3=⬡⬡⬡|N/A}}}}{{#if:{{{cost|}}}|<br>'''Cost:''' {{#switch:{{{cost|}}}|1=⬢|2=⬢⬢|3=⬢⬢⬢|N/A}}}}{{#if:{{{stats|}}}|<br>''' | + | | style="background: #f5deb3; padding: 10px;" align="center" width="60%" | '''{{{category|Missing category}}}'''{{#if:{{{type|}}}|<br>'''Type:''' {{{type|}}}}}{{#if:{{{class|}}}|<br>'''Class:''' {{{class|}}}}}{{#if:{{{slots|}}}|<br>'''Slots:''' {{#switch:{{{slots|}}}|1=⬡|2=⬡⬡|3=⬡⬡⬡|N/A}}}}{{#if:{{{cost|}}}|<br>'''Cost:''' {{#switch:{{{cost|}}}|1=⬢|2=⬢⬢|3=⬢⬢⬢|N/A}}}}{{#if:{{{stats|}}}|<br>'''Power:''' {{{stats|}}}}}{{#if:{{{attack|}}}|<br>'''Attack power:''' {{{attack|}}}}}{{#if:{{{defense|}}}|<br>'''Defense power:''' {{{attack|}}}}}{{#if:{{{ability|}}}|<br>'''Ability:''' {{{ability|}}}}}{{#ifeq:{{{category|}}}|Master Spirit|{{#if:{{{dojo|}}}|<br>'''Dojo:''' {{{dojo|}}}}}{{#if:{{{shop|}}}|<br>'''Shop:''' {{{shop|}}}}}}} |
|- | |- | ||
| style="background: #f5deb3; padding: 10px; {{roundybr|25px}};" align="center" width="15%" | | | style="background: #f5deb3; padding: 10px; {{roundybr|25px}};" align="center" width="15%" | |
Revision as of 02:48, February 19, 2021
This template defines the table "ssbu_spirit". View table.
SpiritInfo | |||
Missing category | |||
Template documentation (view)
More Cargo templates |
---|
- For query instructions see our Cargo documentation.