• 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
Add strict support for other names
Line 1,161: Line 1,161:  
equip._page = equip._common_name
 
equip._page = equip._common_name
 
end
 
end
 +
end
 +
if equip._localized_strict_name and equip._localized_name then
 +
equip._localized_common_name = equip._localized_name
 +
equip._localized_name = tostring(mw.html.create('span'):addClass(self._mobile_hide_class):addClass(self._strict_translation_class):css(self._display_none_css):wikitext(equip._localized_strict_name))
 +
.. tostring(mw.html.create('span'):addClass(self._common_translation_class):wikitext(equip._localized_common_name))
 +
end
 +
if equip._list_strict_name and equip._list_name then
 +
equip._list_common_name = equip._list_name
 +
equip._list_name = tostring(mw.html.create('span'):addClass(self._mobile_hide_class):addClass(self._strict_translation_class):css(self._display_none_css):wikitext(equip._list_strict_name))
 +
.. tostring(mw.html.create('span'):addClass(self._common_translation_class):wikitext(equip._list_common_name))
 +
end
 +
if equip._list_localized_strict_name and equip._list_localized_name then
 +
equip._list_localized_common_name = equip._list_localized_name
 +
equip._list_localized_name = tostring(mw.html.create('span'):addClass(self._mobile_hide_class):addClass(self._strict_translation_class):css(self._display_none_css):wikitext(equip._list_localized_strict_name))
 +
.. tostring(mw.html.create('span'):addClass(self._common_translation_class):wikitext(equip._list_localized_common_name))
 +
end
 +
if equip._comparison_strict_name and equip._comparison_name then
 +
equip._comparison_common_name = equip._comparison_name
 +
equip._comparison_name = tostring(mw.html.create('span'):addClass(self._mobile_hide_class):addClass(self._strict_translation_class):css(self._display_none_css):wikitext(equip._comparison_strict_name))
 +
.. tostring(mw.html.create('span'):addClass(self._common_translation_class):wikitext(equip._comparison_common_name))
 +
end
 +
if equip._comparison_localized_strict_name and equip._comparison_localized_name then
 +
equip._comparison_localized_common_name = equip._comparison_localized_name
 +
equip._comparison_localized_name = tostring(mw.html.create('span'):addClass(self._mobile_hide_class):addClass(self._strict_translation_class):css(self._display_none_css):wikitext(equip._comparison_localized_strict_name))
 +
.. tostring(mw.html.create('span'):addClass(self._common_translation_class):wikitext(equip._comparison_localized_common_name))
 +
end
 +
if equip._library_strict_name and equip._library_name then
 +
equip._library_common_name = equip._library_name
 +
equip._library_name = tostring(mw.html.create('span'):addClass(self._mobile_hide_class):addClass(self._strict_translation_class):css(self._display_none_css):wikitext(equip._library_strict_name))
 +
.. tostring(mw.html.create('span'):addClass(self._common_translation_class):wikitext(equip._library_common_name))
 +
end
 +
if equip._library_localized_strict_name and equip._library_localized_name then
 +
equip._library_localized_common_name = equip._library_localized_name
 +
equip._library_localized_name = tostring(mw.html.create('span'):addClass(self._mobile_hide_class):addClass(self._strict_translation_class):css(self._display_none_css):wikitext(equip._library_localized_strict_name))
 +
.. tostring(mw.html.create('span'):addClass(self._common_translation_class):wikitext(equip._library_localized_common_name))
 +
end
 +
if equip._card_strict_name and equip._card_name then
 +
equip._card_common_name = equip._card_name
 +
equip._card_name = tostring(mw.html.create('span'):addClass(self._mobile_hide_class):addClass(self._strict_translation_class):css(self._display_none_css):wikitext(equip._card_strict_name))
 +
.. tostring(mw.html.create('span'):addClass(self._common_translation_class):wikitext(equip._card_common_name))
 +
end
 +
if equip._card_localized_strict_name and equip._card_localized_name then
 +
equip._card_localized_common_name = equip._card_localized_name
 +
equip._card_localized_name = tostring(mw.html.create('span'):addClass(self._mobile_hide_class):addClass(self._strict_translation_class):css(self._display_none_css):wikitext(equip._card_localized_strict_name))
 +
.. tostring(mw.html.create('span'):addClass(self._common_translation_class):wikitext(equip._card_localized_common_name))
 
end
 
end
 
return equip
 
return equip
Anonymous user

Navigation menu