Template:AATST: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
Gorgonzola (talk | contribs)
m Don't use rules attribute, deprecated attribute (use styles instead).
Gorgonzola (talk | contribs)
m Restoring rules attribute until I figure a nicer way to do default styles in CSS.
Line 1: Line 1:
style="width:100%; margin:0 0 1em;{{{+|}}}" cellspacing="2" cellpadding="3" <noinclude>
style="width:100%; margin:0 0 1em;border:1px solid silver;{{{+|}}}" cellspacing="2" cellpadding="3" rules="all" <noinclude>
__NOTOC__
__NOTOC__
==Syntax==
==Syntax==

Revision as of 14:50, 6 October 2014

style="width:100%; margin:0 0 1em;border:1px solid silver;" cellspacing="2" cellpadding="3" rules="all"

Syntax

{{AATST}}
{{AATST|+=<styles>}}

Description

Advanced Abilities Table Style Template. Table design template for consistency and easier maintenance. Simply paste this in the beginning of your table (after the class attribute).

Parameters

+
Optional. Adds the given styles to the style attribute.

Examples

Basic example:

{| {{AATST}}
| 1.1 || 1.2
|-
| 2.1 || 2.2
|}

Using the '+' parameter to add another style attribute:

{| {{AATST|+=float:right;}}
| 1.1 || 1.2
|-
| 2.1 || 2.2
|}