• 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
New ship type refactored from DE to PF at the insistence of Tsuba.
Line 7: Line 7:  
for param, list in pairs(frame.args) do
 
for param, list in pairs(frame.args) do
 
local label = string.upper(mw.text.split(param, "_")[1]) -- Should be single letter in uppercase
 
local label = string.upper(mw.text.split(param, "_")[1]) -- Should be single letter in uppercase
local shipCode = mw.text.split(param, "_")[2] -- One of DE, DD, CL, CA, BB, CV, CVL, AV, SS, AUX
+
local shipCode = mw.text.split(param, "_")[2] -- One of PF, DD, CL, CA, BB, CV, CVL, AV, SS, AUX
 
if drops[label] == nil then
 
if drops[label] == nil then
 
drops[label] = {}
 
drops[label] = {}
Line 16: Line 16:  
local numTypes = {}
 
local numTypes = {}
 
local validLabels = {"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"}
 
local validLabels = {"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"}
local shipTypes = {"DE", "DD", "CL", "CA", "BB", "CV", "CVL", "AV", "SS", "AUX"}
+
local shipTypes = {"PF", "DD", "CL", "CA", "BB", "CV", "CVL", "AV", "SS", "AUX"}
    
for i, letter in pairs(validLabels) do
 
for i, letter in pairs(validLabels) do
Line 35: Line 35:     
local classLink = {}
 
local classLink = {}
classLink["DE"] = '[[Destroyer Escorts]]'
+
classLink["PF"] = '[[Patrol Frigates]]'
 
classLink["DD"] = '[[EliteDD|Destroyers]]'
 
classLink["DD"] = '[[EliteDD|Destroyers]]'
 
classLink["CL"] = '[[EliteCL|Light Cruisers]]'
 
classLink["CL"] = '[[EliteCL|Light Cruisers]]'
3,663

edits

Navigation menu