Changes

m
use format_external_link instead of format_link >_>
Line 86: Line 86:  
function ShipMetaKai:voice_actor()
 
function ShipMetaKai:voice_actor()
 
local voice_actor = VoiceActor(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())))}
+
self._vars.voice_actor = format{self._person_template, name = Formatting:format_external_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()
 
local artist = Artist(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())))}
+
self._vars.artist = format{self._person_template, name = Formatting:format_external_link(artist:link()), japanese_name = tostring(Formatting:japanese_text(Formatting:format_stat(artist:japanese_name()), Formatting:format_stat(artist:reading())))}
 
end
 
end
  
Anonymous user