Template:BTD6 hero info: Difference between revisions
Changing template to only store the trait name |
restructuring how rl/fl data is handled |
||
| Line 31: | Line 31: | ||
|}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_heroes | |}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_heroes | ||
|id={{{id|}}} | |id={{{id|}}} | ||
| | |numeric_id={{{order|}}} | ||
|name ={{{name|}}} | |name ={{{name|}}} | ||
| Line 43: | Line 43: | ||
|cost_C ={{{cost C|}}} | |cost_C ={{{cost C|}}} | ||
|xp_scale_C={{{xp scale C|}}} | |xp_scale_C={{{xp scale C|}}} | ||
}}{{#cargo_store:_table=btd6_hero_skins | |||
|id={{{id|}}} | |||
|numeric_id={{{order|}}} | |||
|name ={{{name|}}} | |||
|image ={{{image|}}} | |||
|icon ={{{icon|}}} | |||
|description={{{description|}}} | |||
|hero ={{{name|}}} | |||
|introduced ={{{introduced|}}} | |||
|introduced_C={{{introduced C|}}} | |||
|xd_only ={{{xd_only|0}}} | |||
|rl_tower_1={{{rl tower 1|}}} | |rl_tower_1={{{rl tower 1|}}} | ||
| Line 49: | Line 62: | ||
|rl_tower_2_upgrades={{{rl tower 2 upgrades|}}} | |rl_tower_2_upgrades={{{rl tower 2 upgrades|}}} | ||
|rl_artifact={{{rl artifact|}}} | |rl_artifact={{{rl artifact|}}} | ||
|rl_artifact_rarity={{{rl artifact rarity|}}} | |||
|fl_cost={{{fl cost}}} | |fl_cost={{{fl cost}}} | ||
| Line 59: | Line 73: | ||
}}</includeonly><noinclude>{{#cargo_declare:_table=btd6_heroes | }}</includeonly><noinclude>{{#cargo_declare:_table=btd6_heroes | ||
|id=String | |id=String | ||
| | |numeric_id=Integer | ||
|name =String | |name =String | ||
| Line 71: | Line 85: | ||
|cost_C =Integer | |cost_C =Integer | ||
|xp_scale_C=Float | |xp_scale_C=Float | ||
}} | |||
{{#cargo_attach:_table=btd6_hero_skins}}{{/doc}}</noinclude> | |||
}}{{/doc}}</noinclude> | |||