Minecraft Wiki
(add an optional class)
(prevent text from getting too close to the image)
Line 2: Line 2:
 
| <div class="{{{class|}}}" style="position: relative; width: 600px; margin: 0 auto; background-color: #fcfcfc; border: 1px solid #ccc; border-bottom: 5px groove #999; border-right:5px groove #999; text-align: center; padding: 0.4em;">
 
| <div class="{{{class|}}}" style="position: relative; width: 600px; margin: 0 auto; background-color: #fcfcfc; border: 1px solid #ccc; border-bottom: 5px groove #999; border-right:5px groove #999; text-align: center; padding: 0.4em;">
 
| {{!}} colspan="{{{span|1}}}" style="background: #fcfcfc; border: 1px solid #ccc; vertical-align: top; {{{css|width: 33%;}}}" {{!}}
 
| {{!}} colspan="{{{span|1}}}" style="background: #fcfcfc; border: 1px solid #ccc; vertical-align: top; {{{css|width: 33%;}}}" {{!}}
<div class="mcwiki-header" style="margin: 3px; font-weight: bold; text-align: center; font-size: 120%; {{{headercss|}}}">{{ #if: {{{image|}}} | <div style="float: right;">[[File:{{{image}}}|48px{{ #if: {{{link|}}} | {{!}}link={{{link}}} }}]]</div> }} {{{header}}}</div>
+
<div class="mcwiki-header" style="margin: 3px; font-weight: bold; text-align: center; font-size: 120%; {{{headercss|}}}">{{ #if: {{{image|}}} | <div style="float: right; margin-left: 0.4em;">[[File:{{{image}}}|48px{{ #if: {{{link|}}} | {{!}}link={{{link}}} }}]]</div> }} {{{header}}}</div>
 
<div class="{{{class|}}}" style="padding: 0em 1em;">
 
<div class="{{{class|}}}" style="padding: 0em 1em;">
 
}}
 
}}

Revision as of 07:10, 3 August 2012

| colspan="1" style="background: #fcfcfc; border: 1px solid #ccc; vertical-align: top; width: 33%;" |

{{{header}}}

{{{content}}}