Difference between revisions of "Template:STDT/doc"

From RimWorld Wiki
Jump to navigation Jump to search
m
(→‎Specific use: nav for comparison)
 
(13 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
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 ==
+
== Parameters ==
 
 
 
{|
 
{|
 
! Default !! Topic specific
 
! Default !! Topic specific
Line 11: Line 10:
 
| <pre>{{STDT}}</pre>
 
| <pre>{{STDT}}</pre>
 
| <pre>{{STDT|<type>}}</pre>
 
| <pre>{{STDT|<type>}}</pre>
 +
|}
 +
 +
== Current usage ==
 +
{| class="wikitable sortable"
 +
! <type> !! [[Template:Infobox main]] !! [[Template:Nav]] !! Other !! Suggestion by [[User:Ickputzdirwech]] (WIP)
 +
|-
 +
| style="background-color:#52a76f;" | c_08 || animal, food || animal, [[Template:Nav/drugs]] || [[Template:Animal Health Table]], [[Template:Rest Effectiveness Quality Table]]
 +
|-
 +
| style="background-color:#51a651;" | c_24 || drug || || [[Template:Grow Table]]
 +
|-
 +
| style="background-color:#6c3;" | c_14 || plant || plant, [[Template:Nav/questitems]] || || plants
 +
|-
 +
| style="background-color:#8edf44;" | c_04 || || ||
 +
|-
 +
| style="background-color:#9c3;" | c_21 || || ||
 +
|-
 +
| style="background-color:#61e665;" | c_13 || || ||
 +
|-
 +
| style="background-color:#3cc;" | c_18 || || || [[Template:Biotech navbox]] || biotech
 +
|-
 +
| style="background-color:#73d9d9;" | c_23 || || ||
 +
|-
 +
| style="background-color:#75baff;" | c_12 || metallic, stony || ||
 +
|-
 +
| style="background-color:#72c1d9;" | c_01 || furniture, medicine || furniture, body parts, stats, status levels || [[Template:Apparel Table]], [[Template:Building Stats Table]]
 +
|-
 +
| style="background-color:#69c;" | c_17 || || biotech, utility || [[Template:Xenotype Faction Table|Faction Tables]]
 +
|-
 +
| style="background-color:#96c;" | c_20 || || ||
 +
|-
 +
| style="background-color:#a27bf1;" | c_09 || fabric || ||
 +
|-
 +
| style="background-color:#c6c;" | c_19 || || || || drugs
 +
|-
 +
| style="background-color:#b679d5;" | c_07 || || ai, [[Template:Nav/disease]] ||[[Template:Persona traits]], [[Template:Psychic Sensitivity Quality Table]], [[Template:Psychic Sensitivity Factor Table]], [[Template:Research Points Table]]
 +
|-
 +
| style="background-color:#c08f95;" | c_05 || || joy ||
 +
|-
 +
| style="background-color:#fe7887;" | c_10 || security || security, food || [[Template:Surgery Success Chance Factor Quality Table]], [[Template:Recreation Power Quality Table]]
 +
|-
 +
| style="background-color:#f68a87;" | c_06 || weapon || weapon, ideology || [[Template:Melee Weapons Table]], [[Template:Leather List]], [[Template:Weapon Time]] || ideology
 +
|-
 +
| style="background-color:#f96;" | c_16 || || || || weapons
 +
|-
 +
| style="background-color:#fc6;" | c_15 || || || [[Template:Comfort Quality Table]]
 +
|-
 +
| style="background-color:#FFD166;" | c_02 || structure || structure, floor ||
 +
|-
 +
| style="background-color:#ffe566;" | c_11 || area, exotic || zone || || royalty
 +
|-
 +
| style="background-color:#d09c59;" | c_03 || resource || materials, clothing, [[Template:Nav/guides]] || [[Template:Recipe List]], [[Template:Weapon Stats Table]], [[Template:Apparel Stats Table]], [[Template:Ingredient List]]
 +
|-
 +
| style="background-color:#c96;" | c_22 || leathery || mechanoid ||
 +
|-
 +
| style="background-color:#a68151;" | c_25 || production || building, temperature ||
 +
|-
 +
| style="background-color:#888;" | any || ''<default>'' || architect ||
 
|}
 
|}
  
Line 48: Line 104:
 
|}
 
|}
 
</pre>
 
