Template:Temperature: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 11: | Line 11: | ||
|White=#ffffe6 | |White=#ffffe6 | ||
|Brilliant White=#ffffff | |Brilliant White=#ffffff | ||
}}}} | }} | ||
}}{{#vardefine:stars|{{padleft:|{{{2|0}}}|⋆}}}}<span style="color: {{#var:color}}">{{{1|Hot}}}{{#var:stars}}</span></includeonly> | |||
<span style="color: {{#var:color}}">{{{1|Hot}}}{{#var:stars}}</span></includeonly> | |||
<noinclude> | <noinclude> | ||
{{/doc}} | {{/doc}} | ||
</noinclude> | </noinclude> |
Latest revision as of 17:28, 2 October 2019
This template returns text representing TFC+ device temperature (e.g. Bright Red***).
Usage
{{Temperature|Text|Stars}}
e.g.
{{Temperature|Bright Red|3}}
produces
Bright Red⋆⋆⋆