Difference between revisions of "Template:Furniture Table Row"

From RimWorld Wiki
Jump to navigation Jump to search
m (Ickputzdirwech moved page Template:Furniture Table to Template:Furniture Table Row: The template name should reflect, that it only creates rows, and not the full table)
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
! [[{{{?Name}}}]]{{#switch: {{{DLC}}} | Royalty (DLC) = &nbsp;{{RoyaltyIcon}} | Ideology (DLC) = &nbsp;{{IdeologyIcon}} | Royalty (DLC), Ideology (DLC) = &nbsp;{{RoyaltyIcon}}{{IdeologyIcon}} }}
+
! [[{{{?Name}}}]]{{DLC Icons|{{{DLC}}} }}
 
| {{#if: {{{HP}}} | {{{HP}}} | – }}
 
| {{#if: {{{HP}}} | {{{HP}}} | – }}
 
| data-sort-value="{{formatnum:{{{Work}}}|R}}" | {{#if: {{{Work}}} | {{Ticks|{{{Work}}} }} | – }}
 
| data-sort-value="{{formatnum:{{{Work}}}|R}}" | {{#if: {{{Work}}} | {{Ticks|{{{Work}}} }} | – }}

Revision as of 21:49, 5 October 2022

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

This template is used to create an automated comparison table on furniture.

Example

{| {{STDT| sortable c_01 text-center}}
! Name !! {{HP}} !! Work to Make !! Material Cost !! Base Flammability !! Provides Cover !! Path Cost !! Passability !! Comfort !! Beauty !! Size in Blocks !! Base Market Value !! Value/Work !! Value/Material
|-
{{#ask: [[Type2::Furniture]] | mainlabel = Name | format = template | template = Furniture Table Row | named args = yes | link = none
 | ?Name = ?Name
 | ?From DLC = DLC
 | ?Max Hit Points Base = HP
 | ?Work To Make = Work
 | ?Resource 1 = R1
 | ?Resource 2 = R2
 | ?Resource 3 = R3
 | ?Resource 4 = R4
 | ?Resource 5 = R5
 | ?Resource 6 = R6
 | ?Resource 1 Amount = R1a
 | ?Resource 2 Amount = R2a
 | ?Resource 3 Amount = R3a
 | ?Resource 4 Amount = R4a
 | ?Resource 5 Amount = R5a
 | ?Resource 6 Amount = R6a
 | ?Flammability Base = Flammability
 | ?Cover Effectiveness = Cover
 | ?Path Cost = Path
 | ?Passability = Passability
 | ?Comfort Base = Comfort
 | ?Beauty Base = Beauty
 | ?Size = Size
 | ?Market Value Base = Value
}}
|}

Preview

Name HP Work to Make Material Cost Base Flammability Provides Cover Path Cost Passability Comfort Beauty Size in Blocks Base Market Value Value/Work Value/Material
Animal bed[[|]] 140 400 ticks (6.67 secs) Stuff 40 (Fabric/Leathery) 100% 15% 14 pass through only 0.75 1 × 1 Silver 49 0.123 1.225
Animal sleeping box[[|]] 75 180 ticks (3 secs) Stuff 25 (Metallic/Woody/Stony, 250 for SMVs) 100% 15% 14 pass through only 0.6 1 × 1 Silver 31 0.172 1.24
Animal sleeping spot[[|]] ticks (0 secs) standable 0 1 × 1 Silver 0
Animus stoneRoyalty (DLC) Content added by the Royalty DLC 100 1 × 1 Silver 5000
Armchair[[|]] 120 14,000 ticks (3.89 mins) Stuff 110 (Fabric/Leathery) 100% 40% 30 0.8 4 1 × 1 Silver 167 0.012 1.518
Baby decorationBiotech (DLC) Content added by the Biotech DLC 30 800 ticks (13.33 secs) Stuff 60 (Woody/Stony/Metallic, 600 for SMVs) 100% 30 1 × 1 Silver 74 0.093 1.233
Baby sleeping spotBiotech (DLC) Content added by the Biotech DLC ticks (0 secs) 0.4 1 × 1 Silver 0
Bed[[|]] 140 800 ticks (13.33 secs) Stuff 45 (Metallic/Woody/Stony, 450 for SMVs) 100% 40% 42 pass through only 0.75 1 1 × 2 Silver 56 0.07 1.244
Bedroll[[|]] 75 600 ticks (10 secs) Stuff 40 (Fabric/Leathery) 100% 14 standable 0.68 1 × 2 Silver 50 0.083 1.25
BlackboardBiotech (DLC) Content added by the Biotech DLC 60 1,000 ticks (16.67 secs) Stuff 15 (Woody/Stony) 100% 50 2 2 × 1 Silver 21 0.021 1.4
Blood torchBiotech (DLC) Content added by the Biotech DLC 75 0% 15% 24 pass through only 1 × 1 Silver 24
Bonsai potIdeology (DLC) Content added by the Ideology DLC 80 275 ticks (4.58 secs) Stuff 24 (Metallic/Woody/Stony, 240 for SMVs) 100% 20% pass through only 1 × 1 Silver 30 0.109 1.25
Bookcase[[|]] 100 500 ticks (8.33 secs) Stuff 20 (Metallic/Woody/Stony, 200 for SMVs) 100% 40% 50 pass through only 0.5 2 × 1 Silver 25 0.05 1.25
BrazierRoyalty (DLC) Content added by the Royalty DLC 80 1,000 ticks (16.67 secs) Stuff 50 (Metallic/Stony, 500 for SMVs) 0% 15% 42 pass through only 1 × 1 Silver 63 0.063 1.26
Couch[[|]] 160 20,000 ticks (5.56 mins) Stuff 200 (Fabric/Leathery) 100% 40% 30 0.85 8 2 × 1 Silver 290 0.015 1.45
CribBiotech (DLC) Content added by the Biotech DLC 70 400 ticks (6.67 secs) Stuff 25 (Woody/Stony/Metallic, 250 for SMVs) 100% 1 1 × 1 Silver 31 0.078 1.24
Darklight brazierRoyalty (DLC), Ideology (DLC) 80 1,000 ticks (16.67 secs) Stuff 50 (Metallic/Stony, 500 for SMVs) 0% 15% 42 pass through only 1 × 1 Silver 63 0.063 1.26
DarktorchIdeology (DLC) Content added by the Ideology DLC 75 100 ticks (1.67 secs) Wood 20 0% 15% 14 pass through only 1 × 1 Silver 24 0.24 1
Dining chair[[|]] 100 8,000 ticks (2.22 mins) Stuff 45 (Metallic/Woody, 450 for SMVs) 100% 35% 30 0.7 8 1 × 1 Silver 74 0.009 1.644
Double bed[[|]] 200 1,500 ticks (25 secs) Stuff 85 (Metallic/Woody/Stony, 850 for SMVs) 100% 40% 42 pass through only 0.75 2 2 × 2 Silver 106 0.071 1.247
Double bedroll[[|]] 100 1,100 ticks (18.33 secs) Stuff 85 (Fabric/Leathery) 100% 14 standable 0.68 2 × 2 Silver 105 0.095 1.235
Double sleeping spot[[|]] ticks (0 secs) standable 0.4 2 × 2 Silver 0
DrapeRoyalty (DLC) Content added by the Royalty DLC 100 2,000 ticks (33.33 secs) Stuff 150 (Fabric/Leathery), Wood 50 100% 40% 14 pass through only 7.5 2 × 1 Silver 245 0.123 1.167
Dresser[[|]] 120 2,000 ticks (33.33 secs) Stuff 50 (Metallic/Woody/Stony, 500 for SMVs) 100% 40% 42 pass through only 5 2 × 1 Silver 65 0.033 1.3
End table[[|]] 75 1,000 ticks (16.67 secs) Stuff 30 (Metallic/Woody/Stony, 300 for SMVs) 100% 40% 30 pass through only 3 1 × 1 Silver 39 0.039 1.3
Flood light[[|]] 120 600 ticks (10 secs) Steel 50 0% 20% 14 pass through only -5 1 × 1 Silver 97 0.162 1.021
Fungus darktorchIdeology (DLC) Content added by the Ideology DLC 75 100 ticks (1.67 secs) Raw fungus 20 0% 15% 14 pass through only 1 × 1 Silver 22 0.22 1
Grand meditation throneRoyalty (DLC) Content added by the Royalty DLC 350 40,000 ticks (11.11 mins) Stuff 300 (Metallic/Stony, 3000 for SMVs), Gold 75 100% 40% 30 0.9 30 3 × 2 Silver 1210 0.03 1.152
Hospital bed[[|]] 150 2,800 ticks (46.67 secs) Stuff 40 (Metallic, 400 for SMVs), Steel 80, Component 5 100% 40% 42 pass through only 0.8 1 × 2 Silver 365 0.13 1.037
Meditation throneRoyalty (DLC) Content added by the Royalty DLC 150 10,000 ticks (2.78 mins) Stuff 125 (Metallic/Woody/Stony, 1250 for SMVs) 100% 40% 30 0.75 15 1 × 1 Silver 175 0.018 1.4
Plant pot[[|]] 75 250 ticks (4.17 secs) Stuff 20 (Metallic/Woody/Stony, 200 for SMVs) 100% 20% pass through only 1 × 1 Silver 25 0.1 1.25
Royal bed[[|]] 200 50,000 ticks (13.89 mins) Stuff 100 (Metallic/Woody/Stony, 1000 for SMVs), Gold 50 100% 40% 42 pass through only 0.9 75 2 × 2 Silver 745 0.015 1.242
School deskBiotech (DLC) Content added by the Biotech DLC 75 750 ticks (12.5 secs) Stuff 30 (Woody/Stony/Metallic, 300 for SMVs) 100% 50% 50 pass through only 0.5 2 × 1 Silver 38 0.051 1.267
Shelf[[|]] 100 500 ticks (8.33 secs) Stuff 20 (Metallic/Woody/Stony, 200 for SMVs) 100% 40% 50 pass through only 0.5 2 × 1 Silver 25 0.05 1.25
Slab bedIdeology (DLC) Content added by the Ideology DLC 140 400 ticks (6.67 secs) Stuff 30 (Metallic/Woody/Stony, 300 for SMVs) 100% 30% 20 pass through only 0 1 × 2 Silver 37 0.093 1.233
Slab double bedIdeology (DLC) Content added by the Ideology DLC 200 750 ticks (12.5 secs) Stuff 85 (Metallic/Woody/Stony, 850 for SMVs) 0% 30% 20 pass through only 0 2 × 2 Silver 104 0.139 1.224
Sleeping spot[[|]] ticks (0 secs) standable 0.4 1 × 2 Silver 0
Small bookcase[[|]] 50 250 ticks (4.17 secs) Stuff 10 (Metallic/Woody/Stony, 100 for SMVs) 100% 40% 50 pass through only 0.5 1 × 1 Silver 13 0.052 1.3
Small shelf[[|]] 50 250 ticks (4.17 secs) Stuff 10 (Metallic/Woody/Stony, 100 for SMVs) 100% 40% 50 pass through only 0.5 1 × 1 Silver 13 0.052 1.3
Standing lamp[[|]] 50 300 ticks (5 secs) Steel 20 100% 20% 14 pass through only 1 × 1 Silver 39 0.13 1.026
Stool[[|]] 75 450 ticks (7.5 secs) Stuff 25 (Metallic/Woody/Stony, 250 for SMVs) 100% 20% 30 0.5 0 1 × 1 Silver 31 0.069 1.24
Sun lamp[[|]] 50 330 ticks (5.5 secs) Steel 40 100% 20% 14 pass through only 1 × 1 Silver 77 0.233 1.013
Table (1x2)[[|]] 75 750 ticks (12.5 secs) Stuff 28 (Metallic/Woody/Stony, 280 for SMVs) 100% 40% 42 pass through only 0.5 1 × 2 Silver 36 0.048 1.286
Table (2x2)[[|]] 100 1,500 ticks (25 secs) Stuff 50 (Metallic/Woody/Stony, 500 for SMVs) 100% 40% 42 pass through only 1 2 × 2 Silver 64 0.043 1.28
Table (2x4)[[|]] 150 3,000 ticks (50 secs) Stuff 95 (Metallic/Woody/Stony, 950 for SMVs) 100% 40% 42 pass through only 2 2 × 4 Silver 122 0.041 1.284
Table (3x3)[[|]] 175 3,300 ticks (55 secs) Stuff 100 (Metallic/Woody/Stony, 1000 for SMVs) 100% 40% 42 pass through only 2 3 × 3 Silver 128 0.039 1.28
Torch lamp[[|]] 75 100 ticks (1.67 secs) Wood 20 0% 15% 14 pass through only 1 × 1 Silver 24 0.24 1
Toy boxBiotech (DLC) Content added by the Biotech DLC 50 1,200 ticks (20 secs) Stuff 80 (Woody/Stony/Metallic, 800 for SMVs) 100% 30% 30 pass through only 1 × 1 Silver 99 0.083 1.238
Wall lamp[[|]] 35 330 ticks (5.5 secs) Steel 15 100% 20% 0 standable 1 × 1 Silver 39 0.118 1.368
Wall torch lamp[[|]] 50 100 ticks (1.67 secs) Wood 15 0% 15% 0 standable 1 × 1 Silver 18 0.18 1