Template:Sleep Furniture Table Row/doc

From RimWorld Wiki
Jump to navigation Jump to search

This template is meant to be used on the sleep furniture page.

It creates rows for a comparison table of kinds of furniture to sleep in. It can be used like this:

<div><li style="display: inline-table;">
{| {{STDT| sortable c_08 text-center}}
! rowspan="2" | Furniture
! rowspan="2" style="border:#428659 1px; border-style: none solid none none;" | Resources to make
! colspan="2" | Rest effectiveness
! rowspan="2" style="border:#428659 1px; border-style: none none none solid;" | Surgery Success Chance Factor
! rowspan="2" style="border:#428659 1px; border-style: none solid none none;" | Immunity Gain Speed Factor
! colspan="3" | Comfort
! rowspan="2" style="border:#428659 1px; border-style: none none none solid;" | Facilities
! rowspan="2" | Has quality{{Ref label|Quality|A}}
|-
! style="background-color:#52a76f; border:#428659 1px; border-style: solid none none none;" data-sort-type="number" | Normal<br/>(made from {{Icon Small|Stone blocks}})
! style="background-color:#52a76f; border:#428659 1px; border-style: solid none none none;" data-sort-type="number" | With {{Icon Small|Sleep accelerator}}<br/>(made from {{Icon Small|Stone blocks}})
! style="background-color:#52a76f; border:#428659 1px; border-style: solid none none none;" | Normal
! style="background-color:#52a76f; border:#428659 1px; border-style: solid none none none;" | With {{Icon Small|Dresser}} OR {{Icon Small|End table}}
! style="background-color:#52a76f; border:#428659 1px; border-style: solid none none none;" | With {{Icon Small|Dresser}} AND {{Icon Small|End table}}
|-
{{#ask: [[Rest Effectiveness::+]]
 | ?Name = ?Name
 | ?Resource 1 = ?R1
 | ?Rest Effectiveness = ?Rest
 | ?Stuff Tags = ?Stuff
 | ?Surgery Success Chance Factor = ?Surgery
 | ?Immunity Gain Speed Factor = ?Immunity
 | ?Comfort Base = ?Comfort
 | ?Facility = ?Facility
 | ?Has Quality = ?Quality
 | named args = yes
 | format = template
 | template = Sleep Furniture Table Row
 | link = none
 | sort = From DLC, Name
}}
|}
</li></div>
{{Note|Quality|A}} For the effects of qualities, see [[quality]] or the individual pages.
  • Furniture Resources to make Rest effectiveness Surgery Success Chance Factor Immunity Gain Speed Factor Comfort Facilities Has quality[A]
    Normal
    (made from Stone blocks)
    With Sleep accelerator
    (made from Stone blocks)
    Normal With Dresser OR End table With Dresser AND End table
    Animal bed Stuff 40 (Fabric/Leathery) 1 1 1.07 0.75 Check.png
    Animal sleeping box Stuff 25 (Metallic/Woody/Stony) 0.93
    (0.837)
    1 1.05 0.6 Check.png
    Animal sleeping spot 0.8 0.7 1 0 Ex.png
    Bed Stuff 45 (Metallic/Woody/Stony) 1
    (0.9)
    1.35
    (1.215)
    1 1.07 0.75 0.8 0.85 Dresser, End table, Sleep accelerator Check.png
    Bedroll Stuff 40 (Fabric/Leathery) 0.95 1.3 1 1.05 0.68 0.73 0.78 Dresser, End table, Sleep accelerator Check.png
    Double bed Stuff 85 (Metallic/Woody/Stony) 1
    (0.9)
    1.35
    (1.215)
    1 1.07 0.75 0.8 0.85 Dresser, End table, Sleep accelerator Check.png
    Double bedroll Stuff 85 (Fabric/Leathery) 0.95 1.3 1 1.05 0.68 0.73 0.78 Dresser, End table, Sleep accelerator Check.png
    Double sleeping spot 0.8 0.7 1 0.4 Ex.png
    Hospital bed Stuff 40 (Metallic), Steel 80, Component 5 1 1.35 1.1
    (with Vitals monitor 1.15)
    1.11
    (with Vitals monitor 1.13)
    0.8 0.85 0.9 Vitals monitor, Dresser, End table, Sleep accelerator Check.png
    Royal bed Stuff 100 (Metallic/Woody/Stony), Gold 50 1.05
    (0.945)
    1.4
    (1.26)
    1 1.07 0.9 0.95 1 Dresser, End table, Sleep accelerator Check.png
    Sleeping spot 0.8 0.7 1 0.4 Ex.png
    Baby sleeping spot Content added by the Biotech DLC 0.8 0.7 1 0.4 Ex.png
    Deathrest casket Content added by the Biotech DLC Steel 100, Component 3 1 1 1.07 0.75 Hemopump, Hemogen amplifier, Glucosoid pump, Deathrest accelerator, Psychofluid pump Ex.png
    Ancient bed Content added by the Ideology DLC 0.85 0.65 0.95 0.75 Ex.png
    Slab bed Content added by the Ideology DLC Stuff 30 (Metallic/Woody/Stony) 1
    (0.9)
    1.35
    (1.215)
    1 1.07 0 0.05 0.1 Dresser, End table, Sleep accelerator Check.png
    Slab double bed Content added by the Ideology DLC Stuff 85 (Metallic/Woody/Stony) 1
    (0.9)
    1.35
    (1.215)
    1 1.07 0 0.05 0.1 Dresser, End table, Sleep accelerator Check.png
  • ^A For the effects of qualities, see quality or the individual pages.