Template:Infobox

From Spring
Revision as of 03:44, 20 December 2012 by Enetheru (talk | contribs) (centre'd the infobox.)
Jump to navigationJump to search

A template for displaying information in a coloured box with optional icon

Usage:

{{infobox}}

result:

{|style="margin-top:15px; background:rgba(200,200,255,0.5); border: 1px solid rgba(0,0,0,0.5); border-radius: 12px 12px 12px 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.3), inset 0 1px 2px rgba(255,255,255,0.5), inset 0 10px 8px rgba(255,255,255,0.3);" cellpadding="5"

| rowspan=2 | ! style="font-size:large" |title |- | body

|}


Usage:

{{infobox|title=My Info Box|color=rgba(0,0,0,1)|icon=Springlobby 64.png|icon-size=48
|body=chuck content here}}

result:

{|style="margin-top:15px; background:rgba(0,0,0,1); border: 1px solid rgba(0,0,0,0.5); border-radius: 12px 12px 12px 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.3), inset 0 1px 2px rgba(255,255,255,0.5), inset 0 10px 8px rgba(255,255,255,0.3);" cellpadding="5"

| rowspan=2 | ! style="font-size:large" |My Info Box |- | chuck content here

|}