Difference between revisions of "Template:AATST"

From Project: Gorgon Wiki
Jump to: navigation, search
m (Don't use rules attribute, deprecated attribute (use styles instead).)
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
style="width:100%; margin:0 0 1em;{{{+|}}}" cellspacing="2" cellpadding="3" <noinclude>
+
{{STDT|sortable}} style="width:100%;{{{+|}}}" <noinclude>
 
__NOTOC__
 
__NOTOC__
 
==Syntax==
 
==Syntax==

Latest revision as of 11:57, 17 October 2014

class="sortable table" style="width:100%;"

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