Template:3D Table: Difference between revisions
Jump to navigation
Jump to search
(Created page with '<noinclude> == Template == ;Description :Creates a table designed to look good when used with {{t|3D Cell}}s. A default text color can be specified using the color= parameter; i…') |
No edit summary |
||
Line 26: | Line 26: | ||
|} | |} | ||
</noinclude><includeonly>{| style="background: #000; border: 4px #000 solid; border-spacing: 0; color: {{{color|white}}}; font-size: 90%;{{{css|}}}" cellspacing="0" {{#if: {{{class|}}}|class={{{class|}}}|}}</includeonly><noinclude> | </noinclude><includeonly>{| style="background: #000; border: 4px #000 solid; border-spacing: 0; color: {{{color|white}}}; font-size: 90%;{{{css|}}}" cellspacing="0" {{#if: {{{class|}}}|class={{{class|}}}|}}</includeonly><noinclude> | ||
</noinclude> | </noinclude> |
Latest revision as of 00:59, 26 April 2010
Template
- Description
- Creates a table designed to look good when used with {{3D Cell}}s. A default text color can be specified using the color= parameter; if it is missing, text will be white. Additional CSS can be applied using the optional css= parameter. Additional HTML attributes can be specified after the template.
- Syntax
- {{3D Table|<color=>|<css=>|<class=>}}
- Example
{{3D Table|css=border-top-width: 0;}} | style="text-align:center;font-weight:bold" colspan="2" | Example |- {{3D Cell|height=2px}} A cell with some text in it. {{3D Cell|height=2px}} A second cell. |- {{3D Cell|height=2px|join=right}} Two cells {{3D Cell|height=2px|join=left}} joined together. |}
- Result
Example | |
A cell with some text in it. | A second cell. |
Two cells | joined together. |