Difference between revisions of "Template:AATST"

From Project: Gorgon Wiki
Jump to: navigation, search
(Template for Advanced Abilities table styles.)
 
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
style="width:100%; border:1px solid silver; margin:0 0 1em;{{{+|}}}" cellspacing="2" cellpadding="3" rules=all<noinclude>
+
{{STDT|sortable}} style="width:100%;{{{+|}}}" <noinclude>
 
__NOTOC__
 
__NOTOC__
 
==Syntax==
 
==Syntax==
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>

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