Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:NanaminFunctions
(view source)
Revision as of 22:28, 7 May 2015
18 bytes added
,
9 years ago
m
no edit summary
Line 166:
Line 166:
end
end
−
function NanaminFunctions.shorten_name(name)
+
function NanaminFunctions.shorten_name(
page,
name)
--This takes an equipment name listed on Sandbox/EquipmentListKai/TypeSorted
--This takes an equipment name listed on Sandbox/EquipmentListKai/TypeSorted
--and switches it with a shorter version of the name.
--and switches it with a shorter version of the name.
Line 267:
Line 267:
}
}
−
return shortened[name] or name
+
return
page,
shortened[name] or
page,
name
end
end
return NanaminFunctions
return NanaminFunctions
Nanamin
48
edits