- 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
Line 1:
Line 1:
+
+
Line 28:
Line 30:
+
Line 82:
Line 85:
− +
+
− +
+
no edit summary
local BaseData = require('Module:BaseData')
local BaseData = require('Module:BaseData')
local Artist = require('Module:Artist')
local Ship = require('Module:Ship')
local Ship = require('Module:Ship')
local VoiceActor = require('Module:VoiceActor')
local Formatting = require('Module:Formatting')
local Formatting = require('Module:Formatting')
_artist_header = "[[Glossary#List of Vessels by Artist|Artist]]",
_artist_header = "[[Glossary#List of Vessels by Artist|Artist]]",
_class_template = "[[:Category:${ship_class}|${ship_class}]]",
_class_template = "[[:Category:${ship_class}|${ship_class}]]",
_person_template = "${name} (${japanese_name})",
_normal_construction_label = "Normal",
_normal_construction_label = "Normal",
_large_ship_construction_label = "LSC",
_large_ship_construction_label = "LSC",
function ShipMetaKai:voice_actor()
function ShipMetaKai:voice_actor()
self._vars.voice_actor = Formatting:format_stat(self._ship:voice_actor())
local voice_actor = VoiceActor(self._ship:voice_actor())
self._vars.voice_actor = format{self._person_template, name = Formatting:format_link(voice_actor:link()), japanese_name = tostring(Formatting:japanese_text(Formatting:format_stat(voice_actor:japanese_name()), Formatting:format_stat(voice_actor:reading())))}
end
end
function ShipMetaKai:artist()
function ShipMetaKai:artist()
self._vars.artist = Formatting:format_stat(self._ship:artist())
local artist = Artist(self._ship:artist())
self._vars.artist = format{self._person_template, name = Formatting:format_link(artist:link()), japanese_name = tostring(Formatting:japanese_text(Formatting:format_stat(artist:japanese_name()), Formatting:format_stat(artist:reading())))}
end
end