Template:Article Information Box: Difference between revisions
Jump to navigation
Jump to search
(minimal correction) |
(Added left and right cell font color (default: black)) |
||
Line 3: | Line 3: | ||
<table width="{{{table_width|100%}}}" style="border: {{{table boarder|1px solid #aaaaaa}}};"> | <table width="{{{table_width|100%}}}" style="border: {{{table boarder|1px solid #aaaaaa}}};"> | ||
<tr valign="{{{table text align|middle}}}"> | <tr valign="{{{table text align|middle}}}"> | ||
<td style="background: {{{left cell bgcolor|#DFDFDF}}}; border-right: {{{table boarder|1px solid #aaaaaa}}}; font-size: {{{left cell font size|12px}}}; padding: {{{left cell padding|2px 4px 0 2px}}}; width: {{{left cell width|{{PageTitleTemplatesLeftAreaWidth}}}}}; white-space: nowrap;"> | <td style="background: {{{left cell bgcolor|#DFDFDF}}}; border-right: {{{table boarder|1px solid #aaaaaa}}}; color:{{{left cell font color|black}}}; font-size: {{{left cell font size|12px}}}; padding: {{{left cell padding|2px 4px 0 2px}}}; width: {{{left cell width|{{PageTitleTemplatesLeftAreaWidth}}}}}; white-space: nowrap;"> | ||
{{{left cell icon|[[File:Locked Screen.png]]}}} {{{left cell text|}}}</td> | {{{left cell icon|[[File:Locked Screen.png]]}}} {{{left cell text|}}}</td> | ||
<td style="background: {{{right cell bgcolor|#EFEFEF}}}; font-size: {{{right cell font size|12px}}}; padding: {{{right cell padding|1px 1em 0}}};"> | <td style="background: {{{right cell bgcolor|#EFEFEF}}}; color: {{{right cell font color|black}}}; font-size: {{{right cell font size|12px}}}; padding: {{{right cell padding|1px 1em 0}}};"> | ||
{{{right cell text|}}}</td> | {{{right cell text|}}}</td> | ||
<td style="background: {{{right cell bgcolor|#EFEFEF}}}; font-size: 8px; padding: 1px 5px 1px; width: 8px" align="right">[[Template:{{{class name|Article_Information_Box}}}|e]]</td> | <td style="background: {{{right cell bgcolor|#EFEFEF}}}; color: {{{right cell font color|black}}}; font-size: 8px; padding: 1px 5px 1px; width: 8px" align="right">[[Template:{{{class name|Article_Information_Box}}}|e]]</td> | ||
</tr></table></div></onlyinclude> | </tr></table></div></onlyinclude> | ||
Line 18: | Line 18: | ||
| table text align = (middle) | | table text align = (middle) | ||
| left cell bgcolor = (#DFDFDF) | | left cell bgcolor = (#DFDFDF) | ||
| left cell font color = (black) | |||
| left cell font size = (12px) | | left cell font size = (12px) | ||
| left cell padding = (2px 4px 0 2px) | | left cell padding = (2px 4px 0 2px) | ||
Line 24: | Line 25: | ||
| left cell text = | | left cell text = | ||
| right cell bgcolor = (#EFEFEF) | | right cell bgcolor = (#EFEFEF) | ||
| right cell font color= (black) | |||
| right cell font size = (12px) | | right cell font size = (12px) | ||
| right cell padding = (1px 1em 0) | | right cell padding = (1px 1em 0) |
Revision as of 03:10, 30 July 2010
Template
Syntax
{{Article Information Box | class name = (Article_Information_Box) | table width = (100) | table boarder = (1px solid #aaaaaa) | table text align = (middle) | left cell bgcolor = (#DFDFDF) | left cell font color = (black) | left cell font size = (12px) | left cell padding = (2px 4px 0 2px) | left cell width = ({{PageTitleTemplatesLeftAreaWidth}}) | left cell icon = ([[File:Locked Screen.png]]) | left cell text = | right cell bgcolor = (#EFEFEF) | right cell font color= (black) | right cell font size = (12px) | right cell padding = (1px 1em 0) | right cell text = }}
Example
{{Article Information Box | class = hallo | table width = 100% | table boarder = 10px solid #aaaaaa }}