Changes
mLine 14:
Line 14:
− <div id="kc-eq-local-name" style="margin:4px 0;">${localized_name}</div>+
Line 20:
Line 20:
− +
− <div id="kc-eq-alts" style="margin:4px 0 0 0;">${alternative_names}</div>+
Line 43:
Line 43:
− +
− _localized_name_template = "''${localized_name}''",+
− +
− +
Nope, doesn't work
| 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>
| 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 id="kc-eq-en-name" style="font-size: 20px; margin:0 0 4px 0;">'''${name}'''</div>
<div id="kc-eq-en-name" style="font-size: 20px; margin:0 0 4px 0;">'''${name}'''</div>
${localized_name}
<div id="kc-eq-jp-entry" style="margin:4px 0 0 0;">'''No.${id} ${japanese_name}'''</div>
<div id="kc-eq-jp-entry" style="margin:4px 0 0 0;">'''No.${id} ${japanese_name}'''</div>
|-
|-
<div id="kc-eq-category" style="margin:0 0 4px 0;">${icon} <b>${eq_type}</b>${eq_group}</div>
<div id="kc-eq-category" style="margin:0 0 4px 0;">${icon} <b>${eq_type}</b>${eq_group}</div>
<div id="kc-eq-effects" style="margin:4px 0;"><b>Effects: ${effects}</b></div>
<div id="kc-eq-effects" style="margin:4px 0;"><b>Effects: ${effects}</b></div>
<div id=""kc-eq-flights">${flight_stats}</div>
<div id="kc-eq-flights">${flight_stats}</div>
<div id="kc-eq-scrap" style="margin:4px 0 0 0;">'''Scrap value: ${scrap}''' (${buildable})</div>
<div id="kc-eq-scrap" style="margin:4px 0 0 0;">'''Scrap value: ${scrap}''' (${buildable})</div>
${alternative_names}
|-
|-
| colspan="2" id="kc-eq-pictures" style="text-align: center;" | ${card}
| colspan="2" id="kc-eq-pictures" style="text-align: center;" | ${card}
--|}]],
--|}]],
_row_starter = "|-",
_row_starter = "|-",
_compatibility_cell = [[| style="width: 190px; text-align: center; background-color: ${bg_color};" | <div style="background-color: ${bg_color};">${label}</div>]],
_compatibility_cell = [[| style="width: 190px; text-align: center; background-color: ${bg_color};" | ${label}]],
_localized_name_template = [[<div id="kc-eq-local-name" style="margin:4px 0;">${localized_name}</div>]],
_flight_stats_template = [[<b>Combat Radius: ${combat_radius}</b> (Deployment Cost: ${deployment_cost})]],
_flight_stats_template = [[<div id="kc-eq-flights"><b>Combat Radius: ${combat_radius}</b> (Deployment Cost: ${deployment_cost})</div>]],
_alternative_names_template = [[
_alternative_names_template = [[
|-
|-
| colspan="2" style="text-align: center; padding: 0px;" | <div class="mw-collapsible mw-collapsed" style="background-color: lightgrey; margin: 0px;">''Alternate names''<div class="mw-collapsible-content" style="background-color: whitesmoke;">
| colspan="2" id="kc-eq-altnames" style="text-align: center; padding: 0px;" | <div class="mw-collapsible mw-collapsed" style="background-color: lightgrey; margin: 0px;">''Alternate names''<div class="mw-collapsible-content" style="background-color: whitesmoke;">
${names}
${names}
</div></div>]],
</div></div>]],