Difference between revisions of "Template:infobox"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m (Added attribution to Wikipedia)
(Added style directly (instead of a template class))
Line 1: Line 1:
{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; {{#if:{{{float|}}}|float: {{{float}}}; clear: {{#ifeq:{{{float|}}}|none|both|{{{float}}}}}; margin: 0 0 1em 1em;}} {{{bodystyle|}}}"><!--
+
{{#ifeq:{{{child|}}}|yes||<table class="{{{bodyclass|}}}" cellspacing="5" style="background-color: #F9F9F9; border: 1px solid #AAAAAA; clear: right; color: black; float: right; font-size: 88%; line-height: 1.5em; margin: 0.5em 0 0.5em 1em; padding: 0.2em; text-align: left; width:22em; {{#if:{{{float|}}}|float: {{{float}}}; clear: {{#ifeq:{{{float|}}}|none|both|{{{float}}}}}; margin: 0 0 1em 1em;}} {{{bodystyle|}}}"><!--
 
  Caption
 
  Caption
 
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{title}}}</caption>}}<!--
 
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{title}}}</caption>}}<!--

Revision as of 01:44, 3 August 2012

This page is copied from Wikipedia's Template:Infobox.