Difference between revisions of "Template:Floor Table Row"
Jump to navigation
Jump to search
(integration of burned floors) |
(automated fine flooring check and DLC Icons) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
|- | |- | ||
− | ! style="text-align:left" | | + | ! style="text-align:left" | {{DLC Icons|{{{?Name}}} }} |
− | |||
− | |||
− | }} | ||
| {{#switch: {{{?Name}}} | | {{#switch: {{{?Name}}} | ||
| Fine carpet | Hex carpet | Morbid carpet = Burgundy, Indigo, White | | Fine carpet | Hex carpet | Morbid carpet = Burgundy, Indigo, White | ||
Line 12: | Line 9: | ||
| #default = – | | #default = – | ||
}} | }} | ||
− | | {{# | + | | {{#if: {{#pos: {{Q|{{{?Name}}}|Category}} | Fine floor}} | {{Check}} | {{Cross}} }} |
− | | | ||
− | | | ||
− | }} | ||
| {{#switch: {{{?Name}}} | | {{#switch: {{{?Name}}} | ||
| Fungal gravel = Overhead mountain | | Fungal gravel = Overhead mountain | ||
Line 24: | Line 18: | ||
| {{#switch: {{{?Name}}} | | {{#switch: {{{?Name}}} | ||
| Burned floors = – | | Burned floors = – | ||
− | | #default = {{Ticks|{{Q|{{{?Name}}}|Work To Make}}}} | + | | #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}}}|Market Value Base|0}} | | {{Q|{{{?Name}}}|Market Value Base|0}} |
Revision as of 14:06, 8 April 2023
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 | Burgundy, Indigo, White | 35 | 4,000 ticks (1.11 mins) | 4 | 100% | 32% | 0 | 67 | |||
Fungal gravel | – | Overhead mountain | 1,000 ticks (16.67 secs) | -1 | 87% | 0% | -1 | 0 | |||
Smooth stone | Limestone, Marble, Granite, Sandstone, Slate | Rough stone/ Rough-hewn stone |
2,800 ticks (46.67 secs) | 2 | 100% | 0% | 0 | 5 | |||
Sterile tile | – | 3 + 12 | 1,600 ticks (26.67 secs) | -1 | 100% | 0% | 0.6 | 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 | – | Expression error: Unexpected < operator. | -6 | 93% | 0% | 0 | 0 | ||||
Carpet | – | 7 | 800 ticks (13.33 secs) | 2 | 100% | 32% | 0 | 13 | |||
Concrete | – | 1 | 100 ticks (1.67 secs) | -1 | 100% | 0% | 0 | 2.3 | |||
Flagstone | Limestone, Marble, Granite, Sandstone, Slate | 4 (Stony) | 500 ticks (8.33 secs) | 0 | 100% | 0% | 0 | 5.5 | |||
Gold tile | – | 70 | 800 ticks (13.33 secs) | 11 | 100% | 0% | 0.2 | 705 | |||
Paved tile | – | 2 | 300 ticks (5 secs) | 0 | 100% | 0% | 0 | 4.9 | |||
Silver tile | – | 70 | 800 ticks (13.33 secs) | 4 | 100% | 0% | 0.2 | 73 | |||
Steel tile | – | 7 | 800 ticks (13.33 secs) | 0 | 100% | 0% | 0.2 | 16 | |||
Sterile tile | – | 3 + 12 | 1,600 ticks (26.67 secs) | -1 | 100% | 0% | 0.6 | 24 | |||
Stone tile | Limestone, Marble, Granite, Sandstone, Slate | 4 (Stony) | 1,100 ticks (18.33 secs) | 1 | 100% | 0% | 0 | 8 | |||
Straw matting | – | 2 | 120 ticks (2 secs) | -1 | 93% | 150% | -0.1 | 1.6 | |||
Wood floor | – | 3 | 85 ticks (1.42 secs) | 0 | 100% | 22% | 0 | 3.9 | |||
Bioferrite plate | – | 4 | 840 ticks (14 secs) | -2 | 100% | 15% | 0 | 5.5 | |||
Flesh | – | Expression error: Unexpected < operator. | -10 | 87% | 32% | -3 | 0 | ||||
Void metal | – | Expression error: Unexpected < operator. | 0 | 100% | 0% | 1 | 0 | ||||
Fungal gravel | – | Overhead mountain | 1,000 ticks (16.67 secs) | -1 | 87% | 0% | -1 | 0 | |||
Hex carpet | Burgundy, Indigo, White | 35 | 4,000 ticks (1.11 mins) | 4 | 100% | 32% | 0 | 67 | |||
Hex tile | – | 12 | 5,000 ticks (1.39 mins) | 3 | 100% | 0% | 0 | 41 | |||
Mindbend carpet | Diamond, Purple, Green, Blue, Yellow | 35 | 4,000 ticks (1.11 mins) | 4 | 100% | 32% | 0 | 67 | |||
Morbid carpet | Burgundy, Indigo, White | 35 | 4,000 ticks (1.11 mins) | 4 | 100% | 32% | 0 | 67 | |||
Morbid stone tile | Limestone, Marble, Granite, Sandstone, Slate | 20 (Stony) | 5,000 ticks (1.39 mins) | 3 | 100% | 0% | 0 | 36 | |||
Spikecore plates | – | 12 | 5,000 ticks (1.39 mins) | 3 | 100% | 0% | 0 | 41 | |||
Spikecore stone tile | Limestone, Marble, Granite, Sandstone, Slate | 20 (Stony) | 5,000 ticks (1.39 mins) | 3 | 100% | 0% | 0 | 36 | |||
Totemic boards | – | 20 | 5,000 ticks (1.39 mins) | 3 | 100% | 22% | 0 | 42 | |||
Totemic stone tile | Limestone, Marble, Granite, Sandstone, Slate | 20 (Stony) | 5,000 ticks (1.39 mins) | 3 | 100% | 0% | 0 | 36 | |||
Fine carpet | Burgundy, Indigo, White | 35 | 4,000 ticks (1.11 mins) | 4 | 100% | 32% | 0 | 67 | |||
Fine stone tile | Limestone, Marble, Granite, Sandstone, Slate | 20 (Stony) | 5,000 ticks (1.39 mins) | 3 | 100% | 0% | 0 | 36 |
The above documentation is transcluded from Template:Floor Table Row/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |