Line 1: |
Line 1: |
− | <includeonly>{{#if:{{{Card_1|}}}{{{Card_2|}}}{{{Card_3|}}}{{{Card_4|}}}|{{#vardefine:card|1}}|}}{{#if:{{{Character_1|}}}{{{Character_2|}}}{{{Character_3|}}}{{{Character_4|}}}|{{#vardefine:character|1}}|}}{{#if:{{{Item_1|}}}{{{Item_2|}}}{{{Item_3|}}}{{{Item_4|}}}|{{#vardefine:item|1}}|}}{{#if:{{{Full_1|}}}{{{Full_2|}}}{{{Full_3|}}}{{{Full_4|}}}|{{#vardefine:full|1}}|}}{{#vardefine:total_colspan|{{#expr: 1+{{#var:card|0}}+{{#var:character|0}}+{{#var:item|0}}+{{#var:full|0}} }}}} | + | <includeonly>{{#vardefine:card|{{#if:{{{Card_1|}}}{{{Card_2|}}}{{{Card_3|}}}{{{Card_4|}}}|1|}}}}{{#vardefine:character|{{#if:{{{Character_1|}}}{{{Character_2|}}}{{{Character_3|}}}{{{Character_4|}}}|1|}}}}{{#vardefine:item|{{#if:{{{Item_1|}}}{{{Item_2|}}}{{{Item_3|}}}{{{Item_4|}}}|1|}}}}{{#vardefine:full|{{#if:{{{Full_1|}}}{{{Full_2|}}}{{{Full_3|}}}{{{Full_4|}}}|1|}}}}{{#vardefine:total_colspan|{{#expr: 1+{{#var:card|0}}+{{#var:character|0}}+{{#var:item|0}}+{{#var:full|0}} }}}} |
| {| class="wikitable" style="text-align: center; border-width:0.2px;" | | {| class="wikitable" style="text-align: center; border-width:0.2px;" |
| |- | | |- |
Line 22: |
Line 22: |
| ! colspan="{{#var:total_colspan}}" style="background-color:#AFCDFF;" | {{Detail|button=true|target=CurrentCG|show_text=Showing Current CG|hide_text=Show Current CG (hidden)}} | | ! colspan="{{#var:total_colspan}}" style="background-color:#AFCDFF;" | {{Detail|button=true|target=CurrentCG|show_text=Showing Current CG|hide_text=Show Current CG (hidden)}} |
| |- style="background-color:#AFCDFF;" {{Detail|target=CurrentCG}} | | |- style="background-color:#AFCDFF;" {{Detail|target=CurrentCG}} |
− | {{!}} {{#if: {{#var:card|}} | {{Asset|type=Equipment|asset=Card|{{{Equipment}}}|size=x260px}} | - }} | + | {{!}} {{#if: {{#var:card}} | {{Asset|type=Equipment|asset=Card|{{{Equipment}}}|size=x260px}} | - }} |
− | {{!}} {{#if: {{#var:character|}} | {{Asset|type=Equipment|asset=Character|{{{Equipment}}}|size=x260px}} | - }} | + | {{!}} {{#if: {{#var:character}} | {{Asset|type=Equipment|asset=Character|{{{Equipment}}}|size=x260px}} | - }} |
− | {{!}} {{#if: {{#var:item|}} | {{Asset|type=Equipment|asset=Item|{{{Equipment}}}|size=x260px}} | - }} | + | {{!}} {{#if: {{#var:item}} | {{Asset|type=Equipment|asset=Item|{{{Equipment}}}|size=x260px}} | - }} |
− | {{!}} {{#if: {{#var:full|}} | {{Asset|type=Equipment|asset=Full|{{{Equipment}}}|size=x260px}} | - }} | + | {{!}} {{#if: {{#var:full}} | {{Asset|type=Equipment|asset=Full|{{{Equipment}}}|size=x260px}} | - }} |
− | |'''Current CG'''<br><br>VALUES: {{#var:card}}+{{#var:character}}+{{#var:item}}+{{#var:full}} | + | |'''Current CG'''<br><br>VALUES: {{#var:card}}+{{#var:character}}+{{#var:item}}+{{#var:full}}<br>character:{{#if:{{{Character_1|}}}{{{Character_2|}}}{{{Character_3|}}}{{{Character_4|}}}|yes|no}} |
| |}</includeonly><noinclude> | | |}</includeonly><noinclude> |
| | | |
Line 51: |
Line 51: |
| }} | | }} |
| | | |
− | | + | <div class="mw-collapsible mw-collapsed"> |
| ==Non-Templated== | | ==Non-Templated== |
| | | |
Line 114: |
Line 114: |
| |'''Keeps''' unneeded asset columns | | |'''Keeps''' unneeded asset columns |
| |} | | |} |
− | | + | </div> |
| | | |
| | | |
| </noinclude> | | </noinclude> |