Module:Lang: Difference between revisions

Jump to navigation Jump to search
highlight_spirit string processing
added panel replacement
Line 69: Line 69:
     text = text:gsub('<span class="diminish">(.-)</span>', '<span style="font-style: italic;color:#C0C0C0">%1</span>')
     text = text:gsub('<span class="diminish">(.-)</span>', '<span style="font-style: italic;color:#C0C0C0">%1</span>')
     text = text:gsub('<span class=".-">(.-)</span>', '%1')
     text = text:gsub('<span class=".-">(.-)</span>', '%1')
   
    -- Process panels
    text = text:gsub('<Panel class=\"AbilityPropertyIcon prop_tech_damage\">', '{{Icon/Purple|[[File:AttributeIconTechShieldHealth.png|link=Spirit Damage|12px]]}}')
      
      
     -- Process citadel_inline_attribute tags
     -- Process citadel_inline_attribute tags