• 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:AkashiWorkshop/doc"

From Kancolle Wiki
Jump to navigation Jump to search
(woo for breaking!)
Line 9: Line 9:
 
Aka: I'm a liar here's an example because apparently embedding templates in templates can be tricky, or maybe I'm just mentally retarded, entirely possible
 
Aka: I'm a liar here's an example because apparently embedding templates in templates can be tricky, or maybe I'm just mentally retarded, entirely possible
  
 +
{{AkashiWorkshop}}
 +
{{AkashiWorkshopLine
 +
|GunType=GreenGunDP}}
 +
{{AkashiWorkshopLine
 +
|GunType=RedGunLight}}
 +
|}
 +
 +
Template test 2, see if I can emulate existing scenario, in lieu of somehow making it sortable which I'm not doing right now.
 +
Edit: It doesn't work because I call for the table inside the table. If I call the table manually and then re-issue the template as a header formatting, it would likely work.
 +
 +
{{AkashiWorkshop}}
 +
{{AkashiWorkshopLine
 +
|GunType=GreenGunDP}}
 +
{{AkashiWorkshopLine
 +
|GunType=RedGunLight}}
 
{{AkashiWorkshop}}
 
{{AkashiWorkshop}}
 
{{AkashiWorkshopLine
 
{{AkashiWorkshopLine

Revision as of 20:47, 20 July 2016

This is just a terrible template to serve as the header for the Akashi's workshop document in the case that we switch to a template.

While the template includes the headers, because of how I plan on calling the line template, I cannot close it and requires manually closing the table at the end with

"|}"

I'm not putting a template example in this documentation, even for testing. Refer to Template:AkashiWorkshopLine for theoretical use case and examples.

Aka: I'm a liar here's an example because apparently embedding templates in templates can be tricky, or maybe I'm just mentally retarded, entirely possible

Type Name Resource Day 2nd Ship Note
Fuel Ammunition Steel Bauxite Item Icon Development Material.png Item Icon Improvement Material.png # of equipment needed for that upgrade. An asterisk following the number indicates a different equipment is required. Sun Mon Tue Wed Thu Fri Sat
{{ {{{ItemType}}} }} [[{{{Name}}}]] 0 {{{Fuel}}} {{{Ammo}}} {{{Steel}}} {{{Baux}}} {{{Mats0-5}}} {{{Screws0-5}}} {{{EquipConsume0-5}}} X X X X X X X -
6 {{{Mats6-9}}} {{{Screws6-9}}} {{{EquipConsume6-9}}}
10 {{{Mats10}}} {{{Screws10}}} {{{EquipConsume10}}}
{{ {{{ItemType}}} }} [[{{{Name}}}]] 0 {{{Fuel}}} {{{Ammo}}} {{{Steel}}} {{{Baux}}} {{{Mats0-5}}} {{{Screws0-5}}} {{{EquipConsume0-5}}} X X X X X X X -
6 {{{Mats6-9}}} {{{Screws6-9}}} {{{EquipConsume6-9}}}
10 {{{Mats10}}} {{{Screws10}}} {{{EquipConsume10}}}

Template test 2, see if I can emulate existing scenario, in lieu of somehow making it sortable which I'm not doing right now. Edit: It doesn't work because I call for the table inside the table. If I call the table manually and then re-issue the template as a header formatting, it would likely work.

Type Name Resource Day 2nd Ship Note
Fuel Ammunition Steel Bauxite Item Icon Development Material.png Item Icon Improvement Material.png # of equipment needed for that upgrade. An asterisk following the number indicates a different equipment is required. Sun Mon Tue Wed Thu Fri Sat
{{ {{{ItemType}}} }} [[{{{Name}}}]] 0 {{{Fuel}}} {{{Ammo}}} {{{Steel}}} {{{Baux}}} {{{Mats0-5}}} {{{Screws0-5}}} {{{EquipConsume0-5}}} X X X X X X X -
6 {{{Mats6-9}}} {{{Screws6-9}}} {{{EquipConsume6-9}}}
10 {{{Mats10}}} {{{Screws10}}} {{{EquipConsume10}}}
{{ {{{ItemType}}} }} [[{{{Name}}}]] 0 {{{Fuel}}} {{{Ammo}}} {{{Steel}}} {{{Baux}}} {{{Mats0-5}}} {{{Screws0-5}}} {{{EquipConsume0-5}}} X X X X X X X -
6 {{{Mats6-9}}} {{{Screws6-9}}} {{{EquipConsume6-9}}}
10 {{{Mats10}}} {{{Screws10}}} {{{EquipConsume10}}}
Type Name Resource Day 2nd Ship Note
Fuel Ammunition Steel Bauxite Item Icon Development Material.png Item Icon Improvement Material.png # of equipment needed for that upgrade. An asterisk following the number indicates a different equipment is required. Sun Mon Tue Wed Thu Fri Sat
{{ {{{ItemType}}} }} [[{{{Name}}}]] 0 {{{Fuel}}} {{{Ammo}}} {{{Steel}}} {{{Baux}}} {{{Mats0-5}}} {{{Screws0-5}}} {{{EquipConsume0-5}}} X X X X X X X -
6 {{{Mats6-9}}} {{{Screws6-9}}} {{{EquipConsume6-9}}}
10 {{{Mats10}}} {{{Screws10}}} {{{EquipConsume10}}}
{{ {{{ItemType}}} }} [[{{{Name}}}]] 0 {{{Fuel}}} {{{Ammo}}} {{{Steel}}} {{{Baux}}} {{{Mats0-5}}} {{{Screws0-5}}} {{{EquipConsume0-5}}} X X X X X X X -
6 {{{Mats6-9}}} {{{Screws6-9}}} {{{EquipConsume6-9}}}
10 {{{Mats10}}} {{{Screws10}}} {{{EquipConsume10}}}