Template:Infobox: Difference between revisions
From Screamer Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{| border="1" align="right" cellspacing="0" cellpadding="3" style="border:1px solid | {| border="1" align="right" cellspacing="0" cellpadding="3" style="border:1px solid black; float:right; width:300px; background:#ffffff; color:black; margin:0px 0px 15px 15px; border-collapse:collapse;" | ||
|- | |- | ||
|height="32" colspan="2" align="center" style="background: #A62E10;"| | |height="32" colspan="2" align="center" style="background: #A62E10;"| | ||
Line 5: | Line 5: | ||
{{#if: {{{Image file|}}}| | {{#if: {{{Image file|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}}colspan="2" align="center" valign="top" style="background: # | {{!}}colspan="2" align="center" valign="top" style="background: #1A1A1A;"{{!}} | ||
[[Image:{{{Image file}}}|{{{Image size}}}px]] | [[Image:{{{Image file}}}|{{{Image size}}}px]] | ||
| | | | ||
Line 12: | Line 12: | ||
|height="32" Width="30%" valign="top" style="background: #A62E10;"| | |height="32" Width="30%" valign="top" style="background: #A62E10;"| | ||
<div style="top:+0.2em;font-size: 95%">'''{{{Row 1 title|No Title}}}'''</div> | <div style="top:+0.2em;font-size: 95%">'''{{{Row 1 title|No Title}}}'''</div> | ||
|valign="top" style="background: # | |valign="top" style="background: #1A1A1A;"| | ||
<div style="top:+0.2em;font-size: 95%">{{{Row 1 info|No information}}}</div> | <div style="top:+0.2em;font-size: 95%">{{{Row 1 info|No information}}}</div> | ||
{{#if: {{{Row 2 title|}}}| | {{#if: {{{Row 2 title|}}}| | ||
Line 18: | Line 18: | ||
{{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}} | {{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}} | ||
<div style="top:+0.2em;font-size: 95%">'''{{{Row 2 title}}}'''</div> | <div style="top:+0.2em;font-size: 95%">'''{{{Row 2 title}}}'''</div> | ||
{{!}}valign="top" style="background: # | {{!}}valign="top" style="background: #1A1A1A;"{{!}} | ||
<div style="top:+0.2em;font-size: 95%">{{{Row 2 info|No information}}}</div> | <div style="top:+0.2em;font-size: 95%">{{{Row 2 info|No information}}}</div> | ||
{{#if: {{{Row 3 title|}}}| | {{#if: {{{Row 3 title|}}}| | ||
Line 24: | Line 24: | ||
{{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}} | {{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}} | ||
<div style="top:+0.2em;font-size: 95%">'''{{{Row 3 title}}}'''</div> | <div style="top:+0.2em;font-size: 95%">'''{{{Row 3 title}}}'''</div> | ||
{{!}}valign="top" style="background: # | {{!}}valign="top" style="background: #1A1A1A;"{{!}} | ||
<div style="top:+0.2em;font-size: 95%">{{{Row 3 info|No information}}}</div> | <div style="top:+0.2em;font-size: 95%">{{{Row 3 info|No information}}}</div> | ||
{{#if: {{{Row 4 title|}}}| | {{#if: {{{Row 4 title|}}}| | ||
Line 30: | Line 30: | ||
{{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}} | {{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}} | ||
<div style="top:+0.2em;font-size: 95%">'''{{{Row 4 title}}}'''</div> | <div style="top:+0.2em;font-size: 95%">'''{{{Row 4 title}}}'''</div> | ||
{{!}}valign="top" style="background: # | {{!}}valign="top" style="background: #1A1A1A;"{{!}} | ||
<div style="top:+0.2em;font-size: 95%">{{{Row 4 info|No information}}}</div> | <div style="top:+0.2em;font-size: 95%">{{{Row 4 info|No information}}}</div> | ||
{{#if: {{{Row 5 title|}}}| | {{#if: {{{Row 5 title|}}}| | ||
Line 36: | Line 36: | ||
{{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}} | {{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}} | ||
<div style="top:+0.2em;font-size: 95%">'''{{{Row 5 title}}}'''</div> | <div style="top:+0.2em;font-size: 95%">'''{{{Row 5 title}}}'''</div> | ||
{{!}}valign="top" style="background: # | {{!}}valign="top" style="background: #1A1A1A;"{{!}} | ||
<div style="top:+0.2em;font-size: 95%">{{{Row 5 info|No information}}}</div> | <div style="top:+0.2em;font-size: 95%">{{{Row 5 info|No information}}}</div> | ||
{{#if: {{{Row 6 title|}}}| | {{#if: {{{Row 6 title|}}}| | ||
Line 42: | Line 42: | ||
{{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}} | {{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}} | ||
<div style="top:+0.2em;font-size: 95%">'''{{{Row 6 title}}}'''</div> | <div style="top:+0.2em;font-size: 95%">'''{{{Row 6 title}}}'''</div> | ||
{{!}}valign="top" style="background: # | {{!}}valign="top" style="background: #1A1A1A;"{{!}} | ||
<div style="top:+0.2em;font-size: 95%">{{{Row 6 info|No information}}}</div> | <div style="top:+0.2em;font-size: 95%">{{{Row 6 info|No information}}}</div> | ||
{{#if: {{{Row 7 title|}}}| | {{#if: {{{Row 7 title|}}}| | ||
Line 48: | Line 48: | ||
{{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}} | {{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}} | ||
<div style="top:+0.2em;font-size: 95%">'''{{{Row 7 title}}}'''</div> | <div style="top:+0.2em;font-size: 95%">'''{{{Row 7 title}}}'''</div> | ||
{{!}}valign="top" style="background: # | {{!}}valign="top" style="background: #1A1A1A;"{{!}} | ||
<div style="top:+0.2em;font-size: 95%">{{{Row 7 info|No information}}}</div> | <div style="top:+0.2em;font-size: 95%">{{{Row 7 info|No information}}}</div> | ||
{{#if: {{{Row 8 title|}}}| | {{#if: {{{Row 8 title|}}}| | ||
Line 54: | Line 54: | ||
{{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}} | {{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}} | ||
<div style="top:+0.2em;font-size: 95%">'''{{{Row 8 title}}}'''</div> | <div style="top:+0.2em;font-size: 95%">'''{{{Row 8 title}}}'''</div> | ||
{{!}}valign="top" style="background: # | {{!}}valign="top" style="background: #1A1A1A;"{{!}} | ||
<div style="top:+0.2em;font-size: 95%">{{{Row 8 info|No information}}}</div> | <div style="top:+0.2em;font-size: 95%">{{{Row 8 info|No information}}}</div> | ||
{{#if: {{{Row 9 title|}}}| | {{#if: {{{Row 9 title|}}}| | ||
Line 60: | Line 60: | ||
{{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}} | {{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}} | ||
<div style="top:+0.2em;font-size: 95%">'''{{{Row 9 title}}}'''</div> | <div style="top:+0.2em;font-size: 95%">'''{{{Row 9 title}}}'''</div> | ||
{{!}}valign="top" style="background: # | {{!}}valign="top" style="background: #1A1A1A; border: 1px solid #aaaaaa"{{!}} | ||
<div style="top:+0.2em;font-size: 95%">{{{Row 9 info|No information}}}</div> | <div style="top:+0.2em;font-size: 95%">{{{Row 9 info|No information}}}</div> | ||
{{#if: {{{Row 10 title|}}}| | {{#if: {{{Row 10 title|}}}| | ||
Line 66: | Line 66: | ||
{{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}} | {{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}} | ||
<div style="top:+0.2em;font-size: 95%">'''{{{Row 10 title}}}'''</div> | <div style="top:+0.2em;font-size: 95%">'''{{{Row 10 title}}}'''</div> | ||
{{!}}valign="top" style="background: # | {{!}}valign="top" style="background: #1A1A1A;"{{!}} | ||
<div style="top:+0.2em;font-size: 95%">{{{Row 10 info|No information}}}</div> | <div style="top:+0.2em;font-size: 95%">{{{Row 10 info|No information}}}</div> | ||
{{#if: {{{Row 11 title|}}}| | {{#if: {{{Row 11 title|}}}| |
Revision as of 10: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.