Editing Template:HeroRosterCard

Jump to navigation Jump to search
Warning: You are not logged in. Once you make an edit, a temporary account will be created for you. Learn more. Log in or create an account to continue receiving notifications after this account expires, and to access other features.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
<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 class="nav-bg" style="display:inline-block; margin: 3px 5px; max-width:300px; border-radius: 20px;">
--><div style="display:inline-block; margin: 15px 10px; width: 100%; max-width: 720px; box-sizing: border-box;">
{|- style="table-layout: fixed; text-align:center; font-size: 12px; margin:10px; font-family:'Valve Occult','Retail Demo Regular','Open Sans', 'PT Serif','Palatino','Georgia',serif;"
{|- style="table-layout: fixed; width: 100%; text-align:left; background-image: linear-gradient(30deg, #e8be86, #fdf5e8); border-collapse:collapse; border-radius: 55px; font-size: 12px; color:#000000; font-family:'Valve Pulp','Retail Demo Regular','Open Sans', 'PT Serif','Palatino','Georgia',serif;"
|{{Template:Icon/White|{{If lang
| rowspan="3" style="width: 38%; min-width: 120px; overflow: hidden;" | <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="text-align:center; background-color: #FCEED4; height:45px; font-size: clamp(24px, 5vw, 40px); color:#000000; line-height:8px; vertical-align: middle; border-top-right-radius: 55px;" colspan="2" | {{If lang
   | <!-- 1st Parameter: English/Default -->
   | <!-- 1st Parameter: English/Default -->
     <div>{{#ifexist:File:{{#var:hero}}_name.svg|[[File:{{#var:hero}}_name.svg|x35px|link={{{name|{{#var:hero}}}}}]]|[[{{{hero_link|{{#var:hero}}}}}|<span style=font-size:40px>{{{hero_loc|{{#var:hero}}}}}</span>]]}}</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 -->
     <div>{{#ifexist:File:{{#var:hero}}_name_{{#invoke:Lang|get_lang_code}}.svg|[[File:{{#var:hero}}_name_{{#invoke:Lang|get_lang_code}}.svg|x35px|link={{#var:hero}}{{If lang}}]]|[[{{{hero_link|{{#var:hero}}{{If lang}}}}}|<span style=font-size:40px>{{{hero_loc|{{#invoke:Lang|get_string|{{{key}}}}}}}}</span>]]}}</div>
     '''[[{{{hero_link|{{#var:hero}}}}}{{If_lang}}|<span style=color:#000000>{{{hero_loc|{{#var:hero}}}}}</span>]]'''
}}}} <div class="HeroRosterCard" style="height:250px; display: flex; align-items: center; justify-content: center;">[[File:{{#var:hero}} Render.png|270x250px|link={{#var:hero}}{{If_lang}}]]</div>
}}
|-
|- style="background-color: #FCEED4; font-size: clamp(14px, 1.8vw, 25px); color:#000000; height:5px; text-align:center; font-weight:bold;"
|<span style="height:75px; display: flex; align-items: center; justify-content: center;">{{#ifeq: {{{no_tags|}}}|true
| colspan="2" | {{#ifeq: {{{no_tags|}}}|true||{{#invoke:HeroData|get_hero_tag|{{#var:hero}}|1}} - {{#invoke:HeroData|get_hero_tag|{{#var:hero}}|2}} - {{#invoke:HeroData|get_hero_tag|{{#var:hero}}|3}}}}
||{{Infobox hero tags|key={{{key}}}|size=0.85|align=center}}|}}</span>
|- style="background-color:#FCEED4; font-size:14px; color:#000000; height:50px; text-align:center; border-bottom-right-radius: 55px;"
|-
| colspan="2" | {{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}}
|<span style="height:70px; display: flex; align-items: center; justify-content: center;"><!--
--><span style>{{AbilityCircle|name={{{Ability1|{{#invoke:Abilities|get_ability_name|{{{key|hero_atlas}}}|1|lang=en}}}}}|iconsize=40|bgsize=55|link={{If lang|{{{hero_link|{{#var:hero}}}}}#Abilities|{{{hero_link|{{#var:hero}}}}}{{If_lang}}}}}}</span><!--
-->{{AbilityCircle|name={{{Ability2|{{#invoke:Abilities|get_ability_name|{{{key|hero_atlas}}}|2|lang=en}}}}}|iconsize=40|bgsize=55|link={{If lang|{{{hero_link|{{#var:hero}}}}}#Abilities|{{{hero_link|{{#var:hero}}}}}{{If_lang}}}}}}<!--
-->{{AbilityCircle|name={{{Ability3|{{#invoke:Abilities|get_ability_name|{{{key|hero_atlas}}}|3|lang=en}}}}}|iconsize=40|bgsize=55|link={{If lang|{{{hero_link|{{#var:hero}}}}}#Abilities|{{{hero_link|{{#var:hero}}}}}{{If_lang}}}}}}<!--
-->{{AbilityCircle|name={{{Ability4|{{#invoke:Abilities|get_ability_name|{{{key|hero_atlas}}}|4|lang=en}}}}}|iconsize=40|bgsize=55|link={{If lang|{{{hero_link|{{#var:hero}}}}}#Abilities|{{{hero_link|{{#var:hero}}}}}{{If_lang}}}}}}</span>
|-
|<span style="color:#ffefd7; font-family:Retail Demo, Open Sans; font-weight:bold; font-size:1.1em"><span style="font-size:1.3em">{{#invoke:HeroData|get_hero_var|{{{key|hero_atlas}}}|DPS|2}}</span> {{#invoke:Lang|get_string|DPS_label}}</span>
|}
|}
</div></onlyinclude>
</div></onlyinclude>
<noinclude>
 
 
{{HeroRosterCard
{{HeroRosterCard
|key=hero_bebop
|key=hero_bebop
}}{{HeroRosterCard
}}
{{HeroRosterCard
|key=hero_dynamo
|key=hero_dynamo
}}{{HeroRosterCard
}}
{{HeroRosterCard
|key=hero_orion
|key=hero_orion
}}{{HeroRosterCard
}}
{{HeroRosterCard
|key=hero_haze
|key=hero_haze
}}
}}
{{Documentation}}</noinclude>
<noinclude>
<templatedata>
{
"params": {
"lang": {
"description": "Language of descriptions. Optional.",
"example": "English",
"default": "English"
},
"hero_link": {
"description": "Link for hero page. Optional",
"example": "Abrams"
},
"hero_loc": {
"description": "Override hero name. Optional.",
"example": "Abrams"
},
"Ability1": {
"description": "The name of the character's first ability.",
"example": "Siphon Life"
},
"Ability2": {
"description": "The name of the character's second ability.",
"example": "Shoulder Charge",
"default": "Shoulder Charge"
},
"Ability3": {
"description": "The name of the character's third ability.",
"example": "Infernal Resilience",
"default": "Infernal Resilience"
},
"Ability4": {
"description": "The name of the character's ultimate.",
"example": "Seismic Impact",
"default": "Seismic Impact"
},
"key": {
"description": "Internal name of the Hero, used to fill all parameters.",
"example": "hero_atlas, hero_bebop",
"required": true
},
"no_name": {
"description": "Use plain text for hero name instead of image (localized names don't use image by default)",
"type": "boolean",
"default": "true"
},
"no_tags": {
"description": "Don't use hero tags",
"type": "boolean",
"default": "true"
}
},
"paramOrder": [
"key",
"lang",
"hero_link",
"hero_loc",
"Ability1",
"Ability2",
"Ability3",
"Ability4",
"no_name",
"no_tags"
]
}
</templatedata>
</noinclude>
Please note that all contributions to The Deadlock Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see Deadlock:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)
Preview page with this template

This page is a member of a hidden category: