Template:Infobox: Difference between revisions
From Screamer Wiki
No edit summary |
(Infobox updated using the portable infobox migration tool) |
||
Line 1: | Line 1: | ||
<infobox> | |||
<data source="Box title"><label>Box title</label><default>No Title</default></data> | |||
<data source="Image file"><label>Image file</label></data> | |||
<data source="Image size"><label>Image size</label></data> | |||
<data source="Row 1 title"><label>Row 1 title</label><default>No Title</default></data> | |||
<data source="Row 1 info"><label><div style="top:+0.2em;font-size: 95%">'''{{{Row 1 title|No Title}}}'''</div></label><default>No information</default></data> | |||
<data source="Row 2 title"><label>Row 2 title</label></data> | |||
<data source="Row 2 info"><label>Row 2 info</label><default>No information</default></data> | |||
<data source="Row 3 title"><label>Row 3 title</label></data> | |||
<data source="Row 3 info"><label>Row 3 info</label><default>No information</default></data> | |||
<data source="Row 4 title"><label>Row 4 title</label></data> | |||
<data source="Row 4 info"><label>Row 4 info</label><default>No information</default></data> | |||
<data source="Row 5 title"><label>Row 5 title</label></data> | |||
<data source="Row 5 info"><label>Row 5 info</label><default>No information</default></data> | |||
<data source="Row 6 title"><label>Row 6 title</label></data> | |||
<data source="Row 6 info"><label>Row 6 info</label><default>No information</default></data> | |||
<data source="Row 7 title"><label>Row 7 title</label></data> | |||
<data source="Row 7 info"><label>Row 7 info</label><default>No information</default></data> | |||
<data source="Row 8 title"><label>Row 8 title</label></data> | |||
<data source="Row 8 info"><label>Row 8 info</label><default>No information</default></data> | |||
<data source="Row 9 title"><label>Row 9 title</label></data> | |||
<data source="Row 9 info"><label>Row 9 info</label><default>No information</default></data> | |||
<data source="Row 10 title"><label>Row 10 title</label></data> | |||
<data source="Row 10 info"><label>Row 10 info</label><default>No information</default></data> | |||
<data source="Row 11 title"><label>Row 11 title</label></data> | |||
</infobox> | |||
<noinclude> | |||
{| border="1" align="right" cellspacing="0" cellpadding="3" style="border:1px solid #7a7a7a; float:right; width:300px; background:#ffffff; color:black; margin:0px 0px 15px 15px; border-collapse:collapse;" | {| border="1" align="right" cellspacing="0" cellpadding="3" style="border:1px solid #7a7a7a; float:right; width:300px; background:#ffffff; color:black; margin:0px 0px 15px 15px; border-collapse:collapse;" | ||
|- | |- |
Revision as of 20:44, 20 December 2015
No Title
| |
No Title
|
No information
|
Usage
Syntax:
{{Infobox
|Box title =
|Image file =
|Image size =
|Row 1 title =
|Row 1 info =
|Row 2 title =
|Row 2 info =
|Row 3 title =
|Row 3 info =
|Row 4 title =
|Row 4 info =
|Row 5 title =
|Row 5 info =
|Row 6 title =
|Row 6 info =
|Row 7 title =
|Row 7 info =
|Row 8 title =
|Row 8 info =
|Row 9 title =
|Row 9 info =
|Row 10 title =
|Row 10 info =
}}
Notes:
- Keeping the Box Title empty will result in displaying No title
- If you don't want to display image, just keep Image file Name and Image Size empty.
- Keeping the Row 1 title empty will result in displaying No title.
- Keeping the Row (any row) info empty will result in displaying No information.
- Keeping the Row (any below row 1) title empty will result in that row and the rest of the rows below it will not be displayed.
- Max row for information: 10 rows.
Usage examples are here: Template talk:Infobox.