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
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
class="{{{1|}}} table"<noinclude>__NOTOC__
+
<includeonly>class="{{{1|}}} table"</includeonly><noinclude>{{Documentation}}[[Category:Templates|STDT]]</noinclude>
 
 
== 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.
 
 
 
== Usage ==
 
 
 
{|
 
! Default !! Topic specific
 
|-
 
| <pre>{{STDT}}</pre>
 
| <pre>{{STDT|<type>}}</pre>
 
|}
 
 
 
== 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 ===
 
 
 
<pre>{| {{STDT|sortable c_01 align-right}}
 
! Heading 1 !! Heading 2 !! Heading 3
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
</pre>
 
 
 
{| {{STDT|sortable c_01 align-right}}
 
! Heading 1 !! Heading 2 !! Heading 3
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
----
 
{| {{STDT|c_02}}
 
! c_02 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_03}}
 
! c_03 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_04}}
 
! c_04 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_05}}
 
! c_05 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_06}}
 
! c_06 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_07}}
 
! c_07 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_08}}
 
! c_08 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_09}}
 
! c_09 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_10}}
 
! c_10 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_11}}
 
! c_11 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_12}}
 
! c_12 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_13}}
 
! c_13 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_14}}
 
! c_14 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_15}}
 
! c_15 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_16}}
 
! c_16 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_17}}
 
! c_17 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_18}}
 
! c_18 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_19}}
 
! c_19 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_20}}
 
! c_20 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_21}}
 
! c_21 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_22}}
 
! c_22 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_23}}
 
! c_23 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_24}}
 
! c_24 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
{| {{STDT|c_25}}
 
! c_25 !! Template !! sample
 
|-
 
! Subheading 1
 
| 1.1 || | 1.2
 
|-
 
! Subheading 2
 
| 2.1 || | 2.2
 
|}
 
[[Category: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