Template:BTD6 spellbook spell info: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| (10 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><templatestyles src="Info/style.css"/><div class="info subtable-container"><!-- | ||
--><div class="head">{{{name}}}</div> | |||
{|class="subtable main centered" | |||
|style="background-color:tan"|[[File:{{{image}}}|x100px]] | |||
{|class=" | |||
|[[File:{{{image}}}|x100px]] | |||
|- | |- | ||
|{{{description}}} | |{{{description}}} | ||
|} | |} | ||
{|class=" | {|class="subtable" | ||
!Level unlocked | !Level unlocked | ||
|colspan="2"|{{{unlocked at|}}} | |colspan="2"|{{{unlocked at|}}} | ||
|- | |- | ||
!Mana cost | !Mana cost | ||
|colspan="2"|{{{cost|}}} {{#if:{{{ongoing cost|}}}|+ {{{ongoing cost}}} per second}} | |colspan="2"|{{#ifeq:{{{name}}}|Nourishment|Consumes all Mana|{{{cost|}}}}} {{#if:{{{ongoing cost|}}}|+ {{{ongoing cost}}} per second}} | ||
|- | |- | ||
{{#if:{{{duration|}}}|!Duration | {{#if:{{{duration|}}}|!Duration | ||
| Line 24: | Line 18: | ||
{{#if:{{{cooldown|}}}|!Cooldown | {{#if:{{{cooldown|}}}|!Cooldown | ||
{{!}}colspan="2"{{!}}{{{cooldown|}}} seconds}} | {{!}}colspan="2"{{!}}{{{cooldown|}}} seconds}} | ||
|} | |- | ||
|}<noinclude>{{/doc}}</noinclude> | !Hotkey | ||
|colspan="2"|Tower Panel Inventory {{{hotkey|}}} | |||
|}</div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_spellbook_spells | |||
|id={{{id|}}} | |||
|name ={{{name|}}} | |||
|image ={{{image|}}} | |||
|description={{{description|}}} | |||
|unlocked_at ={{{unlocked at|}}} | |||
|cost ={{{cost|}}} | |||
|ongoing_cost={{{ongoing cost|}}} | |||
|duration={{{duration|}}} | |||
|cooldown={{{cooldown|}}} | |||
|hotkey ={{{hotkey|}}} | |||
}}[[Category:Spellbook spells]]{{#seo: | |||
|image={{{image|}}} | |||
}}}}</includeonly><noinclude>{{#cargo_declare:_table=btd6_spellbook_spells | |||
|id=String | |||
|name =String | |||
|image =File | |||
|description=String | |||
|unlocked_at =Integer | |||
|cost =Integer | |||
|ongoing_cost=Integer | |||
|duration=Integer | |||
|cooldown=Integer | |||
|hotkey =Integer | |||
}}{{/doc}}</noinclude> | |||