Template:Infobox hero: Difference between revisions

fixed name display for heroes without name image
Samlovesmath (talk | contribs)
feature changes: stat tables default to expanded; stat table headers now wrap for certain languages (ex. Russian)
Line 68: Line 68:
|-
|-
! colspan="2" class="infobox-h-subsection infobox-h-dropdown infobox-h-dropdown-weapon" |
! colspan="2" class="infobox-h-subsection infobox-h-dropdown infobox-h-dropdown-weapon" |
{| class="mw-collapsible mw-collapsed infobox-h-subsection-child"
{| class="mw-collapsible infobox-h-subsection-child"
|+ class="infobox-h-dropdown-header" | [[Stats{{If_lang}}#Weapon|<span class="infotext-h-bold infobox-h-dropdown-title">{{#invoke:Lang|get_string|CitadelHeroStats_Weapon}}</span>]]
|+ class="infobox-h-dropdown-header {{#ifeq:{{If_lang}}|/ru|infobox-h-dropdown-header-overflow}}" | [[Stats{{If_lang}}#Weapon|<span class="infotext-h-bold infobox-h-dropdown-title">{{#invoke:Lang|get_string|CitadelHeroStats_Weapon}}</span>]]
|-<!--
|-<!--
---- Damage per second ---->
---- Damage per second ---->
Line 121: Line 121:
|-
|-
! colspan="2" class="infobox-h-subsection infobox-h-dropdown infobox-h-dropdown-vitality" |
! colspan="2" class="infobox-h-subsection infobox-h-dropdown infobox-h-dropdown-vitality" |
{| class="mw-collapsible mw-collapsed infobox-h-subsection-child"
{| class="mw-collapsible infobox-h-subsection-child"
|+ class="infobox-h-dropdown-header" | [[Stats#Vitality|<span class="infotext-h-bold infobox-h-dropdown-title">{{#invoke:Lang|get_string|CitadelHeroStats_Vitality}}</span>]]
|+ class="infobox-h-dropdown-header" | [[Stats#Vitality|<span class="infotext-h-bold infobox-h-dropdown-title">{{#invoke:Lang|get_string|CitadelHeroStats_Vitality}}</span>]]
|-
|-
Line 186: Line 186:
|-
|-
! colspan="2" class="infobox-h-subsection infobox-h-dropdown infobox-h-dropdown-spirit" |
! colspan="2" class="infobox-h-subsection infobox-h-dropdown infobox-h-dropdown-spirit" |
{| class="mw-collapsible mw-collapsed infobox-h-subsection-child"
{| class="mw-collapsible infobox-h-subsection-child"
|+ class="infobox-h-dropdown-header" | [[Stats#Vitality|<span class="infotext-h-bold infobox-h-dropdown-title">{{#invoke:Lang|get_string|CitadelHeroStats_Spirit}}</span>]]
|+ class="infobox-h-dropdown-header" | [[Stats#Vitality|<span class="infotext-h-bold infobox-h-dropdown-title">{{#invoke:Lang|get_string|CitadelHeroStats_Spirit}}</span>]]
|-
|-