Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:Sandbox/Fleet
(view source)
Revision as of 17:03, 15 June 2019
1 byte removed
,
5 years ago
m
no edit summary
Line 52:
Line 52:
local minHp = U.imin(hps)
local minHp = U.imin(hps)
if minHp / maxHp <= 0.75 then
if minHp / maxHp <= 0.75 then
−
return string.format('{{color|
darkorange
|{{tooltip|~/%s|%s}}}}', maxHp, U.ijoin(hps, ', '))
+
return string.format('{{color|
orangered
|{{tooltip|~/%s|%s}}}}', maxHp, U.ijoin(hps, ', '))
elseif minHp / maxHp <= 0.5 then
elseif minHp / maxHp <= 0.5 then
return string.format('{{color|red|{{tooltip|~/%s|%s}}}}', maxHp, U.ijoin(hps, ', '))
return string.format('{{color|red|{{tooltip|~/%s|%s}}}}', maxHp, U.ijoin(hps, ', '))
がか
cssedit, gkautomate
7,064
edits