Difference between revisions of "Template:STDT"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "class="{{{1|}}} table"<noinclude>__NOTOC__ == Description == The '''''S'''tandard '''T'''able '''D'''esign '''T'''emplate'' is used to give tables across the wiki a similar ...")
 
m
Line 1: Line 1:
 
class="{{{1|}}} table"<noinclude>__NOTOC__
 
class="{{{1|}}} table"<noinclude>__NOTOC__
 
 
== Description ==
 
== Description ==
 
 
The '''''S'''tandard '''T'''able '''D'''esign '''T'''emplate'' is used to give tables across the wiki a similar design, fitting the topic of the main article.
 
The '''''S'''tandard '''T'''able '''D'''esign '''T'''emplate'' is used to give tables across the wiki a similar design, fitting the topic of the main article.
  
== Usage ==
+
== Examples ==
 +
=== Basic use ===
 +
<pre>{| {{STDT}}
 +
! Heading 1 !! Heading 2 !! Heading 3
 +
|-
 +
! Subheading 1
 +
| 1.1 || | 1.2
 +
|-
 +
! Subheading 2
 +
| 2.1 || | 2.2
 +
|}
 +
</pre>
  
{|
+
{| {{STDT}}
! Default !! Topic specific
+
! Heading 1 !! Heading 2 !! Heading 3
 +
|-
 +
! Subheading 1
 +
| 1.1 || | 1.2
 
|-
 
|-
| <pre>{{STDT}}</pre>
+
! Subheading 2
| <pre>{{STDT|<type>}}</pre>
+
| 2.1 || | 2.2
 
|}
 
|}
== Examples ==
+
 
=== Basic use ===
+
=== Specific use ===
<pre>{| {{STDT}}
+
 
 +
<pre>{| {{STDT|sortable 6c3 align-right}}
 
! Heading 1 !! Heading 2 !! Heading 3
 
! Heading 1 !! Heading 2 !! Heading 3
 
|-
 
|-
Line 25: Line 38:
 
|}
 
|}
 
</pre>
 
</pre>
 +
 +
{| {{STDT|sortable 6c3 align-right}}
 +
! Heading 1 !! Heading 2 !! Heading 3
 +
|-
 +
! Subheading 1
 +
| 1.1 || | 1.2
 +
|-
 +
! Subheading 2
 +
| 2.1 || | 2.2
 +
|}
 +
 +
 +
[[Category:Formatting templates|STDT]]
 +
</noinclude>

Revision as of 06:10, 13 November 2013

class=" table"

Description

The Standard Table Design Template is used to give tables across the wiki a similar design, fitting the topic of the main article.

Examples

Basic use

{| {{STDT}}
! Heading 1 !! Heading 2 !! Heading 3
|-
! Subheading 1
| 1.1 || | 1.2
|-
! Subheading 2
| 2.1 || | 2.2
|}
Heading 1 Heading 2 Heading 3
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2

Specific use

{| {{STDT|sortable 6c3 align-right}}
! Heading 1 !! Heading 2 !! Heading 3
|-
! Subheading 1
| 1.1 || | 1.2
|-
! Subheading 2
| 2.1 || | 2.2
|}
Heading 1 Heading 2 Heading 3
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2