Template:STDT
Versione del 18 ott 2022 alle 12:57 di MusPuiDiTe (discussione | contributi) (Creata pagina con "{{#if: {{{class|}}} | class="{{{class|}}}" }} style="margin: 0.25em; border: 1px solid {{{1|#000}}};{{{+|}}}" cellpadding="3" cellspacing="0" rules="all"<noinclude> == Description == <pre> {{STDT}} {{STDT|<color>}} {{STDT|+=<styles>}} </pre> Standard table design template. Simply paste the following after the beginning of your table: === Parameters === ; ''unnamed parameter'' 1 : Optional. Border color. Defaults to black. ; + : Optional. Adds the given styles to the st...")
style="margin: 0.25em; border: 1px solid #000;" cellpadding="3" cellspacing="0" rules="all"
Description
{{STDT}} {{STDT|<color>}} {{STDT|+=<styles>}}
Standard table design template. Simply paste the following after the beginning of your table:
Parameters
- unnamed parameter 1
- Optional. Border color. Defaults to black.
- +
- Optional. Adds the given styles to the style attribute
- class
- Optional. Allows the addition of a CSS class.
Examples
{| {{STDT|silver}} | 1.1 || 1.2 |- | 2.1 || 2.2 |}
1.1 | 1.2 |
2.1 | 2.2 |
Using the + parameter
{| {{STDT|silver|+=float: right;}} | 1.1 || 1.2 |- | 2.1 || 2.2 |}
1.1 | 1.2 |
2.1 | 2.2 |