Difference between revisions of "Template:STDT/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(any (black) is in fact also an already implmented option)
Line 19: Line 19:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
</pre>
 
</pre>
Line 30: Line 30:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
  
Line 42: Line 42:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
</pre>
 
</pre>
Line 53: Line 53:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
----
 
----
Line 63: Line 63:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_03}}
 
{| {{STDT|c_03}}
Line 72: Line 72:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_04}}
 
{| {{STDT|c_04}}
Line 81: Line 81:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_05}}
 
{| {{STDT|c_05}}
Line 90: Line 90:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_06}}
 
{| {{STDT|c_06}}
Line 99: Line 99:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_07}}
 
{| {{STDT|c_07}}
Line 108: Line 108:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_08}}
 
{| {{STDT|c_08}}
Line 117: Line 117:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_09}}
 
{| {{STDT|c_09}}
Line 126: Line 126:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_10}}
 
{| {{STDT|c_10}}
Line 135: Line 135:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_11}}
 
{| {{STDT|c_11}}
Line 144: Line 144:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_12}}
 
{| {{STDT|c_12}}
Line 153: Line 153:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_13}}
 
{| {{STDT|c_13}}
Line 162: Line 162:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_14}}
 
{| {{STDT|c_14}}
Line 171: Line 171:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_15}}
 
{| {{STDT|c_15}}
Line 180: Line 180:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_16}}  
 
{| {{STDT|c_16}}  
Line 189: Line 189:
 
|-  
 
|-  
 
! Subheading 1  
 
! Subheading 1  
| 1.1 || | 1.2  
+
| 1.1 || 1.2  
 
|-  
 
|-  
 
! Subheading 2  
 
! Subheading 2  
| 2.1 || | 2.2  
+
| 2.1 || 2.2  
 
|}
 
|}
 
{| {{STDT|c_17}}
 
{| {{STDT|c_17}}
Line 198: Line 198:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_18}}
 
{| {{STDT|c_18}}
Line 207: Line 207:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_19}}
 
{| {{STDT|c_19}}
Line 216: Line 216:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_20}}
 
{| {{STDT|c_20}}
Line 225: Line 225:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_21}}
 
{| {{STDT|c_21}}
Line 234: Line 234:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_22}}
 
{| {{STDT|c_22}}
Line 243: Line 243:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_23}}
 
{| {{STDT|c_23}}
Line 252: Line 252:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_24}}
 
{| {{STDT|c_24}}
Line 261: Line 261:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 
|}
 
|}
 
{| {{STDT|c_25}}
 
{| {{STDT|c_25}}
Line 270: Line 270:
 
|-
 
|-
 
! Subheading 1
 
! Subheading 1
| 1.1 || | 1.2
+
| 1.1 || 1.2
 
|-
 
|-
 
! Subheading 2
 
! Subheading 2
| 2.1 || | 2.2
+
| 2.1 || 2.2
 +
|}
 +
{| {{STDT|any}}
 +
! c_25 !! Template !! sample
 +
|-
 +
! Subheading 1
 +
| 1.1 || 1.2
 +
|-
 +
! Subheading 2
 +
| 2.1 || 2.2
 
|}
 
|}
  
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>[[Category:Customized table templates|#STDT]]</includeonly>
 
<includeonly>[[Category:Customized table templates|#STDT]]</includeonly>

Revision as of 19:12, 12 January 2024

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
c_25 Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2