Template:Infobox: Difference between revisions
From Spring
Jump to navigationJump to search
m updating... hope this works. |
m ahh, borked it, and fixed it. |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{|style="margin-top:15px; background:{{{color|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" | <includeonly><center> | ||
{|style="margin-top:15px; background:{{{color|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 | [[Image:{{{icon|172px-Symbol comment vote.svg.png}}}|{{{icon-size|48}}}px]] | |||
! style="font-size:large" |{{{title|title}}} | |||
|- | |- | ||
| {{{body|body}}} | |||
|{{{body|body}}} | |}</center></includeonly><noinclude> | ||
|}</includeonly><noinclude> | |||
A template for displaying information in a coloured box with optional icon | A template for displaying information in a coloured box with optional icon | ||
| Line 11: | Line 12: | ||
result: | result: | ||
{{infobox}} | {{infobox}} | ||
'''Usage:''' | '''Usage:''' | ||
<pre>{{infobox|title=My Info Box | <pre>{{infobox|title=My Info Box|color=rgba(0,0,0,1)|icon=Springlobby 64.png|icon-size=48 | ||
|body=chuck content here}}</pre> | |||
result: | result: | ||
{{infobox|title=My Info Box | {{infobox|title=My Info Box|color=rgba(0,0,0,1)|icon=Springlobby 64.png|icon-size=48 | ||
|body=chuck content here}} | |||