Diferencia entre revisiones de «Plantilla:SKWindow2»
De SpiralKnights-es
(Make the header colspan value adjustable through additional optional argument) |
m (1 revisión) |
(Sin diferencias)
|
Revisión de 07:21 11 dic 2011
This template creates a more compact table in Spiral Knights' visual style, but without a header. Use SKCell2 with this template.
Usage
This template can be used anywhere to display information.
Parameters
Optional
- width
- The width of the table in CSS format, i.e.: "200px".
- align
- Where the table aligns to. By default it displays inline. Accepted values are "left", "center", "right", and "justify".
- margin
- How much space is around the outside of the table, in CSS format, i.e.: "20px" or "10px 20px 10px 20px".
- header
- Text to add as header. If left blank no header is generated.
- collapsible
- Whether to make the table collapsible. Possible values "yes" or "no". Default value is "no". (requires header)
- state
- The default state of the table either "collapsed" or "uncollapsed". Default value is uncollapsed.
- colspan
- The number of columns spanned by the header. The default value is 7 for legacy reasons.
Los editores pueden experimentar en la zona de pruebas de esta plantilla sandbox (crear) y en las páginas de prueba testcases (crear). Subpáginas de esta plantilla. |