Difference between revisions of "Template:Infobox"
From WikiTemp, the GBAtemp wiki
(Added image and below) |
m |
||
Line 10: | Line 10: | ||
GROUP 1 | GROUP 1 | ||
-->{{#if:{{{header1|}}}| | -->{{#if:{{{header1|}}}| | ||
+ | {{!}}- | ||
{{!}}colspan="2" style="font-weight:bold; text-align:center; background: #CCF; padding-top:4px; padding-bottom:4px;"{{!}}{{{header1|}}}}} | {{!}}colspan="2" style="font-weight:bold; text-align:center; background: #CCF; padding-top:4px; padding-bottom:4px;"{{!}}{{{header1|}}}}} | ||
{{#if:{{{data1|}}}| | {{#if:{{{data1|}}}| | ||
Line 19: | Line 20: | ||
GROUP 2 | GROUP 2 | ||
-->{{#if:{{{header2|}}}| | -->{{#if:{{{header2|}}}| | ||
+ | {{!}}- | ||
{{!}}colspan="2" style="font-weight:bold; text-align:center; background: #CCF; padding-top:4px; padding-bottom:4px;"{{!}}{{{header2|}}}}} | {{!}}colspan="2" style="font-weight:bold; text-align:center; background: #CCF; padding-top:4px; padding-bottom:4px;"{{!}}{{{header2|}}}}} | ||
{{#if:{{{data2|}}}| | {{#if:{{{data2|}}}| | ||
Line 28: | Line 30: | ||
GROUP 3 | GROUP 3 | ||
-->{{#if:{{{header3|}}}| | -->{{#if:{{{header3|}}}| | ||
+ | {{!}}- | ||
{{!}}colspan="2" style="font-weight:bold; text-align:center; background: #CCF; padding-top:4px; padding-bottom:4px;"{{!}}{{{header3|}}}}} | {{!}}colspan="2" style="font-weight:bold; text-align:center; background: #CCF; padding-top:4px; padding-bottom:4px;"{{!}}{{{header3|}}}}} | ||
{{#if:{{{data3|}}}| | {{#if:{{{data3|}}}| | ||
Line 37: | Line 40: | ||
GROUP 4 | GROUP 4 | ||
-->{{#if:{{{header4|}}}| | -->{{#if:{{{header4|}}}| | ||
+ | {{!}}- | ||
{{!}}colspan="2" style="font-weight:bold; text-align:center; background: #CCF; padding-top:4px; padding-bottom:4px;"{{!}}{{{header4|}}}}} | {{!}}colspan="2" style="font-weight:bold; text-align:center; background: #CCF; padding-top:4px; padding-bottom:4px;"{{!}}{{{header4|}}}}} | ||
{{#if:{{{data4|}}}| | {{#if:{{{data4|}}}| | ||
Line 46: | Line 50: | ||
GROUP 5 | GROUP 5 | ||
-->{{#if:{{{header5|}}}| | -->{{#if:{{{header5|}}}| | ||
+ | {{!}}- | ||
{{!}}colspan="2" style="font-weight:bold; text-align:center; background: #CCF; padding-top:4px; padding-bottom:4px;"{{!}}{{{header5|}}}}} | {{!}}colspan="2" style="font-weight:bold; text-align:center; background: #CCF; padding-top:4px; padding-bottom:4px;"{{!}}{{{header5|}}}}} | ||
{{#if:{{{data5|}}}| | {{#if:{{{data5|}}}| | ||
Line 55: | Line 60: | ||
GROUP 6 | GROUP 6 | ||
-->{{#if:{{{header6|}}}| | -->{{#if:{{{header6|}}}| | ||
+ | {{!}}- | ||
{{!}}colspan="2" style="font-weight:bold; text-align:center; background: #CCF; padding-top:4px; padding-bottom:4px;"{{!}}{{{header6|}}}}} | {{!}}colspan="2" style="font-weight:bold; text-align:center; background: #CCF; padding-top:4px; padding-bottom:4px;"{{!}}{{{header6|}}}}} | ||
{{#if:{{{data6|}}}| | {{#if:{{{data6|}}}| | ||
Line 64: | Line 70: | ||
GROUP 7 | GROUP 7 | ||
-->{{#if:{{{header7|}}}| | -->{{#if:{{{header7|}}}| | ||
+ | {{!}}- | ||
{{!}}colspan="2" style="font-weight:bold; text-align:center; background: #CCF; padding-top:4px; padding-bottom:4px;"{{!}}{{{header7|}}}}} | {{!}}colspan="2" style="font-weight:bold; text-align:center; background: #CCF; padding-top:4px; padding-bottom:4px;"{{!}}{{{header7|}}}}} | ||
{{#if:{{{data7|}}}| | {{#if:{{{data7|}}}| | ||
Line 73: | Line 80: | ||
GROUP 8 | GROUP 8 | ||
-->{{#if:{{{header8|}}}| | -->{{#if:{{{header8|}}}| | ||
+ | {{!}}- | ||
{{!}}colspan="2" style="font-weight:bold; text-align:center; background: #CCF; padding-top:4px; padding-bottom:4px;"{{!}}{{{header8|}}}}} | {{!}}colspan="2" style="font-weight:bold; text-align:center; background: #CCF; padding-top:4px; padding-bottom:4px;"{{!}}{{{header8|}}}}} | ||
{{#if:{{{data8|}}}| | {{#if:{{{data8|}}}| | ||
Line 82: | Line 90: | ||
GROUP 9 | GROUP 9 | ||
-->{{#if:{{{header9|}}}| | -->{{#if:{{{header9|}}}| | ||
+ | {{!}}- | ||
{{!}}colspan="2" style="font-weight:bold; text-align:center; background: #CCF; padding-top:4px; padding-bottom:4px;"{{!}}{{{header9|}}}}} | {{!}}colspan="2" style="font-weight:bold; text-align:center; background: #CCF; padding-top:4px; padding-bottom:4px;"{{!}}{{{header9|}}}}} | ||
{{#if:{{{data9|}}}| | {{#if:{{{data9|}}}| | ||
Line 91: | Line 100: | ||
GROUP 10 | GROUP 10 | ||
-->{{#if:{{{header10|}}}| | -->{{#if:{{{header10|}}}| | ||
+ | {{!}}- | ||
{{!}}colspan="2" style="font-weight:bold; text-align:center; background: #CCF; padding-top:4px; padding-bottom:4px;"{{!}}{{{header10|}}}}} | {{!}}colspan="2" style="font-weight:bold; text-align:center; background: #CCF; padding-top:4px; padding-bottom:4px;"{{!}}{{{header10|}}}}} | ||
{{#if:{{{data10|}}}| | {{#if:{{{data10|}}}| |
Revision as of 18:38, 21 December 2010
{{{title}}} |
↑ Template Documentation ↓ [Edit • Reload] | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
This template is used to create a basic information box on a specific page with the most important info. In most cases, this Template will be used in other Templates, rather than being placed on a page directly. Parameters
Anything that's not included will simply not be displayed. (Except for the title) Note that you can add data without a label, but not the other way around. Example Usage
{{InfoBox |title=MyInfoBox |image=Image:DSTWOtemp_Cart.jpg <!-- Or just DSTWOtemp_Cart.jpg without the "Image:" --> |imagesize=150px |imagecaption=GBAtemp DSTWO! |header1 = first header |label1 = first label |data1 = first data |data2 = second data without header and label |label3 = third label without data |header3 = third header without data |below = bottom text }}
| ||||||||||||||||
The above documentation was Transcluded from the /doc subpage |