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
← Older edit
Newer edit →
Module:Sandbox/Combat
(view source)
Revision as of 07:26, 21 October 2015
175 bytes added
,
9 years ago
m
no edit summary
Line 1:
Line 1:
−
−
local format = require('Module:StringInterpolation').format
−
local Ship = require('Module:Ship')
−
local Formatting = require('Module:Formatting')
local Combat = {}
local Combat = {}
Line 157:
Line 153:
-- * Tables.
-- * Tables.
+
+
local format = require('Module:StringInterpolation').format
+
local Ship = require('Module:Ship')
+
local Formatting = require('Module:Formatting')
+
local StatIcons = require('Module:StatIcons')
local table_templates = {
local table_templates = {
Line 163:
Line 164:
!Rank
!Rank
!Name
!Name
−
!
FP
+
!
${fp}
−
!
Torp
+
!
${torp}
−
!
FP + Torp
+
!
${fp_plus_torp}
!DB Attack
!DB Attack
!DB Torp
!DB Torp
Line 172:
Line 173:
!Luck - Cap
!Luck - Cap
!NB CI%
!NB CI%
−
!Notes
${rows}|}]],
${rows}|}]],
Line 187:
Line 187:
|${luck_minus_cap}
|${luck_minus_cap}
|${nb_ci_rate}
|${nb_ci_rate}
−
|${notes}
]===]
]===]
Line 193:
Line 192:
function Combat.table_dd(frame)
function Combat.table_dd(frame)
−
return format{table_templates.table_dd, rows = frame.args[1] or ""}
+
return format{
+
table_templates.table_dd,
+
rows = frame.args[1] or ""
,
+
fp = StatIcons.firepower,
+
torp = StatIcons.torpedo,
+
fp_plus_torp = StatIcons.firepower .. "+" .. StatIcons.torpedo,
+
}
end
end
Line 216:
Line 221:
luck_minus_cap = "",
luck_minus_cap = "",
nb_ci_rate = "",
nb_ci_rate = "",
−
notes = ""
}
}
else
else
がか
cssedit, gkautomate
7,064
edits
Navigation menu
Personal tools
Log in
Request account
Namespaces
Module
Discussion
Variants
Views
Read
View source
View history
More
Search
Content Navigation
Kancolle Wiki
Random page
Recent changes
Batch Uploading
Current Mini-event
Naval District Saury Festival
Sortie
Sortie
World 1 (Naval Base Waters)
World 2 (Nansei Island Waters)
World 3 (Northern Waters)
World 7 (South Western Waters)
World 4 (Western Waters)
World 5 (Southern Waters)
World 6 (Central Waters)
Events
Shortcuts
Expeditions
Quests
Ships Maximum Status
Equipment
Construction
Development
Akashi's Improvement Arsenal
Shop
Inventory
Combat Mechanics
Glossary
Drop List
Interviews
Tutorials
How to Register
How To Play
Leveling
Resource Farming
Ship Priority
Equipment Setup
Akashi Upgrades
Event Preparation
Troubleshooting
FAQ
Community
Help
Sandbox
Tools
Upload file
Special pages
Printable version