Difference between revisions of "Template:Floor Table Row"

From RimWorld Wiki
Jump to navigation Jump to search
(Adding "fine floor" marker)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
|-
 
|-
! style="text-align:left" | [[{{{?Name}}}]]{{#switch: {{Q|{{{?Name}}}|From DLC}}
+
! style="text-align:left" | {{DLC Icons|{{{?Name}}} }}
| Royalty (DLC) = {{RoyaltyIcon}}
 
| Ideology (DLC) = {{IdeologyIcon}}
 
}}
 
 
| {{#switch: {{{?Name}}}
 
| {{#switch: {{{?Name}}}
  | Fine carpet | Hex carpet | Morbid carpet = Burgundy, Indigo, White
+
  | Carpet | Fine carpet | Hex carpet | Morbid carpet = 63 [[color]]s
  | Burned floor = Carpet, Fine carpet, Straw matting, Wood
+
  | Burned floor = Carpet, Straw matting, Wood floor
| Carpet = Cream, Dark, Blue, Green, Red
 
 
  | Mindbend carpet = Diamond, Purple, Green, Blue, Yellow
 
  | Mindbend carpet = Diamond, Purple, Green, Blue, Yellow
 
  | Fine stone tile | Flagstone | Smooth stone | Stone tile | Totemic stone tile | Morbid stone tile | Spikecore stone tile = Limestone, Marble, Granite, Sandstone, Slate
 
  | Fine stone tile | Flagstone | Smooth stone | Stone tile | Totemic stone tile | Morbid stone tile | Spikecore stone tile = Limestone, Marble, Granite, Sandstone, Slate
 
  | #default = –
 
  | #default = –
 
}}
 
}}
| {{#switch: {{{?Name}}}  
+
| {{#if: {{#pos: {{Q|{{{?Name}}}|Category}} | Fine floor}} | {{Check}} | {{Cross}} }}
| Fine carpet| Fine stone tile| Gold tile| Hex carpet| Hex tile| Mindbend carpet| Morbid carpet| Morbid stone tile| Silver tile| Spikecore plates| Spikecore stone tile| Totemic boards| Totemic stone tile = {{Check}}
 
| #default = {{Cross}}
 
}}
 
 
| {{#switch: {{{?Name}}}
 
| {{#switch: {{{?Name}}}
 
  | Fungal gravel = Overhead mountain
 
  | Fungal gravel = Overhead mountain
  | Smooth stone = Rough stone/<br>Rough-hewn stone
+
  | Smooth stone = Rough stone/<br/>Rough-hewn stone
 +
| Burned floor = Any Carpet/Straw matting/Wood floor
 +
| Void metal = –
 
  | #default = {{Required Resources|{{{?Name}}}|sep=&nbsp;+&nbsp;|simple=1}}
 
  | #default = {{Required Resources|{{{?Name}}}|sep=&nbsp;+&nbsp;|simple=1}}
 
}}
 
}}
| {{ticks|{{Q|{{{?Name}}}|Work To Make}}}}
+
| {{#switch: {{{?Name}}}
 +
| Burned floor
 +
| Flesh
 +
| Void metal = –
 +
| #default = {{Ticks|{{Q|{{{?Name}}}|Work To Make}} }}
 +
}}
 
| {{Q|{{{?Name}}}|Beauty}}
 
| {{Q|{{{?Name}}}|Beauty}}
| {{%|{{Q|{{{?Name}}}|Move Speed Factor}}}}
+
| {{%|{{Q|{{{?Name}}}|Move Speed Factor}} }}
| {{%|{{Q|{{{?Name}}}|Flammability Base}}}}
+
| {{%|{{Q|{{{?Name}}}|Flammability Base}} }}
 
| {{Q|{{{?Name}}}|Cleanliness|0}}
 
| {{Q|{{{?Name}}}|Cleanliness|0}}
 +
| {{%|{{Q|{{{?Name}}}|Cleaning Time Factor}}}}
 +
| {{%|{{Q|{{{?Name}}}|Filth Multiplier}}}}
 
| {{Q|{{{?Name}}}|Market Value Base|0}}
 
| {{Q|{{{?Name}}}|Market Value Base|0}}
</includeonly><noinclude>
+
</includeonly><noinclude>{{Documentation}}</noinclude>
{{Documentation}}
 
</noinclude>
 

Latest revision as of 20:51, 27 October 2024

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

Usage[edit]

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

Example 1[edit]

{| {{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 63 colors Check.png Cloth 35 4,000 ticks (1.11 mins) 4 100% 32% 0 200% 100% 67
Fungal gravel Content added by the Ideology DLC Ex.png Overhead mountain 1,000 ticks (16.67 secs) -1 87% 0% -1 100% 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 Expression error: Missing operand for *.% Expression error: Missing operand for *.% 5
Sterile tile Ex.png Steel 3 +  Silver 12 1,600 ticks (26.67 secs) -1 100% 0% 0.6 60% 100% 24

Example 2[edit]

{| {{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 Carpet, Straw matting, Wood floor Ex.png Any Carpet/Straw matting/Wood floor -6 93% 0% 0 100% 100% 0
Carpet 63 colors Ex.png Cloth 7 800 ticks (13.33 secs) 2 100% 32% 0 200% 100% 13
Concrete Ex.png Steel 1 100 ticks (1.67 secs) -1 100% 0% 0 80% 100% 2.3
Flagstone Limestone, Marble, Granite, Sandstone, Slate Ex.png Stuff 4 (Stony) 500 ticks (8.33 secs) 0 100% 0% 0 80% 100% 5.5
Gold tile Check.png Gold 70 800 ticks (13.33 secs) 11 100% 0% 0.2 60% 100% 705
Paved tile Ex.png Steel 2 300 ticks (5 secs) 0 100% 0% 0 80% 100% 4.9
Silver tile Check.png Silver 70 800 ticks (13.33 secs) 4 100% 0% 0.2 60% 100% 73
Steel tile Ex.png Steel 7 800 ticks (13.33 secs) 0 100% 0% 0.2 60% 100% 16
Sterile tile Ex.png Steel 3 +  Silver 12 1,600 ticks (26.67 secs) -1 100% 0% 0.6 60% 100% 24
Stone tile Limestone, Marble, Granite, Sandstone, Slate Ex.png Stuff 4 (Stony) 1,100 ticks (18.33 secs) 1 100% 0% 0 80% 100% 8
Straw matting Ex.png Hay 2 120 ticks (2 secs) -1 93% 150% -0.1 100% 5% 1.6
Wood floor Ex.png Wood 3 85 ticks (1.42 secs) 0 100% 22% 0 100% 100% 3.9
Bioferrite plate Content added by the Anomaly DLC Ex.png Bioferrite 4 840 ticks (14 secs) -2 100% 15% 0 60% 100% 5.5
Flesh Content added by the Anomaly DLC Ex.png -10 87% 32% -3 150% Expression error: Missing operand for *.% 0
Void metal Content added by the Anomaly DLC Ex.png 0 100% 0% 1 60% 100% 0
Fungal gravel Content added by the Ideology DLC Ex.png Overhead mountain 1,000 ticks (16.67 secs) -1 87% 0% -1 100% 100% 0
Hex carpet Content added by the Ideology DLC 63 colors Check.png Cloth 35 4,000 ticks (1.11 mins) 4 100% 32% 0 200% 100% 67
Hex tile Content added by the Ideology DLC Check.png Steel 12 5,000 ticks (1.39 mins) 3 100% 0% 0 60% 100% 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% 100% 67
Morbid carpet Content added by the Ideology DLC 63 colors Check.png Cloth 35 4,000 ticks (1.11 mins) 4 100% 32% 0 200% 100% 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% 100% 36
Spikecore plates Content added by the Ideology DLC Check.png Steel 12 5,000 ticks (1.39 mins) 3 100% 0% 0 60% 100% 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% 100% 36
Totemic boards Content added by the Ideology DLC Check.png Wood 20 5,000 ticks (1.39 mins) 3 100% 22% 0 100% 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% 100% 36
Fine carpet Content added by the Royalty DLC 63 colors Check.png Cloth 35 4,000 ticks (1.11 mins) 4 100% 32% 0 200% 100% 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% 100% 36