</pre>
 
+
{|
 +
!
 
{| {{STDT|sortable c_01 align-right}}
 
{| {{STDT|sortable c_01 align-right}}
 
! c_01 !! Heading 2 !! Heading 3
 
! c_01 !! Heading 2 !! Heading 3
Line 57: Line 114:
 
! Subheading 2
 
! Subheading 2
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 +
|}
 +
! <div class="nav c_01">
 +
<div class="box"><div class="heading">c_01</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 
|}
 
|}
 
----
 
----
 +
{|
 +
!
 
{| {{STDT|c_02}}
 
{| {{STDT|c_02}}
 
! c_02 !! Template !! sample
 
! c_02 !! Template !! sample
Line 68: Line 133:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_02">
 +
<div class="box"><div class="heading">c_02</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_03}}
 
{| {{STDT|c_03}}
 
! c_03 !! Template !! sample
 
! c_03 !! Template !! sample
Line 77: Line 151:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_03">
 +
<div class="box"><div class="heading">c_03</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_04}}
 
{| {{STDT|c_04}}
 
! c_04 !! Template !! sample
 
! c_04 !! Template !! sample
Line 86: Line 169:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_04">
 +
<div class="box"><div class="heading">c_04</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_05}}
 
{| {{STDT|c_05}}
 
! c_05 !! Template !! sample
 
! c_05 !! Template !! sample
Line 95: Line 187:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_05">
 +
<div class="box"><div class="heading">c_05</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_06}}
 
{| {{STDT|c_06}}
 
! c_06 !! Template !! sample
 
! c_06 !! Template !! sample
Line 104: Line 205:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_06">
 +
<div class="box"><div class="heading">c_06</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_07}}
 
{| {{STDT|c_07}}
 
! c_07 !! Template !! sample
 
! c_07 !! Template !! sample
Line 113: Line 223:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_07">
 +
<div class="box"><div class="heading">c_07</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_08}}
 
{| {{STDT|c_08}}
 
! c_08 !! Template !! sample
 
! c_08 !! Template !! sample
Line 122: Line 241:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_08">
 +
<div class="box"><div class="heading">c_08</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_09}}
 
{| {{STDT|c_09}}
 
! c_09 !! Template !! sample
 
! c_09 !! Template !! sample
Line 131: Line 259:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_09">
 +
<div class="box"><div class="heading">c_09</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_10}}
 
{| {{STDT|c_10}}
 
! c_10 !! Template !! sample
 
! c_10 !! Template !! sample
Line 140: Line 277:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_10">
 +
<div class="box"><div class="heading">c_10</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_11}}
 
{| {{STDT|c_11}}
 
! c_11 !! Template !! sample
 
! c_11 !! Template !! sample
Line 149: Line 295:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_11">
 +
<div class="box"><div class="heading">c_11</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_12}}
 
{| {{STDT|c_12}}
 
! c_12 !! Template !! sample
 
! c_12 !! Template !! sample
Line 158: Line 313:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_12">
 +
<div class="box"><div class="heading">c_12</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_13}}
 
{| {{STDT|c_13}}
 
! c_13 !! Template !! sample
 
! c_13 !! Template !! sample
Line 167: Line 331:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_13">
 +
<div class="box"><div class="heading">c_13</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_14}}
 
{| {{STDT|c_14}}
 
! c_14 !! Template !! sample
 
! c_14 !! Template !! sample
Line 176: Line 349:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_14">
 +
<div class="box"><div class="heading">c_14</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_15}}
 
{| {{STDT|c_15}}
 
! c_15 !! Template !! sample
 
! c_15 !! Template !! sample
Line 185: Line 367:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_15">
 +
<div class="box"><div class="heading">c_15</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_16}}  
 
{| {{STDT|c_16}}  
 
! c_16 !! Template !! sample
 
! c_16 !! Template !! sample
Line 194: Line 385:
 
| 2.1 || 2.2  
 
| 2.1 || 2.2  
 
|}
 
|}
 +
! <div class="nav c_16">
 +
<div class="box"><div class="heading">c_16</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_17}}
 
{| {{STDT|c_17}}
 
! c_17 !! Template !! sample
 
! c_17 !! Template !! sample
Line 203: Line 403:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_17">
 +
<div class="box"><div class="heading">c_17</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_18}}
 
