Difference between revisions of "Template:Infobox3cols/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Redrose64
(add provision for |child=yes)
imported>Davykamanzi
m
Line 1: Line 1:
{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5"  style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; {{{bodystyle|}}}"><!--
+
{{#if:{{{child|}}}||<table class="infobox {{{bodyclass|}}}" cellspacing="5"  style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; {{{bodystyle|}}}"><!--
 
  Caption
 
  Caption
 
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size: 125%; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!--
 
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size: 125%; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!--

Revision as of 06:49, 30 April 2014

Template:Infobox3cols/rowTemplate:Infobox3cols/row
50px Template documentation

This is a (hopefully) temporary fork of {{infobox}} which provides an option for up to three data attributes per row, in addition to a label: dataxa, dataxb and dataxc. Rows with more than one data item also have the additional "multidatastyle" attribute applied, which can be used to reduce line height et cetera.