Line 57: |
Line 57: |
| local function render(frame) | | local function render(frame) |
| local shipClass = frame.args[1] | | local shipClass = frame.args[1] |
− | local remodelSuffix = U.split(frame.args[2], ',') | + | local remodelSuffix = U.split(frame.args[2], ',\n') |
− | local notes = U.split(frame.args[3], ',') | + | local notes = U.split(frame.args[3], ',\n') |
− | local coloring = U.split(frame.args[4], ',') | + | local coloring = U.split(frame.args[4], ',\n') |
| | | |
| return generateTable(shipClass, remodelSuffix, notes, coloring) | | return generateTable(shipClass, remodelSuffix, notes, coloring) |
Line 104: |
Line 104: |
| "ammo_operator = <", | | "ammo_operator = <", |
| "reference_type = 2"})) | | "reference_type = 2"})) |
| + | |
| + | local frame = {} |
| + | frame.args = {} |
| + | frame.args[1] = "Destroyer" |
| + | frame.args[2] = "B Kai, D Kai, Mk.II, Zwei" |
| + | frame.args[3] = "Mikazuki/Kai_notes = Can equip [[Daihatsu Landing Craft|Daihatsu]],\nMutsuki/Kai Ni_notes = 2nd remodel. Can equip [[Daihatsu Landing Craft|Daihatsu]],\nKisaragi/Kai Ni_notes = 2nd remodel. Can equip [[Daihatsu Landing Craft|Daihatsu]],\nSatsuki/Kai Ni_notes = 2nd remodel. Can equip [[Daihatsu Landing Craft|Daihatsu]] & [[Special Type 2 Amphibious Landing Craft|Type 2 Landing Craft]],\nFumizuki/Kai Ni_notes = 2nd remodel. Can equip [[Daihatsu Landing Craft|Daihatsu]] & [[Special Type 2 Amphibious Landing Craft|Type 2 Landing Craft]]" |
| + | frame.args[4] = "remodel_level_good = 20,\nremodel_level_outstanding = 15,\nremodel_level_operator = <,\nfirepower_good = 56,\nfirepower_outstanding = 61,\ntorpedo_good = 83,\ntorpedo_outstanding = 89,\nnight_battle = true,\nnight_battle_good = 140,\nnight_battle_outstanding = 150,\nreference_type = 2" |
| + | mw.log(render(frame)) |
| end | | end |
| | | |