Difference between revisions of "Template:InfoBox"
From Casio Universal Wiki
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | |||
<div id="TemplateInfoBox"> | <div id="TemplateInfoBox"> | ||
− | |||
<div {{#if:{{{TitleStyle|}}}| style="{{{TitleStyle}}}"}}>{{{title|{{PAGENAME}}}}}</div> | <div {{#if:{{{TitleStyle|}}}| style="{{{TitleStyle}}}"}}>{{{title|{{PAGENAME}}}}}</div> | ||
− | |||
<table {{#if:{{{TableStyle|}}}| style="{{{TableStyle}}}"}}><!-- | <table {{#if:{{{TableStyle|}}}| style="{{{TableStyle}}}"}}><!-- | ||
− | |||
-->{{#if:{{{image|}}}|{{#if:{{{caption|}}}|<tr><td id="TemplateInfoBoxImage" colspan="2">[[file:{{{image}}}|{{{ImageSize}}}px|{{#if:{{{ImageLink|}}}|link={{{ImageLink}}}}}]]<br/><!-- | -->{{#if:{{{image|}}}|{{#if:{{{caption|}}}|<tr><td id="TemplateInfoBoxImage" colspan="2">[[file:{{{image}}}|{{{ImageSize}}}px|{{#if:{{{ImageLink|}}}|link={{{ImageLink}}}}}]]<br/><!-- | ||
--><span {{#if:{{{CaptionStyle|}}}| style="{{{CaptionStyle}}}"}}>{{{caption}}}</span></td></tr>|}}|}}<!-- | --><span {{#if:{{{CaptionStyle|}}}| style="{{{CaptionStyle}}}"}}>{{{caption}}}</span></td></tr>|}}|}}<!-- | ||
− | |||
-->{{#if:{{{label1|}}}|{{#if:{{{data1|}}}|<tr><td class="TemplateInfoBoxLabel" {{#if:{{{LabelStyle1|}}}| style="{{{LabelStyle1}}}"}}>{{{label1}}}</td><!-- | -->{{#if:{{{label1|}}}|{{#if:{{{data1|}}}|<tr><td class="TemplateInfoBoxLabel" {{#if:{{{LabelStyle1|}}}| style="{{{LabelStyle1}}}"}}>{{{label1}}}</td><!-- | ||
--><td class="TemplateInfoBoxDate" {{#if:{{{DataStyle1|}}}| style="{{{DataStyle1}}}"}}>{{{data1}}}</td></tr>|}}|}}<!-- | --><td class="TemplateInfoBoxDate" {{#if:{{{DataStyle1|}}}| style="{{{DataStyle1}}}"}}>{{{data1}}}</td></tr>|}}|}}<!-- | ||
Line 220: | Line 215: | ||
|label2=Date of creation | |label2=Date of creation | ||
|data2=26.05.12}} | |data2=26.05.12}} | ||
− | The InfoBox lets you create a table to display the general technical information about the subject of the page | + | The InfoBox lets you create a table to display the general technical information about the subject of the page, as on the right. |
+ | |||
+ | == InfoBox Dedicated == | ||
+ | This type of InfsoBox is dedicated to a theme. If you find the name of your page in these subjects prefer this type of InfsoBo rather than personalized. | ||
+ | [[:Category:InfoBox_Dedicated|list of InfoBox Dedicated]] | ||
+ | |||
+ | == Personalized InfoBox == | ||
+ | === Minimal call === | ||
+ | You do not need to specify parameters: | ||
+ | <pre>{{InfoBox}}</pre> | ||
+ | Result: <div style="width:auto;">{{InfoBox}}</div> | ||
</noinclude> | </noinclude> |
Revision as of 06:17, May 27, 2012
The InfoBox lets you create a table to display the general technical information about the subject of the page, as on the right.
InfoBox Dedicated
This type of InfsoBox is dedicated to a theme. If you find the name of your page in these subjects prefer this type of InfsoBo rather than personalized. list of InfoBox Dedicated
Personalized InfoBox
Minimal call
You do not need to specify parameters:
{{InfoBox}}Result:
InfoBox