Module:Lang: Difference between revisionsGive feedback
Gammaton32 (talk | contribs) highlight_spirit string processing |
Gammaton32 (talk | contribs) 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 | ||