Difference between revisions of "Template:STDT"

From RimWorld Wiki
Jump to navigation Jump to search
m
(Replaced content with "<includeonly>class="{{{1|}}} table"</includeonly><noinclude>{{Documentation}}STDT</noinclude>")
Tag: Replaced
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
class="{{{1|}}}"<noinclude>__NOTOC__
+
<includeonly>class="{{{1|}}} table"</includeonly><noinclude>{{Documentation}}[[Category:Templates|STDT]]</noinclude>
== 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}}
 
! Heading 1 !! Heading 2 !! Heading 3
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
 
 
=== Specific use ===
 
{| {{STDT|sortable test}}
 
! Heading 1 !! Heading 2 !! Heading 3
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
 
 
 
 
[[Category:Formatting templates|STDT]]
 
</noinclude>
 

Latest revision as of 00:13, 28 December 2020

Documentation icon Template Documentation[view] [edit] [history] [purge]

Description

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

Usage

Default Topic specific
{{STDT}}
{{STDT|<type>}}

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 c_01 align-right}}
! Heading 1 !! Heading 2 !! Heading 3
|-
! Subheading 1
| 1.1 || | 1.2
|-
! Subheading 2
| 2.1 || | 2.2
|}
c_01 Heading 2 Heading 3
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2

c_02 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_03 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_04 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_05 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_06 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_07 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_08 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_09 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_10 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_11 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_12 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_13 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_14 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_15 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_16 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_17 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_18 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_19 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_20 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_21 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_22 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_23 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_24 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2
c_25 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2