User:Gammaton32/HeroRosterCard: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Gammaton32 (talk | contribs) No edit summary |
Gammaton32 (talk | contribs) No edit summary |
||
| Line 2: | Line 2: | ||
<templatestyles src="Infobox_hero/themes.css" /> | <templatestyles src="Infobox_hero/themes.css" /> | ||
<onlyinclude> | <onlyinclude> | ||
{{#vardefine:quotemark|"}} | |||
{{#vardefine:hero|{{#invoke:Lang|get_string|{{{key}}}|lang_code_override=en}}}}<!-- | {{#vardefine:hero|{{#invoke:Lang|get_string|{{{key}}}|lang_code_override=en}}}}<!-- | ||
--><div style="display:inline-block; margin: 15px 10px | --><div class="nav-bg" style="display:inline-block; margin: 15px 10px; max-width:400px; box-sizing: border-box; border-radius: 20px;"> | ||
{|- style="table-layout: fixed | {|- style="table-layout: fixed; text-align:center; border-collapse:collapse; font-size: 12px; color:#000000; font-family:'Valve Pulp','Retail Demo Regular','Open Sans', 'PT Serif','Palatino','Georgia',serif;" | ||
| {{If lang | |||
| <!-- 1st Parameter: English/Default --> | | <!-- 1st Parameter: English/Default --> | ||
<div>{{#ifeq: {{{no_name|}}}|true|'''[[{{{hero_link|{{#var:hero}}}}}|<span style=color:#000000>{{{hero_loc|{{#var:hero}}}}}</span>]]'''|{{Template:Icon/Black|[[File:{{#var:hero}}_name.png|x40px|link={{#var:hero}}]]}}}}</div> | <div>{{#ifeq: {{{no_name|}}}|true|'''[[{{{hero_link|{{#var:hero}}}}}|<span style=color:#000000>{{{hero_loc|{{#var:hero}}}}}</span>]]'''|{{Template:Icon/Black|[[File:{{#var:hero}}_name.png|x40px|link={{#var:hero}}]]}}}}</div> | ||
| <!-- 2nd Parameter: Other Languages --> | | <!-- 2nd Parameter: Other Languages --> | ||
'''[[{{{hero_link|{{#var:hero}}}}}{{If_lang}}|<span style=color:#000000>{{{hero_loc|{{#var:hero}}}}}</span>]]''' | '''[[{{{hero_link|{{#var:hero}}}}}{{If_lang}}|<span style=color:#000000>{{{hero_loc|{{#var:hero}}}}}</span>]]''' | ||
}} | }} <div class="HeroCard2 hide-parent-td-mobile" style="height: 280px; display: flex; align-items: center; justify-content: center; transition: 0.08s transform ease-in-out;">[[File:{{#var:hero}} Render.png|270x280px|link={{#var:hero}}{{If_lang}}]]</div> | ||
|- style="font-size: clamp(14px, 1.8vw, 25px); color:#000000; text-align:center; font-weight:bold;" | |||
|{{#ifeq: {{{no_tags|}}}|true | |||
|- style=" | ||<div class{{=}}{{#var:quotemark}}infobox-h-herotags {{#var:hero}}{{#var:quotemark}} style="font-size:20px; text-align: center;"> | ||
<div><div class{{=}}"infobox-h-herotag-back"></div><div class{{=}}"infobox-h-herotag-text">{{#invoke:HeroData|get_hero_tag|{{#var:hero}}|1}}</div></div> | |||
<div><div class{{=}}"infobox-h-herotag-back"></div><div class{{=}}"infobox-h-herotag-text">{{#invoke:HeroData|get_hero_tag|{{#var:hero}}|2}}</div></div> | |||
<div><div class{{=}}"infobox-h-herotag-back"></div><div class{{=}}"infobox-h-herotag-text">{{#invoke:HeroData|get_hero_tag|{{#var:hero}}|3}}</div></div> | |||
</div>|}} | |||
|- style="font-size:14px; color:#000000; height:50px; text-align:center;" | |||
| {{AbilityCircle|name={{{Ability1|{{#invoke:Abilities|get_ability_name|{{{key|hero_atlas}}}|1}}}}}|iconsize=48|bgsize=69}} {{AbilityCircle|name={{{Ability2|{{#invoke:Abilities|get_ability_name|{{{key|hero_atlas}}}|2}}}}}|iconsize=48|bgsize=69}} {{AbilityCircle|name={{{Ability3|{{#invoke:Abilities|get_ability_name|{{{key|hero_atlas}}}|3}}}}}|iconsize=48|bgsize=69}} {{AbilityCircle|name={{{Ability4|{{#invoke:Abilities|get_ability_name|{{{key|hero_atlas}}}|4}}}}}|iconsize=48|bgsize=69}} | |||
|} | |} | ||
</div></onlyinclude> | </div></onlyinclude> | ||
Revision as of 02:20, 4 May 2026