• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
realized what #var & #vardefine are, implemented as rowspan definer
Line 1: Line 1: −
<includeonly>{{!}}-
+
<includeonly>{{#vardefine:total_rowspan|{{#expr: {{#if:{{{HeavyF/S}}}{{{HeavyAmmo}}}{{{HeavyBaux}}}|1|0}}+{{#if:{{{TorpeF/S}}}{{{TorpeAmmo}}}{{{TorpeBaux}}}|1|0}}+{{#if:{{{AviatF/S}}}{{{AviatAmmo}}}{{{AviatBaux}}}|1|0}}}}}}{{!}}-
{{!}} rowspan="{{#expr: {{#if: {{{HeavyF/S}}}{{{HeavyAmmo}}}{{{HeavyBaux}}} | 1 | 0}}+{{#if: {{{TorpeF/S}}}{{{TorpeAmmo}}}{{{TorpeBaux}}} | 1 | 0}}+{{#if: {{{AviatF/S}}}{{{AviatAmmo}}}{{{AviatBaux}}} | 1 | 0}}}}" {{!}}{{QuestRewardEquip|{{{Equipment}}}}}
+
{{!}} rowspan="{{#var:total_rowspan}}" {{!}}{{QuestRewardEquip|{{{Equipment}}}}}
{{!}} rowspan="{{#expr: {{#if: {{{HeavyF/S}}}{{{HeavyAmmo}}}{{{HeavyBaux}}} | 1 | 0}}+{{#if: {{{TorpeF/S}}}{{{TorpeAmmo}}}{{{TorpeBaux}}} | 1 | 0}}+{{#if: {{{AviatF/S}}}{{{AviatAmmo}}}{{{AviatBaux}}} | 1 | 0}}}}" {{!}}{{{Fuel}}}
+
{{!}} rowspan="{{#var:total_rowspan}}" {{!}}{{{Fuel}}}
{{!}} rowspan="{{#expr: {{#if: {{{HeavyF/S}}}{{{HeavyAmmo}}}{{{HeavyBaux}}} | 1 | 0}}+{{#if: {{{TorpeF/S}}}{{{TorpeAmmo}}}{{{TorpeBaux}}} | 1 | 0}}+{{#if: {{{AviatF/S}}}{{{AviatAmmo}}}{{{AviatBaux}}} | 1 | 0}}}}" {{!}}{{{Ammo}}}
+
{{!}} rowspan="{{#var:total_rowspan}}" {{!}}{{{Ammo}}}
{{!}} rowspan="{{#expr: {{#if: {{{HeavyF/S}}}{{{HeavyAmmo}}}{{{HeavyBaux}}} | 1 | 0}}+{{#if: {{{TorpeF/S}}}{{{TorpeAmmo}}}{{{TorpeBaux}}} | 1 | 0}}+{{#if: {{{AviatF/S}}}{{{AviatAmmo}}}{{{AviatBaux}}} | 1 | 0}}}}" {{!}}{{{Steel}}}
+
{{!}} rowspan="{{#var:total_rowspan}}" {{!}}{{{Steel}}}
{{!}} rowspan="{{#expr: {{#if: {{{HeavyF/S}}}{{{HeavyAmmo}}}{{{HeavyBaux}}} | 1 | 0}}+{{#if: {{{TorpeF/S}}}{{{TorpeAmmo}}}{{{TorpeBaux}}} | 1 | 0}}+{{#if: {{{AviatF/S}}}{{{AviatAmmo}}}{{{AviatBaux}}} | 1 | 0}}}}" {{!}}{{{Bauxite}}}{{#if: {{{TorpeF/S}}}{{{TorpeAmmo}}}{{{TorpeBaux}}} | <br>
+
{{!}} rowspan="{{#var:total_rowspan}}" {{!}}{{{Bauxite}}}{{#if: {{{TorpeF/S}}}{{{TorpeAmmo}}}{{{TorpeBaux}}} | <br>
 
! style="background-color:#EEF5FF;" {{!}} {{ToolTip|{{ToolTip|Torpedo|{{colour|red|Does '''NOT''' include '''SSV'''}}}}|'''Secretary: Category Torpedo'''<hr>'''Ship Types included:'''<br>DE, DD, CL, CLT, SS, AP, CT or AO}}
 
! style="background-color:#EEF5FF;" {{!}} {{ToolTip|{{ToolTip|Torpedo|{{colour|red|Does '''NOT''' include '''SSV'''}}}}|'''Secretary: Category Torpedo'''<hr>'''Ship Types included:'''<br>DE, DD, CL, CLT, SS, AP, CT or AO}}
 
{{!}} style="background-color:#AAFFAA;" {{!}}{{#if: {{{TorpeF/S|}}} | {{{TorpeF/S}}}% | - }}
 
{{!}} style="background-color:#AAFFAA;" {{!}}{{#if: {{{TorpeF/S|}}} | {{{TorpeF/S}}}% | - }}
 
{{!}} style="background-color:#FFAAAA;" {{!}}{{#if: {{{TorpeAmmo|}}} | {{{TorpeAmmo}}}% | - }}
 
{{!}} style="background-color:#FFAAAA;" {{!}}{{#if: {{{TorpeAmmo|}}} | {{{TorpeAmmo}}}% | - }}
 
{{!}} style="background-color:#FFFFAA;" {{!}}{{#if: {{{TorpeBaux|}}} | {{{TorpeBaux}}}% | - }}
 
{{!}} style="background-color:#FFFFAA;" {{!}}{{#if: {{{TorpeBaux|}}} | {{{TorpeBaux}}}% | - }}
{{!}} rowspan="{{#expr: {{#if: {{{HeavyF/S}}}{{{HeavyAmmo}}}{{{HeavyBaux}}} | 1 | 0}}+{{#if: {{{TorpeF/S}}}{{{TorpeAmmo}}}{{{TorpeBaux}}} | 1 | 0}}+{{#if: {{{AviatF/S}}}{{{AviatAmmo}}}{{{AviatBaux}}} | 1 | 0}}}}" {{!}}{{{Note}}} }}
+
{{!}} rowspan="{{#var:total_rowspan}}" {{!}}{{{Note}}} }}
 
{{#if: {{{HeavyF/S}}}{{{HeavyAmmo}}}{{{HeavyBaux}}} |
 
{{#if: {{{HeavyF/S}}}{{{HeavyAmmo}}}{{{HeavyBaux}}} |
 
{{#if: {{{TorpeF/S}}}{{{TorpeAmmo}}}{{{TorpeBaux}}} | {{!}}- | }}
 
{{#if: {{{TorpeF/S}}}{{{TorpeAmmo}}}{{{TorpeBaux}}} | {{!}}- | }}
Line 16: Line 16:  
{{!}} style="background-color:#FFAAAA;" {{!}}{{#if: {{{HeavyAmmo|}}} | {{{HeavyAmmo}}}% | - }}
 
{{!}} style="background-color:#FFAAAA;" {{!}}{{#if: {{{HeavyAmmo|}}} | {{{HeavyAmmo}}}% | - }}
 
{{!}} style="background-color:#FFFFAA;" {{!}}{{#if: {{{HeavyBaux|}}} | {{{HeavyBaux}}}% | - }}
 
{{!}} style="background-color:#FFFFAA;" {{!}}{{#if: {{{HeavyBaux|}}} | {{{HeavyBaux}}}% | - }}
{{#if: {{{TorpeF/S}}}{{{TorpeAmmo}}}{{{TorpeBaux}}} | | {{!}} rowspan="{{#expr: {{#if: {{{HeavyF/S}}}{{{HeavyAmmo}}}{{{HeavyBaux}}} | 1 | 0}}+{{#if: {{{AviatF/S}}}{{{AviatAmmo}}}{{{AviatBaux}}} | 1 | 0}}}}" {{!}}{{{Note}}}}} }}
+
{{#if: {{{TorpeF/S}}}{{{TorpeAmmo}}}{{{TorpeBaux}}} | | {{!}} rowspan="{{#var:total_rowspan}}" {{!}}{{{Note}}}}} }}
 
{{#if: {{{AviatF/S}}}{{{AviatAmmo}}}{{{AviatBaux}}} |
 
{{#if: {{{AviatF/S}}}{{{AviatAmmo}}}{{{AviatBaux}}} |
 
{{#if: {{{HeavyF/S}}}{{{HeavyAmmo}}}{{{HeavyBaux}}}{{{TorpeF/S}}}{{{TorpeAmmo}}}{{{TorpeBaux}}} |  
 
{{#if: {{{HeavyF/S}}}{{{HeavyAmmo}}}{{{HeavyBaux}}}{{{TorpeF/S}}}{{{TorpeAmmo}}}{{{TorpeBaux}}} |  
advmod, cssedit, Interface administrators, janitor, Moderators, prechecked, Widget editors
7,373

edits

Navigation menu