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>{{{title|{{PAGENAME}}}}}</div><table>
{{#if:{{{image|}}}|
+
{{#if:{{{image|}}}|{{#if:{{{caption|}}}|<tr><td colspan="2">[[file:{{{image}}}|200px]]<span>{{{caption}}}</span></td></tr>|}}|}}
{{#if:{{{caption|}}}|
 
<tr><td colspan="2">[[file:{{{image}}}|200px]]
 
<span>{{{caption}}}</span>
 
<table>
 
</td></tr>
 
|}}|}}
 
  
 
{{#if:{{{label1|}}}|{{#if:{{{data1|}}}|<tr><td class="TemplateInfoBoxLabel">{{{label1}}}</td><td class="TemplateInfoBoxDate">{{{date1}}}</td></tr>|}}|}}
 
{{#if:{{{label1|}}}|{{#if:{{{data1|}}}|<tr><td class="TemplateInfoBoxLabel">{{{label1}}}</td><td class="TemplateInfoBoxDate">{{{date1}}}</td></tr>|}}|}}

Revision as of 11:23, May 26, 2012


InfoBox