Template:WeaponCard: Difference between revisions

fix fonts, bold,
Gammaton32 (talk | contribs)
reduced margin again
 
(3 intermediate revisions by 2 users not shown)
Line 7: Line 7:
-->{{#vardefine:hero_en|{{{1}}}}}<!-- en
-->{{#vardefine:hero_en|{{{1}}}}}<!-- en
-->}}<!--
-->}}<!--
--><div style="display:inline-block; margin: 15px 10px 15px 0px; width:660px; max-width:85%;">
--><div style="display:inline-block; margin: 0px 0px 0px 0px; width:660px; max-width:85%;">
{|- style="border-radius:10px;text-align:center; background-image: linear-gradient(#180E02, #30220C); border-collapse:collapse; font-size:16px; font-family:'Retail Demo Regular', 'PT Serif','Palatino',serif;"
{|- style="border-radius:10px;text-align:center; background-image: linear-gradient(#180E02, #30220C); border-collapse:collapse; font-size:16px; font-family:'Retail Demo Regular', 'PT Serif','Palatino',serif;"
| style="width:350px; max-width:40%; color:#CDBFAB;" | {{#invoke:Lang|get_string|CitadelHeroStats_Weapon}}
| style="width:350px; max-width:40%; color:#CDBFAB;" | {{#invoke:Lang|get_string|CitadelHeroStats_Weapon}}
| rowspan="3" style="bottom:50px;" | <div style="display:inline-block; position:relative;">{{#ifeq:{{{ph|}}}|true|[[File:Placeholder Weapon.png|320x200px|link=]]|[[File:{{#var:hero_en}} Weapon.png|320x200px|link=]]}} <div style="position:absolute; bottom:0px; right:0px;><div style="position:relative; color:#FFEFD7;">
| rowspan="3" style="bottom:50px;" | <div style="display:inline-block; position:relative;">{{#ifexist:File:{{#var:hero_en}} Weapon.png|[[File:{{#var:hero_en}} Weapon.png|320x200px|link=]]|[[File:Placeholder Weapon.png|320x200px|link=]]}} <div style="position:absolute; bottom:0px; right:0px;><div style="position:relative; color:#FFEFD7;">
{|- style="background-color:rgba(0, 0, 0, 0.4); width:120px; font-family:'Retail Demo Regular',serif;"
{|- style="background-color:rgba(0, 0, 0, 0.4); width:120px; font-family:'Retail Demo Regular',serif;"
|colspan="2" |{{#invoke:Lang|get_string|CitadelHeroStats_Weapon_Falloff}}
|colspan="2" |{{#invoke:Lang|get_string|CitadelHeroStats_Weapon_Falloff}}
Line 21: Line 21:
</div>
</div>
|-
|-
| style="text-align:center; font-family: 'Retail Demo Bold',serif; font-weight:bold; color:#FFEFD7; height:20px; font-size:25px; line-height:8px;" | {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|WeaponName|true}}
| style="text-align:center; font-family: 'Retail Demo Bold',serif; font-weight:bold; color:#FFEFD7; height:20px; font-size:25px;" | {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|WeaponName|true}}
|-
|-
|
|