Editing Template:Infobox statGive feedback
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: | ||
<includeonly> | <includeonly> | ||
<div | <div class="stat-box"> | ||
<div class="stat-box-content" 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)); | ||
box-shadow: inset 0 0 0 4px rgba({{{box_rgb}}}, 0.9); | box-shadow: inset 0 0 0 4px rgba({{{box_rgb}}}, 0.9); | ||
"> | "> | ||
<!-- Centered Icon and Label --> | |||
[[File:{{Lang|key={{{box_name}}}|lang_code=en}}_icon.png|40px|center|class=stat-box-icon|link=]] | |||
<div class="stat-box-label">{{Lang|key={{{box_name}}}}}</div> | |||
</div> | |||
</div> | </div> | ||
<div style=" | <div class="stat-box-hover" style=" | ||
background: linear-gradient(135deg, rgba({{{box_rgb}}}, 0.5), rgba({{{box_rgb}}}, 0.25)); | background: linear-gradient(135deg, rgba({{{box_rgb}}}, 0.5), rgba({{{box_rgb}}}, 0.25)); | ||
"> | "> | ||
<!-- Table inside hidden box --> | <!-- Table inside hidden box --> | ||
<table class="stat-box-table"> | |||
{{#invoke: TableGenerator | generateHtmlTable | cols={{{num_cols}}} | only_body=true | class=Statbox_hero | cell_values={{{cell_values}}} }} | |||
</table> | |||
</div> | </div> | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||