• 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
m
Hopefully made the template mobile-friendly
Line 12: Line 12:  
_template = [[{|class="${table_class}" id="${table_id}" style="border: 1px solid darkgray; width: 380px; background-color: #fafafa;${float}"
 
_template = [[{|class="${table_class}" id="${table_id}" style="border: 1px solid darkgray; width: 380px; background-color: #fafafa;${float}"
 
|-
 
|-
| colspan="2" style="position: relative; padding: 10px 40px; text-align: center; background-color: ${back};${extra_style};" title="${rarity}" | <div style="position: absolute; right: 5px;">${edit_link}</div>
+
| colspan="2" id="kc-eq-namecard" style="position: relative; padding: 10px 40px; text-align: center; background-color: ${back};${extra_style};" title="${rarity}" | <div id="kc-eq-edit-link" style="position: absolute; right: 5px;">${edit_link}</div>
<div style="font-size: 20px;">'''${name}'''</div><div>${localized_name}</div>
+
<div id="kc-eq-en-name" style="font-size: 20px; margin:0 0 4px 0;">'''${name}'''</div>
<div>'''No.${id} ${japanese_name}'''</div>
+
<div id="kc-eq-local-name" style="margin:4px 0;">${localized_name}</div>
 +
<div id="kc-eq-jp-entry" style="margin:4px 0 0 0;">'''No.${id} ${japanese_name}'''</div>
 
|-
 
|-
| colspan="2" style="text-align: center; background-color: whitesmoke;" |
+
| colspan="2" id="kc-eq-statscard" style="text-align: center; background-color: whitesmoke;" |
<div>${icon} <b>${eq_type}</b>${eq_group}<br />
+
<div id="kc-eq-category" style="margin:0 0 4px 0;">${icon} <b>${eq_type}</b>${eq_group}</div>
<b>Effects: ${effects}</b>${flight_stats}</div>
+
<div id="kc-eq-effects" style="margin:4px 0;"><b>Effects: ${effects}</b>${flight_stats}</div>
<p>'''Scrap value: ${scrap}''' (${buildable})</p>${alternative_names}  
+
<div id="kc-eq-scrap" style="margin:4px 0 0 0;">'''Scrap value: ${scrap}''' (${buildable})</div>
 +
<div id="kc-eq-alts" style="margin:4px 0 0 0;">${alternative_names}</div>
 
|-
 
|-
| colspan="2" style="text-align: center;" | ${card}
+
| colspan="2" id="kc-eq-pictures" style="text-align: center;" | ${card}
 
|-
 
|-
| colspan="2" style="text-align: center; background-color: LightSkyBlue;" | '''Refittable Class'''
+
| colspan="2" id="kc-eq-fits" style="text-align: center; background-color: LightSkyBlue;" | '''Refittable Class'''
 
${compatibility_details}${bonus_details}
 
${compatibility_details}${bonus_details}
 
|}]],
 
|}]],
 
     _bonus_header = [=[|-
 
     _bonus_header = [=[|-
| colspan="2" style="text-align: center; background-color: LightSkyBlue;" | '''Bonus'''${category}]=],
+
| colspan="2" id="kc-eq-bonus" style="text-align: center; background-color: LightSkyBlue;" | '''Bonus'''${category}]=],
 
     _bonus_row = [=[|-
 
     _bonus_row = [=[|-
 
| style="width: 190px; text-align: center;" | ${text}
 
| style="width: 190px; text-align: center;" | ${text}
Line 40: Line 42:  
--|}]],
 
--|}]],
 
_row_starter = "|-",
 
_row_starter = "|-",
_compatibility_cell = [[| style="width: 190px; text-align: center; background-color: ${bg_color};" | ${label}]],
+
_compatibility_cell = [[| style="width: 190px; text-align: center; background-color: ${bg_color};" | <div style="background-color: ${bg_color};">${label}</div>]],
_localized_name_template = "<p>''${localized_name}''</p>",
+
_localized_name_template = "''${localized_name}''",
_flight_stats_template = [[<br/><b>Combat Radius: ${combat_radius}</b> (Deployment Cost: ${deployment_cost})]],
+
_flight_stats_template = [[<b>Combat Radius: ${combat_radius}</b> (Deployment Cost: ${deployment_cost})]],
 
_alternative_names_template = [[  
 
_alternative_names_template = [[  
 
|-
 
|-
Anonymous user

Navigation menu