Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:ShipPage
(view source)
Revision as of 07:41, 14 November 2017
20 bytes added
,
6 years ago
m
no edit summary
Line 284:
Line 284:
local name, suffix = Ship:process_ship_key(form.name)
local name, suffix = Ship:process_ship_key(form.name)
suffix = suffix or ""
suffix = suffix or ""
−
local title = form.seasonal and (form.season_suffix or suffix) or suffix == "" and name == ship_name and "Base" or suffix
+
local title = form.seasonal and (form.season_suffix or suffix) or suffix == "" and
(
name == ship_name and "Base"
or name)
or suffix
if not first_seasonal and form.seasonal then
if not first_seasonal and form.seasonal then
first_seasonal = true
first_seasonal = true
Line 330:
Line 330:
local name, suffix = Ship:process_ship_key(form.name)
local name, suffix = Ship:process_ship_key(form.name)
suffix = suffix or ""
suffix = suffix or ""
−
local title = form.seasonal and suffix or suffix == "" and name == ship_name and "Base" or suffix
+
local title = form.seasonal and suffix or suffix == "" and
(
name == ship_name and "Base"
or name)
or suffix
table.insert(result, "{{!}}-{{!}}" .. title .. "=")
table.insert(result, "{{!}}-{{!}}" .. title .. "=")
if form.normal and form.damaged then
if form.normal and form.damaged then
がか
cssedit, gkautomate
7,060
edits