Minecraft Wiki
mNo edit summary
(some cleanup/optimization (it shouldn't change any actual behavior))
Line 1: Line 1:
  +
{{ #if: {{{title|}}}
{{#if: {{lc: {{{title||yes}}} }} | <div style="position: relative; width: 600px; margin: 0 auto; background-color: #fcfcfc; border: 1px solid #ccc; border-bottom: 5px groove #999999; border-right:5px groove #999999; text-align: center; padding: 0.4em;"> |
 
{{!}} colspan="{{{span|1}}}" style="background: #FCFCFC; border: 1px solid #ccc; vertical-align: top; {{{css|width: 33%;}}}" {{!}}
+
| <div 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%;}}}" {{!}}
<div class="mcwiki-header" style="margin: 3px; font-weight: bold; text-align: center; font-size: 120%; {{{headercss|}}}">{{#if: {{{image|}}} | <div style="float: right;">[[Image:{{{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;">[[File:{{{image}}}|48px{{ #if: {{{link|}}} | {{!}}link={{{link}}} }}]]</div> }} {{{header}}}</div>
<div style="padding: 0em 1em;"> }}
+
<div style="padding: 0em 1em;">
  +
}}
 
{{{content}}}
 
{{{content}}}
{{#if: {{lc: {{{title||yes}}} }} | </div><br /> | </div> }}<noinclude>
+
</div>{{ #if: {{{title|}}} | <br /> }}<noinclude>
 
[[Category:Formatting templates]]</noinclude>
 
[[Category:Formatting templates]]</noinclude>

Revision as of 06:48, 3 August 2012

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

{{{header}}}

{{{content}}}