Difference between revisions of "Template:InfoBox"

From Casio Universal Wiki
Jump to: navigation, search
Line 3: Line 3:
 
<div id="TemplateInfoBox">
 
<div id="TemplateInfoBox">
  
<div>{{{title|{{PAGENAME}}}}}</div>
+
<div {{#if:{{{TitleStyle|}}}| style="{{{TitleStyle}}}"}}>{{{title|{{PAGENAME}}}}}</div>
  
<table>{{#if:{{{image|}}}|{{#if:{{{caption|}}}|<tr><td id="TemplateInfoBoxImage" colspan="2">[[file:{{{image}}}]]<br/><span>{{{caption}}}</span></td></tr>|}}|}}<!--
+
<table {{#if:{{{TableStyle|}}}| style="{{{TableStyle}}}"}}>{{{title|{{PAGENAME}}}}}><!--
 +
-->{{#if:{{{image|}}}|{{#if:{{{caption|}}}|<tr><td id="TemplateInfoBoxImage" colspan="2">[[file:{{{image}}}]]<br/><span>{{{caption}}}</span></td></tr>|}}|}}<!--
 
-->{{#if:{{{label1|}}}|{{#if:{{{data1|}}}|<tr><td class="TemplateInfoBoxLabel">{{{label1}}}</td><td class="TemplateInfoBoxDate">{{{data1}}}</td></tr>|}}|}}<!--
 
-->{{#if:{{{label1|}}}|{{#if:{{{data1|}}}|<tr><td class="TemplateInfoBoxLabel">{{{label1}}}</td><td class="TemplateInfoBoxDate">{{{data1}}}</td></tr>|}}|}}<!--
 
-->{{#if:{{{label2|}}}|{{#if:{{{data2|}}}|<tr><td class="TemplateInfoBoxLabel">{{{label2}}}</td><td class="TemplateInfoBoxDate">{{{data2}}}</td></tr>|}}|}}<!--
 
-->{{#if:{{{label2|}}}|{{#if:{{{data2|}}}|<tr><td class="TemplateInfoBoxLabel">{{{label2}}}</td><td class="TemplateInfoBoxDate">{{{data2}}}</td></tr>|}}|}}<!--

Revision as of 14:30, May 26, 2012


InfoBox