Difference between revisions of "Template:Infobox"

From London Hackspace Wiki
Jump to navigation Jump to search
m (202 revisions)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="3" style="
+
{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="3" style="border-spacing: 3px; width:22em; {{{bodystyle|}}}"><!--
border: 1px solid #AAA;
 
background-color: #F9F9F9;
 
color: black;
 
margin: 0.5em 0 0.5em 1em;
 
padding: 0.2em;
 
float: right;
 
clear: right;
 
text-align: left;
 
font-size: 88%;
 
line-height: 1.5em;
 
border-spacing: 3px; width:22em; {{{bodystyle|}}}"><!--
 
 
  Caption
 
  Caption
 
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{title}}}</caption>}}<!--
 
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{title}}}</caption>}}<!--
Line 43: Line 32:
 
  |class={{{imageclass|}}}
 
  |class={{{imageclass|}}}
 
  |rowclass={{{imagerowclass2|}}}
 
  |rowclass={{{imagerowclass2|}}}
 +
}} }}<!--
 +
Image3
 +
-->{{#if:{{{image3|}}}|{{Infobox/row
 +
|data={{{image3}}}{{#if:{{{caption3|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption3}}}</span>}}
 +
|datastyle={{{imagestyle|}}}
 +
|class={{{imageclass|}}}
 +
|rowclass={{{imagerowclass3|}}}
 
}} }}<!--
 
}} }}<!--
 
-->{{Infobox/row
 
-->{{Infobox/row
Line 540: Line 536:
 
  |class={{{class99|}}}  |rowclass={{{rowclass99|}}}
 
  |class={{{class99|}}}  |rowclass={{{rowclass99|}}}
 
}}<!-- Below
 
}}<!-- Below
-->{{#if:{{{below|}}}|<tr><td colspan="2" class="{{{belowclass|}}}" style="text-align:center; {{{belowstyle|}}}">{{{below}}}</td></tr>}}<!--
+
-->{{#if:{{{below|}}}|<tr><td colspan="2" class="{{{belowclass|}}}" style="text-align:center; {{{belowstyle|}}}">
 +
{{{below}}}
 +
</td></tr>}}<!--
 
  Navbar
 
  Navbar
 
-->{{#if:{{{name|}}}|<tr><td colspan="2" style="text-align:right">{{navbar|{{{name}}}|mini=1}}</td></tr>}}
 
-->{{#if:{{{name|}}}|<tr><td colspan="2" style="text-align:right">{{navbar|{{{name}}}|mini=1}}</td></tr>}}

Latest revision as of 12:03, 29 April 2013

[view] [edit] [history] [purge] Documentation icon Template documentation

Template:Infobox/doc