Template:BTDB2 loadout: Difference between revisions

No edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{{#cargo_store:_table=btdb2_loadouts
<includeonly>{{#if:{{{dead|}}}||{{#cargo_store:_table=btdb2_loadouts
|name  ={{{name|}}}
|name  ={{{name|}}}
|towers={{{tower 1|}}};{{{tower 2|}}};{{{tower 3|}}}
|towers={{{tower 1|}}};{{{tower 2|}}};{{{tower 3|}}}
|heroes={{{hero 1|}}}{{#if:{{{hero 2|}}}|;{{{hero 2|}}}}}{{#if:{{{hero 3|}}}|;{{{hero 3|}}}}}{{#if:{{{hero 4|}}}|;{{{hero 4|}}}}}{{#if:{{{hero 5|}}}|;{{{hero 5|}}}}}{{#if:{{{hero 6|}}}|;{{{hero 6|}}}}}
|heroes={{{hero 1|}}}{{#if:{{{hero 2|}}}|;{{{hero 2|}}}}}{{#if:{{{hero 3|}}}|;{{{hero 3|}}}}}{{#if:{{{hero 4|}}}|;{{{hero 4|}}}}}{{#if:{{{hero 5|}}}|;{{{hero 5|}}}}}{{#if:{{{hero 6|}}}|;{{{hero 6|}}}}}
|last_updated={{{last updated|}}}
|last_updated={{{last updated|}}}
}}{|class="wikitable right" style="text-align:center"
}}}}{|class="wikitable right" style="text-align:center"
!colspan="3"|Towers
!colspan="3"|Towers
|-
|-
Line 239: Line 239:
|Bonnie=[[File:BTDB2 bonnie portrait.png|70x70px|link=Bonnie (Battles 2)|Bonnie]]<br>[[Bonnie (Battles 2)|Bonnie]]
|Bonnie=[[File:BTDB2 bonnie portrait.png|70x70px|link=Bonnie (Battles 2)|Bonnie]]<br>[[Bonnie (Battles 2)|Bonnie]]
|#default=<span style="color:red">Hero invalid. Make sure the name is spelled and capitalised correctly.[[Category:Pages with invalid template arguments]]</span>}}}}
|#default=<span style="color:red">Hero invalid. Make sure the name is spelled and capitalised correctly.[[Category:Pages with invalid template arguments]]</span>}}}}
|}</includeonly><noinclude>{{#cargo_declare:_table=btdb2_loadouts
|}</includeonly><noinclude>{{/doc}}
<div>{{#cargo_declare:_table=btdb2_loadouts
|name  =String
|name  =String
|towers=List (;) of String
|towers=List (;) of String
|heroes=List (;) of String
|heroes=List (;) of String
|last_updated=String
|last_updated=String
}}
}}</div></noinclude>
 
{{/doc}}[[Category:Formatting templates]][[Category:Battles 2 templates]]</noinclude>