Difference between revisions of "Template:Floor Table Row"

From RimWorld Wiki
Jump to navigation Jump to search
(automated fine flooring check and DLC Icons)
(Adding cleaning time factor)
Line 24: Line 24:
 
| {{%|{{Q|{{{?Name}}}|Flammability Base}} }}
 
| {{%|{{Q|{{{?Name}}}|Flammability Base}} }}
 
| {{Q|{{{?Name}}}|Cleanliness|0}}
 
| {{Q|{{{?Name}}}|Cleanliness|0}}
 +
| {{%|{{Q|{{{?Name}}}|Cleaning Time Factor|1}}}}
 
| {{Q|{{{?Name}}}|Market Value Base|0}}
 
| {{Q|{{{?Name}}}|Market Value Base|0}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 10:32, 10 April 2023

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

Usage

This template is meant to be used to compare different types of flooring like on floors and fine floor.

Example 1

{| {{STDT| sortable c_25 text-center}}
! Name !! Variants !! [[Fine floor|Fine]] !! Resources per tile !! data-sort-type="number" |  Work to Build || data-sort-type="number" | Beauty !! data-sort-type="number" | Move Speed Modifier !! data-sort-type="number" | Flammability !! data-sort-type="number" | Cleanliness !! data-sort-type="number" | Cleaning Time Multiplier  !! data-sort-type="number" | Filth Multiplier !! data-sort-type="number" | Wealth
|-
{{#ask: [[Name::Fine carpet||Sterile tile||Smooth stone||Fungal gravel||Burned floors]]
 | named args = yes
 | ?Name = ?Name
 | format = template
 | template = Floor Table Row
}}
|}

Would produce:

Name Variants Fine Resources per tile Work to Build Beauty Move Speed Modifier Flammability Cleanliness Cleaning Time Multiplier Filth Multiplier Wealth
Fine carpet Content added by the Royalty DLC Burgundy, Indigo, White Check.png Cloth 35 4,000 ticks (1.11 mins) 4 100% 32% 0 200% 67
Fungal gravel Content added by the Ideology DLC Ex.png Overhead mountain 1,000 ticks (16.67 secs) -1 87% 0% -1 100% 0
Smooth stone Limestone, Marble, Granite, Sandstone, Slate Ex.png Rough stone/
Rough-hewn stone
2,800 ticks (46.67 secs) 2 100% 0% 0 100% 5
Sterile tile Ex.png Steel 3 +  Silver 12 1,600 ticks (26.67 secs) -1 100% 0% 0.6 60% 24

Example 2

{| {{STDT| sortable c_25 text-center}}
! Name !! Variants !! [[Fine floor|Fine]] !! Resources per tile !! data-sort-type="number" |  Work to Build || data-sort-type="number" | Beauty !! data-sort-type="number" | Move Speed Modifier !! data-sort-type="number" | Flammability !! data-sort-type="number" | Cleanliness !! data-sort-type="number" | Cleaning Time Multiplier  !! data-sort-type="number" | Filth Multiplier !! data-sort-type="number" | Wealth
|-
{{#ask: [[Type::Floor]] [[Name::!Rough stone]] [[Name::!Rough-hewn stone]]
 | named args = yes
 | ?Name = ?Name
 | format = template
 | template = Floor Table Row
 | sort = From DLC, Name
}}
|}

Would produce:

Name Variants Fine Resources per tile Work to Build Beauty Move Speed Modifier Flammability Cleanliness Cleaning Time Multiplier Filth Multiplier Wealth
Burned floor Ex.png Expression error: Unexpected < operator. -6 93% 0% 0 100% 0
Carpet Ex.png Cloth 7 800 ticks (13.33 secs) 2 100% 32% 0 200% 13
Concrete Ex.png Steel 1 100 ticks (1.67 secs) -1 100% 0% 0 80% 2.3
Flagstone Limestone, Marble, Granite, Sandstone, Slate Ex.png Stuff 4 (Stony) 500 ticks (8.33 secs) 0 100% 0% 0 80% 5.5
Gold tile Check.png Gold 70 800 ticks (13.33 secs) 11 100% 0% 0.2 60% 705
Paved tile Ex.png Steel 2 300 ticks (5 secs) 0 100% 0% 0 80% 4.9
Silver tile Check.png Silver 70 800 ticks (13.33 secs) 4 100% 0% 0.2 60% 73
Steel tile Ex.png Steel 7 800 ticks (13.33 secs) 0 100% 0% 0.2 60% 16
Sterile tile Ex.png Steel 3 +  Silver 12 1,600 ticks (26.67 secs) -1 100% 0% 0.6 60% 24
Stone tile Limestone, Marble, Granite, Sandstone, Slate Ex.png Stuff 4 (Stony) 1,100 ticks (18.33 secs) 1 100% 0% 0 80% 8
Straw matting Ex.png Hay 2 120 ticks (2 secs) -1 93% 150% -0.1 100% 1.6
Wood floor Ex.png Wood 3 85 ticks (1.42 secs) 0 100% 22% 0 100% 3.9
Bioferrite plate Content added by the Anomaly DLC Ex.png Bioferrite 4 840 ticks (14 secs) -2 100% 15% 0 60% 5.5
Flesh Content added by the Anomaly DLC Ex.png Expression error: Unexpected < operator. -10 87% 32% -3 150% 0
Void metal Content added by the Anomaly DLC Ex.png Expression error: Unexpected < operator. 0 100% 0% 1 60% 0
Fungal gravel Content added by the Ideology DLC Ex.png Overhead mountain 1,000 ticks (16.67 secs) -1 87% 0% -1 100% 0
Hex carpet Content added by the Ideology DLC Burgundy, Indigo, White Check.png Cloth 35 4,000 ticks (1.11 mins) 4 100% 32% 0 200% 67
Hex tile Content added by the Ideology DLC Check.png Steel 12 5,000 ticks (1.39 mins) 3 100% 0% 0 60% 41
Mindbend carpet Content added by the Ideology DLC Diamond, Purple, Green, Blue, Yellow Check.png Cloth 35 4,000 ticks (1.11 mins) 4 100% 32% 0 200% 67
Morbid carpet Content added by the Ideology DLC Burgundy, Indigo, White Check.png Cloth 35 4,000 ticks (1.11 mins) 4 100% 32% 0 200% 67
Morbid stone tile Content added by the Ideology DLC Limestone, Marble, Granite, Sandstone, Slate Check.png Stuff 20 (Stony) 5,000 ticks (1.39 mins) 3 100% 0% 0 80% 36
Spikecore plates Content added by the Ideology DLC Check.png Steel 12 5,000 ticks (1.39 mins) 3 100% 0% 0 60% 41
Spikecore stone tile Content added by the Ideology DLC Limestone, Marble, Granite, Sandstone, Slate Check.png Stuff 20 (Stony) 5,000 ticks (1.39 mins) 3 100% 0% 0 80% 36
Totemic boards Content added by the Ideology DLC Check.png Wood 20 5,000 ticks (1.39 mins) 3 100% 22% 0 100% 42
Totemic stone tile Content added by the Ideology DLC Limestone, Marble, Granite, Sandstone, Slate Check.png Stuff 20 (Stony) 5,000 ticks (1.39 mins) 3 100% 0% 0 80% 36
Fine carpet Content added by the Royalty DLC Burgundy, Indigo, White Check.png Cloth 35 4,000 ticks (1.11 mins) 4 100% 32% 0 200% 67
Fine stone tile Content added by the Royalty DLC Limestone, Marble, Granite, Sandstone, Slate Check.png Stuff 20 (Stony) 5,000 ticks (1.39 mins) 3 100% 0% 0 80% 36