• 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
m
no edit summary
Line 2: Line 2:     
local getArgs = require("Module:GetArgs")
 
local getArgs = require("Module:GetArgs")
local format = require("Module:Core").format
   
local Utils = require("Module:Core")
 
local Utils = require("Module:Core")
 +
local format = Utils.format
 
local BaseData = require("Module:BaseData")
 
local BaseData = require("Module:BaseData")
   Line 41: Line 41:     
     -- .kcRoute is defined in MediaWiki:Common.css
 
     -- .kcRoute is defined in MediaWiki:Common.css
     _node_template = [[<div class="kcRoute" style="vertical-align:middle"><div class="${class}" style="${style}">${label}</div></div>]],
+
     _node_template = [[<div class="maproute" style="vertical-align:middle"><div class="${class}" style="${style}">${label}</div></div>]],
 
      
 
      
 
     _node_color1 = [[background: ${color};]],
 
     _node_color1 = [[background: ${color};]],
Line 60: Line 60:  
         nightday_night = { "battle", "night", "night", "night" },
 
         nightday_night = { "battle", "night", "night", "night" },
 
         night_battle_empty = { "night", "battle", "empty" },
 
         night_battle_empty = { "night", "battle", "empty" },
         ambush = "radial-gradient(orange 40%, red 80%)",
+
         ambush = { "battle", "orange", "battle", "orange" },
 
     },
 
     },
   Line 198: Line 198:  
         self._node_template,
 
         self._node_template,
 
         label = label,
 
         label = label,
         class = #label > 1 and "kcRouteNodeWide" or "kcRouteNode",
+
         class = #label > 1 and "mapnodewide" or "mapnode",
 
         style = style
 
         style = style
 
     }
 
     }
cssedit, gkautomate
7,064

edits

Navigation menu