Difference between revisions of "Template:Comfort Quality Table"
Jump to navigation
Jump to search
(percentages) |
(there is no point sorting it tbh) |
||
Line 1: | Line 1: | ||
− | <includeonly><div><li style="display: inline-table;"> | + | <includeonly><!-- |
− | {| {{STDT| | + | |
+ | VARIABLES | ||
+ | -->{{#vardefine:name | {{{1| {{PAGENAME}} }}} }}<!-- | ||
+ | -->{{#vardefine:basecomfort | {{Q|{{#var:name}}|Comfort Base}} }}<!-- | ||
+ | -->{{#vardefine:hasQuality | {{Q|{{#var:name}}|Has Quality}} }}<!-- | ||
+ | -->{{#vardefine:facility | {{Q|{{#var:name}}|Facility}} }}<!-- | ||
+ | |||
+ | TABLE | ||
+ | --><div><li style="display: inline-table;"> | ||
+ | {| {{STDT|c_15 text-center}} | ||
! [[Quality]] | ! [[Quality]] | ||
! Awful | ! Awful | ||
Line 11: | Line 20: | ||
|- | |- | ||
! [[Comfort]] | ! [[Comfort]] | ||
− | | {{%|{{# | + | | {{%|{{#var:basecomfort}}*0.76|0}} |
| {{%|{{#var:basecomfort}}*0.88|0}} | | {{%|{{#var:basecomfort}}*0.88|0}} | ||
| {{%|{{#var:basecomfort}}*1.00|0}} | | {{%|{{#var:basecomfort}}*1.00|0}} | ||
Line 18: | Line 27: | ||
| {{%|{{#var:basecomfort}}*1.45|0}} | | {{%|{{#var:basecomfort}}*1.45|0}} | ||
| {{%|{{#var:basecomfort}}*1.70|0}} | | {{%|{{#var:basecomfort}}*1.70|0}} | ||
− | {{#if: {{#pos:{{# | + | {{#if: {{#pos:{{#var:facility}}|End table}} | |
<tr> | <tr> | ||
! <small>+ End Table</small> | ! <small>+ End Table</small> | ||
{{!}} {{%|({{#var:basecomfort}}+0.05)*0.76|0}} | {{!}} {{%|({{#var:basecomfort}}+0.05)*0.76|0}} | ||
{{!}} {{%|({{#var:basecomfort}}+0.05)*0.88|0}} | {{!}} {{%|({{#var:basecomfort}}+0.05)*0.88|0}} | ||
− | {{!}} {{%|({{#var:basecomfort}}+0.05)*1.00|0}} | + | {{!}} {{%|({{#var:basecomfort}}+0.05)*1.00|0}} |
{{!}} {{%|({{#var:basecomfort}}+0.05)*1.12|0}} | {{!}} {{%|({{#var:basecomfort}}+0.05)*1.12|0}} | ||
{{!}} {{%|({{#var:basecomfort}}+0.05)*1.24|0}} | {{!}} {{%|({{#var:basecomfort}}+0.05)*1.24|0}} | ||
Line 34: | Line 43: | ||
{{!}} {{%|({{#var:basecomfort}}+0.05)*0.76|0}} | {{!}} {{%|({{#var:basecomfort}}+0.05)*0.76|0}} | ||
{{!}} {{%|({{#var:basecomfort}}+0.05)*0.88|0}} | {{!}} {{%|({{#var:basecomfort}}+0.05)*0.88|0}} | ||
− | {{!}} {{%|({{#var:basecomfort}}+0.05)*1.00|0}} | + | {{!}} {{%|({{#var:basecomfort}}+0.05)*1.00|0}} |
{{!}} {{%|({{#var:basecomfort}}+0.05)*1.12|0}} | {{!}} {{%|({{#var:basecomfort}}+0.05)*1.12|0}} | ||
{{!}} {{%|({{#var:basecomfort}}+0.05)*1.24|0}} | {{!}} {{%|({{#var:basecomfort}}+0.05)*1.24|0}} | ||
Line 45: | Line 54: | ||
{{!}} {{%|({{#var:basecomfort}}+0.1)*0.76|0}} | {{!}} {{%|({{#var:basecomfort}}+0.1)*0.76|0}} | ||
{{!}} {{%|({{#var:basecomfort}}+0.1)*0.88|0}} | {{!}} {{%|({{#var:basecomfort}}+0.1)*0.88|0}} | ||
− | {{!}} {{%|({{#var:basecomfort}}+0.1)*1.00|0}} | + | {{!}} {{%|({{#var:basecomfort}}+0.1)*1.00|0}} |
{{!}} {{%|({{#var:basecomfort}}+0.1)*1.12|0}} | {{!}} {{%|({{#var:basecomfort}}+0.1)*1.12|0}} | ||
{{!}} {{%|({{#var:basecomfort}}+0.1)*1.24|0}} | {{!}} {{%|({{#var:basecomfort}}+0.1)*1.24|0}} |
Revision as of 09:34, 16 December 2023
This template generates a table summarizing the comfort for each quality tier. If the object in question is has the end table and dresser as facilities, it will add a row to that effect.
Parameters
The first parameter, if present, will specify which object to generate the template for.
If absent, {{PAGENAME}}
will be used.
Example usage
{{Comfort Quality Table}}
On the Bed page produces:
Quality | Awful | Poor | Normal | Good | Excellent | Masterwork | Legendary |
---|---|---|---|---|---|---|---|
Comfort | 57% | 66% | 75% | 84% | 93% | 109% | 128% |
+ End Table | 61% | 70% | 80% | 90% | 99% | 116% | 136% |
+ Dresser | 61% | 70% | 80% | 90% | 99% | 116% | 136% |
+ End Table & Dresser | 65% | 75% | 85% | 95% | 105% | 123% | 145% |
{{Comfort Quality Table | Armchair}}
Produces:
The above documentation is transcluded from Template:Comfort Quality Table/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. |