Difference between revisions of "Template:HabPlanetScore"
Jump to navigation
Jump to search
imported>Colonies Chris m (minor fixes) |
|||
| (7 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
| − | |||
{| | {| | ||
|- | |- | ||
|<onlyinclude><!-- | |<onlyinclude><!-- | ||
| − | --> style="background-color: hsl( {{#expr: ( ({{{esi|0}}} + {{{esi2|{{{esi|0}}}}}}) / 2 ) * 120}}, 100%, 75%);"| {{sort | {{#expr: ( ({{{esi|0}}} + {{{esi2|{{{esi|0}}}}}}) / 2 ) }} |{{{esi|{{ | + | --> style="background-color: hsl( {{#expr: ( ({{{esi|0}}} + {{{esi2|{{{esi|0}}}}}}) / 2 ) * 120}}, 100%, 75%);"| {{sort | {{#expr: ( ({{{esi|0}}} + {{{esi2|{{{esi|0}}}}}}) / 2 ) }} |{{{esi|{{hidden sort key|0}}?}}}{{#if: {{{esi2|}}} |—{{{esi2}}} }} }} |
| − | | style="background-color: hsl( {{#expr: {{{sph|0}}} * 120}}, 100%, 75%);" |{{{sph|{{ | + | | style="background-color: hsl( {{#expr: {{{sph|0}}} * 120}}, 100%, 75%);" |{{{sph|{{hidden sort key|-1}}?}}} |
| − | | style="background-color: hsl( {{#expr: ( 1 - abs {{{hzd|1}}} ) * 120}}, 100%, 75%);" |{{{hzd|{{ | + | | style="background-color: hsl( {{#expr: ( 1 - abs {{{hzd|1}}} ) * 120}}, 100%, 75%);" |{{{hzd|{{hidden sort key|1}}?}}} |
| − | | style="background-color: hsl( {{#expr: ( 1 - abs {{{hzc|1}}} ) * 120}}, 100%, 75%);" |{{{hzc|{{ | + | | style="background-color: hsl( {{#expr: ( 1 - abs {{{hzc|1}}} ) * 120}}, 100%, 75%);" |{{{hzc|{{hidden sort key|1}}?}}} |
| − | | style="background-color: hsl( {{#expr: ( 1 - abs {{{hza|1}}} ) * 120}}, 100%, 75%);" |{{{hza|{{ | + | | style="background-color: hsl( {{#expr: ( 1 - abs {{{hza|1}}} ) * 120}}, 100%, 75%);" |{{{hza|{{hidden sort key|1}}?}}} |
<!-- | <!-- | ||
--></onlyinclude> | --></onlyinclude> | ||
Latest revision as of 13:00, 31 August 2020
| ? | ? | ? | ? | ? |
{{HabPlanetScore}} is for use in the table at List of potentially habitable exoplanets. It provides an automatic cell background color calculation to visually depict each planetary habitability measure. Default values are the worst possible (0 for ESI and SPH, and 1 for HZD/HZC/HZA). It is possible to supply a range for ESI, by passing parameter "esi2".
| The above documentation is transcluded from Template:HabPlanetScore/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. |