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

Difference between revisions of "Template:OldEquipmentCG"

From Kancolle Wiki
Jump to navigation Jump to search
(Template spacing issues fixed. Fixed description links and text. Added extra example.)
(Supports a 3rd & 4th old CG.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<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}} }}}}
 
<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;"
 
{{!}}-
 
{{!}}-
 
{{#if: {{#var:card}} |!style="width:260px;"{{!}}Card | }}{{#if: {{#var:character}} |<br>
 
{{#if: {{#var:card}} |!style="width:260px;"{{!}}Card | }}{{#if: {{#var:character}} |<br>
Line 12: Line 12:
 
{{!}} {{#if: {{{Item_1|}}} | {{Asset|type=Old Equipment|asset=Item|{{{Equipment}}}|suffix1= - 1|size=x260px}} | - }} | }}{{#if: {{#var:full}} |<br>
 
{{!}} {{#if: {{{Item_1|}}} | {{Asset|type=Old Equipment|asset=Item|{{{Equipment}}}|suffix1= - 1|size=x260px}} | - }} | }}{{#if: {{#var:full}} |<br>
 
{{!}} {{#if: {{{Full_1|}}} | {{Asset|type=Old Equipment|asset=Full|{{{Equipment}}}|suffix1= - 1|size=x260px}} | - }} | }}
 
{{!}} {{#if: {{{Full_1|}}} | {{Asset|type=Old Equipment|asset=Full|{{{Equipment}}}|suffix1= - 1|size=x260px}} | - }} | }}
{{!}} '''Original CG'''<br><br>{{{Note_1}}}
+
{{!}} '''Original CG'''<br><br>{{{Note_1}}}{{#if:{{{Card_2|}}}{{{Character_2|}}}{{{Item_2|}}}{{{Full_2|}}}|<br>
{{#if:{{{Card_2|}}}{{{Character_2|}}}{{{Item_2|}}}{{{Full_2|}}}|{{!}}-
+
{{!}}-
 
{{#if: {{#var:card}} |{{!}} {{#if: {{{Card_2|}}} | {{Asset|type=Old Equipment|asset=Card|{{{Equipment}}}|suffix1= - 2|size=x260px}} | - }} | }}{{#if: {{#var:character}} |<br>
 
{{#if: {{#var:card}} |{{!}} {{#if: {{{Card_2|}}} | {{Asset|type=Old Equipment|asset=Card|{{{Equipment}}}|suffix1= - 2|size=x260px}} | - }} | }}{{#if: {{#var:character}} |<br>
 
{{!}} {{#if: {{{Character_2|}}} | {{Asset|type=Old Equipment|asset=Character|{{{Equipment}}}|suffix1= - 2|size=x260px}} | - }} | }}{{#if: {{#var:item}} |<br>
 
{{!}} {{#if: {{{Character_2|}}} | {{Asset|type=Old Equipment|asset=Character|{{{Equipment}}}|suffix1= - 2|size=x260px}} | - }} | }}{{#if: {{#var:item}} |<br>
 
{{!}} {{#if: {{{Item_2|}}} | {{Asset|type=Old Equipment|asset=Item|{{{Equipment}}}|suffix1= - 2|size=x260px}} | - }} | }}{{#if: {{#var:full}} |<br>
 
{{!}} {{#if: {{{Item_2|}}} | {{Asset|type=Old Equipment|asset=Item|{{{Equipment}}}|suffix1= - 2|size=x260px}} | - }} | }}{{#if: {{#var:full}} |<br>
 
{{!}} {{#if: {{{Full_2|}}} | {{Asset|type=Old Equipment|asset=Full|{{{Equipment}}}|suffix1= - 2|size=x260px}} | - }} | }}
 
{{!}} {{#if: {{{Full_2|}}} | {{Asset|type=Old Equipment|asset=Full|{{{Equipment}}}|suffix1= - 2|size=x260px}} | - }} | }}
{{!}} '''Old CG #2'''<br><br>{{{Note_2}}}|}}
+
{{!}} '''Old CG #2'''<br><br>{{{Note_2}}}{{#if:{{{Card_3|}}}{{{Character_3|}}}{{{Item_3|}}}{{{Full_3|}}}|<br>
 +
{{!}}-
 +
{{#if: {{#var:card}} |{{!}} {{#if: {{{Card_3|}}} | {{Asset|type=Old Equipment|asset=Card|{{{Equipment}}}|suffix1= - 3|size=x260px}} | - }} | }}{{#if: {{#var:character}} |<br>
 +
{{!}} {{#if: {{{Character_3|}}} | {{Asset|type=Old Equipment|asset=Character|{{{Equipment}}}|suffix1= - 3|size=x260px}} | - }} | }}{{#if: {{#var:item}} |<br>
 +
{{!}} {{#if: {{{Item_3|}}} | {{Asset|type=Old Equipment|asset=Item|{{{Equipment}}}|suffix1= - 3|size=x260px}} | - }} | }}{{#if: {{#var:full}} |<br>
 +
{{!}} {{#if: {{{Full_3|}}} | {{Asset|type=Old Equipment|asset=Full|{{{Equipment}}}|suffix1= - 3|size=x260px}} | - }} | }}
 +
{{!}} '''Old CG #3'''<br><br>{{{Note_3}}}{{#if:{{{Card_4|}}}{{{Character_4|}}}{{{Item_4|}}}{{{Full_4|}}}|<br>
 +
{{!}}-
 +
{{#if: {{#var:card}} |{{!}} {{#if: {{{Card_4|}}} | {{Asset|type=Old Equipment|asset=Card|{{{Equipment}}}|suffix1= - 4|size=x260px}} | - }} | }}{{#if: {{#var:character}} |<br>
 +
{{!}} {{#if: {{{Character_4|}}} | {{Asset|type=Old Equipment|asset=Character|{{{Equipment}}}|suffix1= - 4|size=x260px}} | - }} | }}{{#if: {{#var:item}} |<br>
 +
{{!}} {{#if: {{{Item_4|}}} | {{Asset|type=Old Equipment|asset=Item|{{{Equipment}}}|suffix1= - 4|size=x260px}} | - }} | }}{{#if: {{#var:full}} |<br>
 +
{{!}} {{#if: {{{Full_4|}}} | {{Asset|type=Old Equipment|asset=Full|{{{Equipment}}}|suffix1= - 4|size=x260px}} | - }} | }}
 +
{{!}} '''Old CG #4'''<br><br>{{{Note_4}}}|}}|}}|}}
 
{{!}}-
 
{{!}}-
 
! 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)}}
Line 26: Line 38:
 
{{!}} {{Asset|type=Equipment|asset=Item|{{{Equipment}}}|size=x260px}} | }}{{#if: {{#var:full}} |<br>
 
{{!}} {{Asset|type=Equipment|asset=Item|{{{Equipment}}}|size=x260px}} | }}{{#if: {{#var:full}} |<br>
 
{{!}} {{Asset|type=Equipment|asset=Full|{{{Equipment}}}|size=x260px}} | }}
 
{{!}} {{Asset|type=Equipment|asset=Full|{{{Equipment}}}|size=x260px}} | }}
{{!}}'''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}}
+
{{!}}'''Current CG'''<br><br>{{{Note_Current}}}
 
{{!}}}</includeonly><noinclude>
 
{{!}}}</includeonly><noinclude>
  
Line 40: Line 52:
 
|Card_2= Y ||Character_2=  ||Item_2= Y ||Full_2= Y
 
|Card_2= Y ||Character_2=  ||Item_2= Y ||Full_2= Y
 
|Note_2=  
 
|Note_2=  
 +
|Note_Current=
 
}}
 
}}
 
{{OldEquipmentCG
 
{{OldEquipmentCG
Line 45: Line 58:
 
|Card_1= Y ||Character_1=  ||Item_1= Y ||Full_1= Y
 
|Card_1= Y ||Character_1=  ||Item_1= Y ||Full_1= Y
 
|Note_1=  
 
|Note_1=  
 +
|Note_Current=
 
}}
 
}}
 
{{OldEquipmentCG
 
{{OldEquipmentCG
Line 50: Line 64:
 
|Card_1= Y ||Character_1=  ||Item_1=  ||Full_1=  
 
|Card_1= Y ||Character_1=  ||Item_1=  ||Full_1=  
 
|Note_1=  
 
|Note_1=  
 +
|Note_Current=
 
}}
 
}}
 
{{OldEquipmentCG
 
{{OldEquipmentCG
 
|Equipment= Type 0 Reconnaissance Seaplane
 
|Equipment= Type 0 Reconnaissance Seaplane
 
|Card_1= Y ||Character_1= Y ||Item_1= Y ||Full_1= Y
 
|Card_1= Y ||Character_1= Y ||Item_1= Y ||Full_1= Y
|Note_1=  
+
|Note_1= Renamed from Type 14 Air Radar
 
|Card_2= Y ||Character_2=  ||Item_2= Y ||Full_2= Y
 
|Card_2= Y ||Character_2=  ||Item_2= Y ||Full_2= Y
|Note_2=  
+
|Note_2= Name Position Adjust<br>They had long names, Japanese text got split into two lines
 +
|Card_3= Y ||Character_3= Y ||Item_3= Y ||Full_3= Y
 +
|Note_3= Torpedo Icon updated.
 +
|Card_4= Y ||Character_4= Y ||Item_4= Y ||Full_4= Y
 +
|Note_4= Equipment CG updated
 +
|Note_Current= Seaplane Fighters now have their own equipment icon,<br> separating them from Seaplane Recons/Bombers.
 
}}
 
}}
 
 
<div class="mw-collapsible mw-collapsed">
 
==Non-Templated==
 
 
{| class="wikitable" style="text-align: center; border-width:0.2px;"
 
|-
 
!style="width:260px;"|Card
 
!style="width:300px;"|Note
 
|-
 
|{{Asset|type=Old Equipment|asset=Card|Type 42 Air Radar|suffix1= - 1|size=x260px}}
 
|'''Original CG'''<br><br>Renamed from Type 14 Air Radar
 
|-
 
! colspan=5 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}}
 
|{{Equipment/Card|Type 42 Air Radar|size=x260px}}
 
|'''Hides''' unneeded asset columns
 
|}
 
 
{| class="wikitable" style="text-align: center; border-width:0.2px;"
 
|-
 
!style="width:260px;"|Card
 
!style="width:260px;"|Fairy
 
!style="width:260px;"|Equipment
 
!style="width:260px;"|Combination
 
!style="width:300px;"|Note
 
|-
 
|{{Asset|type=Old Equipment|asset=Card|Type 42 Air Radar|suffix1= - 1|size=x260px}}
 
| -
 
| -
 
| -
 
|'''Original CG'''<br><br>Renamed from Type 14 Air Radar
 
|-
 
! colspan=5 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}}
 
|{{Equipment/Card|Type 42 Air Radar|size=x260px}}
 
| -
 
| -
 
| -
 
|'''Blanks''' unneeded asset columns
 
|}
 
 
 
{| class="wikitable" style="text-align: center; border-width:0.2px;"
 
|-
 
!style="width:260px;"|Card
 
!style="width:260px;"|Fairy
 
!style="width:260px;"|Equipment
 
!style="width:260px;"|Combination
 
!style="width:300px;"|Note
 
|-
 
|{{Asset|type=Old Equipment|asset=Card|Type 42 Air Radar|suffix1= - 1|size=x260px}}
 
| -
 
| -
 
| -
 
|'''Original CG'''<br><br>Renamed from Type 14 Air Radar
 
|-
 
! colspan=5 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}}
 
|{{Equipment/Card|Type 42 Air Radar|size=x260px}}
 
|{{Asset|type=Equipment|asset=Character|Type 42 Air Radar|size=x260px}}
 
|{{Asset|type=Equipment|asset=Item|Type 42 Air Radar|size=x260px}}
 
|{{Asset|type=Equipment|asset=Full|Type 42 Air Radar|size=x260px}}
 
|'''Keeps''' unneeded asset columns
 
|}
 
</div>
 
  
  
 
</noinclude>
 
</noinclude>

Latest revision as of 16:53, 3 May 2021


Equipment Page Old CG gallery

Template for table on User:Chocolatecravinghobo/Sandbox/7/2
To be eventually be used on all equipment pages with old CG.
The data (& maybe template) could also be moved to a module.


Card
Fairy
Equipment
Combination Note
Type 0 Fighter Model 21
Type 0 Fighter Model 21
Type 0 Fighter Model 21
Type 0 Fighter Model 21 Original CG

Notable example text
Type 0 Fighter Model 21
-
Type 0 Fighter Model 21
Type 0 Fighter Model 21 Old CG #2

☑ Showing Current CG ☒ Show Current CG (hidden)

Type 0 Fighter Model 21
Type 0 Fighter Model 21
Type 0 Fighter Model 21
Type 0 Fighter Model 21 Current CG

Card
Equipment
Combination Note
Daihatsu Landing Craft
Daihatsu Landing Craft
Daihatsu Landing Craft Original CG

☑ Showing Current CG ☒ Show Current CG (hidden)

Daihatsu Landing Craft
Daihatsu Landing Craft
Daihatsu Landing Craft Current CG

Card Note
Type 42 Air Radar Original CG

☑ Showing Current CG ☒ Show Current CG (hidden)

Type 42 Air Radar Current CG

Card
Fairy
Equipment
Combination Note
Type 0 Reconnaissance Seaplane
Type 0 Reconnaissance Seaplane
Type 0 Reconnaissance Seaplane
Type 0 Reconnaissance Seaplane Original CG

Renamed from Type 14 Air Radar
Type 0 Reconnaissance Seaplane
-
Type 0 Reconnaissance Seaplane
Type 0 Reconnaissance Seaplane Old CG #2

Name Position Adjust
They had long names, Japanese text got split into two lines
Type 0 Reconnaissance Seaplane
Type 0 Reconnaissance Seaplane
Type 0 Reconnaissance Seaplane
Type 0 Reconnaissance Seaplane Old CG #3

Torpedo Icon updated.
Type 0 Reconnaissance Seaplane
Type 0 Reconnaissance Seaplane
Type 0 Reconnaissance Seaplane
Type 0 Reconnaissance Seaplane Old CG #4

Equipment CG updated

☑ Showing Current CG ☒ Show Current CG (hidden)

Type 0 Reconnaissance Seaplane
Type 0 Reconnaissance Seaplane
Type 0 Reconnaissance Seaplane
Type 0 Reconnaissance Seaplane Current CG

Seaplane Fighters now have their own equipment icon,
separating them from Seaplane Recons/Bombers.