Difference between revisions of "Template:AATST"

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

Revision as of 11:15, 17 October 2014

style="width:100%; margin:0 0 1em;" cellspacing="2" cellpadding="3"

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
|}