{| {{STDT|c_18}}
 
! c_18 !! Template !! sample
 
! c_18 !! Template !! sample
Line 212: Line 421:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_18">
 +
<div class="box"><div class="heading">c_18</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_19}}
 
{| {{STDT|c_19}}
 
! c_19 !! Template !! sample
 
! c_19 !! Template !! sample
Line 221: Line 439:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_19">
 +
<div class="box"><div class="heading">c_19</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_20}}
 
{| {{STDT|c_20}}
 
! c_20 !! Template !! sample
 
! c_20 !! Template !! sample
Line 230: Line 457:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_20">
 +
<div class="box"><div class="heading">c_20</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_21}}
 
{| {{STDT|c_21}}
 
! c_21 !! Template !! sample
 
! c_21 !! Template !! sample
Line 239: Line 475:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_21">
 +
<div class="box"><div class="heading">c_21</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_22}}
 
{| {{STDT|c_22}}
 
! c_22 !! Template !! sample
 
! c_22 !! Template !! sample
Line 248: Line 493:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_22">
 +
<div class="box"><div class="heading">c_22</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_23}}
 
{| {{STDT|c_23}}
 
! c_23 !! Template !! sample
 
! c_23 !! Template !! sample
Line 257: Line 511:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_23">
 +
<div class="box"><div class="heading">c_23</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_24}}
 
{| {{STDT|c_24}}
 
! c_24 !! Template !! sample
 
! c_24 !! Template !! sample
Line 266: Line 529:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_24">
 +
<div class="box"><div class="heading">c_24</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|c_25}}
 
{| {{STDT|c_25}}
 
! c_25 !! Template !! sample
 
! c_25 !! Template !! sample
Line 275: Line 547:
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 
|}
 
|}
 +
! <div class="nav c_25">
 +
<div class="box"><div class="heading">c_25</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 +
|}
 +
----
 +
{|
 +
!
 
{| {{STDT|any}}
 
{| {{STDT|any}}
 
! any !! Template !! sample
 
! any !! Template !! sample
Line 283: Line 564:
 
! Subheading 2
 
! Subheading 2
 
| 2.1 || 2.2
 
| 2.1 || 2.2
 +
|}
 +
! <div class="nav any">
 +
<div class="box"><div class="heading">any</div>
 +
<div class="wrapper"><dl>
 +
;category
 +
:page</dl>{{Nav/sep}}</div></div></div>
 
|}
 
|}
  
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>[[Category:Customized table templates|#STDT]]</includeonly>
 
<includeonly>[[Category:Customized table templates|#STDT]]</includeonly>

Latest revision as of 09:39, 17 February 2024

Description[edit]

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

Parameters[edit]

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

Current usage[edit]

<type> Template:Infobox main Template:Nav Other Suggestion by User:Ickputzdirwech (WIP)
c_08 animal, food animal, Template:Nav/drugs Template:Animal Health Table, Template:Rest Effectiveness Quality Table
c_24 drug Template:Grow Table
c_14 plant plant, Template:Nav/questitems plants
c_04
c_21
c_13
c_18 Template:Biotech navbox biotech
c_23
c_12 metallic, stony
c_01 furniture, medicine furniture, body parts, stats, status levels Template:Apparel Table, Template:Building Stats Table
c_17 biotech, utility Faction Tables
c_20
c_09 fabric
c_19 drugs
c_07 ai, Template:Nav/disease Template:Persona traits, Template:Psychic Sensitivity Quality Table, Template:Psychic Sensitivity Factor Table, Template:Research Points Table
c_05 joy
c_10 security security, food Template:Surgery Success Chance Factor Quality Table, Template:Recreation Power Quality Table
c_06 weapon weapon, ideology Template:Melee Weapons Table, Template:Leather List, Template:Weapon Time ideology
c_16 weapons
c_15 Template:Comfort Quality Table
c_02 structure structure, floor
c_11 area, exotic zone royalty
c_03 resource materials, clothing, Template:Nav/guides Template:Recipe List, Template:Weapon Stats Table, Template:Apparel Stats Table, Template:Ingredient List
c_22 leathery mechanoid
c_25 production building, temperature
any <default> architect

Examples[edit]

Basic use[edit]

{| {{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[edit]

{| {{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

any Template sample
Subheading 1 1.1 1.2
Subheading 2 2.1 2.2