Difference between revisions of "Template:AATST"

From Project: Gorgon Wiki
Jump to: navigation, search
(Template for Advanced Abilities table styles.)
 
m (Category)
Line 33: Line 33:
 
</pre>
 
</pre>
  
[[Category:Style templates|Advanced Abilities Table Style Template (AATST)]]
+
[[Category:Formatting templates|Advanced Abilities Table Style Template (AATST)]]
 
</noinclude>
 
</noinclude>

Revision as of 09:27, 6 October 2014

style="width:100%; border:1px solid silver; margin:0 0 1em;" 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
|}