Difference between revisions of "Template:Infobox/doc"
From WikiTemp, the GBAtemp wiki
(Docu) |
m (Reverted edits by 109.230.216.60 (talk) to last revision by Tj cool) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 16: | Line 16: | ||
* data2 - Data of the second group | * data2 - Data of the second group | ||
* ... | * ... | ||
− | * | + | * header15 - Header of the fifteenth group |
− | * | + | * label15 - Label of the fifteenth group |
− | * | + | * data15 - Data of the fifteenth group |
* below - Text to appear on the bottom | * below - Text to appear on the bottom | ||
Line 26: | Line 26: | ||
==Example Usage== | ==Example Usage== | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{InfoBox | {{InfoBox | ||
− | |title=MyInfoBox | + | |title=MyInfoBox |
− | |image=Image:DSTWOtemp_Cart.jpg | + | |image=Image:DSTWOtemp_Cart.jpg |
− | |imagesize=150px | + | |imagesize=150px |
− | |imagecaption=GBAtemp DSTWO! | + | |imagecaption=GBAtemp DSTWO! |
− | |header1 = | + | |header1 = first header |
− | |label1 = first label | + | |label1 = first label |
− | |data1 = first data | + | |data1 = first data |
− | |data2 = second data without header and label | + | |data2 = second data without header and label |
− | |label3 = third label without data | + | |label3 = third label without data |
− | |header3 = third header without data | + | |header3 = third header without data |
− | |below = bottom text}} | + | |below = bottom text |
+ | }} | ||
+ | |||
+ | <div style="overflow:auto;"><pre>{{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 | ||
+ | }}</pre></div> |
Latest revision as of 20:47, 15 February 2012
This is the documentation page of Template:Infobox. Please add the documentation for this Template below. |
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
- title - The title of the box.
- image - An image that appears directly under the title.
- imagesize - Width of the image (default 200px).
- imagecaption - Optional caption that appears below the image
- header1 - Header of the first group
- label1 - Label of the first group
- data1 - Data of the first group
- header2 - Header of the second group
- label2 - Label of the second group
- data2 - Data of the second group
- ...
- header15 - Header of the fifteenth group
- label15 - Label of the fifteenth group
- data15 - Data of the fifteenth group
- below - Text to appear on the bottom
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
MyInfoBox | |
GBAtemp DSTWO! | |
first header | |
first label | first data |
second data without header and label | |
third header without data | |
bottom text |
{{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 }}