Template:Infobox stat: Difference between revisions

Sur (talk | contribs)
mNo edit summary
Sur (talk | contribs)
m maxwidth 800 to 550
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="text-align: center;"> <!-- Centering the whole content -->
<div style="text-align: center; max-width: 550px;"> <!-- Centering the whole content -->
     <div style="
     <div style="
         background: linear-gradient(135deg, rgba({{{box_rgb}}}, 0.5), rgba({{{box_rgb}}}, 0.1));
         background: linear-gradient(135deg, rgba({{{box_rgb}}}, 0.5), rgba({{{box_rgb}}}, 0.1));
Line 16: Line 16:
         ">
         ">
             <!-- Label to the left of Icon -->
             <!-- Label to the left of Icon -->
             <div style="font-family: 'Retail Demo', sans-serif; font-size: 2em; margin-right: 5px;"><b>{{Lang|key={{{box_name}}}}}</b></div>
             <div style="font-family: 'Retail Demo', sans-serif; font-size: 2em; margin-right: 5px;"><b>{{#invoke:Lang|get_string|{{{box_name}}}}}</b></div>
             [[File:{{Lang|key={{{box_name}}}|lang_code=en}}_icon.png|40px|center|link=]]
             [[File:{{#invoke:Lang|get_string|{{{box_name}}}|lang_code_override=en}}_icon.png|40px|center|link=]]
         </div>
         </div>
     </div>
     </div>