Difference between revisions of "Template:STDT"

From Project: Gorgon Wiki
Jump to: navigation, search
(Standard table design template to use for consistent table design across the wiki.)
 
m (Documentation.)
 
Line 7: Line 7:
  
 
==Syntax==
 
==Syntax==
<pre>{{STDT}}</pre>
+
<pre>{{STDT|<optional classes>}}</pre>
 +
 
 +
==Examples==
 +
A basic table starts like this
 +
<pre>
 +
{| {{STDT}}
 +
</pre>
 +
 
 +
A sortable table starts like this
 +
<pre>
 +
{| {{STDT|sortable}}
 +
</pre>
  
 
[[Category:Formatting templates|STDT]]
 
[[Category:Formatting templates|STDT]]
 
</noinclude>
 
</noinclude>

Latest revision as of 11:40, 17 October 2014

class=" table"

Description

Standard Table Design Template is used to give tables across the wiki a consistent design.

It uses the .table class which is currently defined in MediaWiki:Common.css.

Syntax

{{STDT|<optional classes>}}

Examples

A basic table starts like this

{| {{STDT}}

A sortable table starts like this

{| {{STDT|sortable}}