Module:Lang: Difference between revisions

added panel replacement
more panel definitions
Line 72: Line 72:
     -- Process panels
     -- Process panels
     text = text:gsub('<Panel class=\"AbilityPropertyIcon prop_tech_damage\">', '{{Icon/Purple|[[File:AttributeIconTechShieldHealth.png|link=Spirit Damage|12px]]}}')
     text = text:gsub('<Panel class=\"AbilityPropertyIcon prop_tech_damage\">', '{{Icon/Purple|[[File:AttributeIconTechShieldHealth.png|link=Spirit Damage|12px]]}}')
    text = text:gsub('<Panel class=\"AbilityPropertyIcon prop_slow\">', '{{Icon/White|[[File:MoveSlow.png|link=Movement_Slow|20px]]}}')
    text = text:gsub('<Panel class=\"AbilityPropertyIcon prop_move_speed\">', '{{Icon/White|[[File:Move_speed.png|link=Move speed|20px]]}}')
    text = text:gsub('<Panel class=\"AbilityPropertyIcon prop_damage\">', '{{Icon/Brown|[[File:Damage.png|link=Weapon Damage|20px]]}}')
    text = text:gsub('<Panel class=\"AbilityPropertyIcon prop_cooldown\">', '{{Icon/White|[[File:AttributeIconTechDuration.png|link=Ability Cooldown|20px]]}}')
    text = text:gsub('<Panel class=\"AbilityPropertyIcon prop_bullet_damage\">', '{{Icon/Brown|[[File:Damage.png|link=Weapon Damage|20px]]}}')
    text = text:gsub('<Panel class=\"AbilityPropertyIcon prop_fire_rate\">', '{{Icon/White|[[File:Fire_Rate.png|link=Fire Rate|20px]]}}')
    text = text:gsub('<Panel class=\"AbilityPropertyIcon prop_stun\">', '{{Icon/White|[[File:Stun.png|link=Fire Rate|20px]]}}')
    text = text:gsub('<Panel class=\"AbilityPropertyIcon prop_invisible\">', '{{Icon/White|[[File:Invisible.png|link=|20px]]}}')
    text = text:gsub('<Panel class=\"AbilityPropertyIcon prop_cast\">', '{{Icon/White|[[File:Cast.png|link=|20px]]}}')
    text = text:gsub('<Panel class=\"AbilityPropertyIcon prop_silence\">', '{{Icon/White|[[File:Silence.png|link=|20px]]}}')
    text = text:gsub('<Panel class=\"AbilityPropertyIcon prop_revealed\">', '{{Icon/White|[[File:Revealed.png|link=|20px]]}}')
    text = text:gsub('<Panel class=\"AbilityPropertyIcon prop_StatDesc_TechPower\">', '{{Icon/Purple|[[File:AttributeIconTechShieldHealth.png|link=Spirit Damage|12px]]}}')
    text = text:gsub('<Panel class=\"AbilityPropertyIcon prop_bullet_armor_up\">', '{{Icon/White|[[File:Barrier.png|link=Barrier|20px]]}}')
    text = text:gsub('<Panel class=\"AbilityPropertyIcon prop_tech_armor_up\">', '{{Icon/White|[[File:Barrier.png|link=Barrier|20px]]}}')
      
      
     -- Process citadel_inline_attribute tags
     -- Process citadel_inline_attribute tags