Difference between revisions of "Template:Tag/Nutrition"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with " {{#vardefine: name | {{{1|Fine Meal}}} }}{{#vardefine: nutrition | {{Q| {{#var:name}} | Nutrition }} }}{{#vardefine: taste | {{Q| {{#var:name}} | Taste ...")
 
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  {{#vardefine: name          | {{{1|Fine Meal}}}
+
<onlyinclude>{{#vardefine: name          | {{{1|Fine Meal}}}
 
}}{{#vardefine: nutrition    | {{Q| {{#var:name}} | Nutrition }}
 
}}{{#vardefine: nutrition    | {{Q| {{#var:name}} | Nutrition }}
 
}}{{#vardefine: taste        | {{Q| {{#var:name}} | Taste    }}
 
}}{{#vardefine: taste        | {{Q| {{#var:name}} | Taste    }}
Line 7: Line 7:
 
{{Tag/HN}}
 
{{Tag/HN}}
 
{{Tag/HN}}
 
{{Tag/HN}}
{{Tag/HN}} {{Format/Percentage| {{#var:nutrition | 0 }}}}
+
{{Tag/HN}} {{Format/Value| {{#var:nutrition | 0 }}}}
 
|-
 
|-
 
{{Tag/HR}} Taste
 
{{Tag/HR}} Taste
| style='width: 2em; font-size: 90%; color: #{{#ifeq:{{#var:taste}}|Raw  |000|aaa}}; padding-top: 0.5em' | <div style='font-size:80%; line-height: 1.2'><br>★</div>Raw  
+
| style='width: 2em; font-size: 90%; color: #{{#ifeq:{{#var:taste}}|Raw  |000|aaa}}; padding: 0.65em 0.5em 0.5em' | <div style='font-size:80%; line-height: 1.25'><br>★</div>Raw  
| style='width: 2em; font-size: 90%; color: #{{#ifeq:{{#var:taste}}|Awful |000|aaa}}; padding-top: 0.5em' | <div style='font-size:80%; line-height: 1.2'><br>★★</div>Awful
+
| style='width: 2em; font-size: 90%; color: #{{#ifeq:{{#var:taste}}|Awful |000|aaa}}; padding: 0.65em 0.5em 0.5em' | <div style='font-size:80%; line-height: 1.25'><br>★★</div>Awful
| style='width: 2em; font-size: 90%; color: #{{#ifeq:{{#var:taste}}|Simple|000|aaa}}; padding-top: 0.5em' | <div style='font-size:80%; line-height: 1.2'>★<br>★★</div>Simple
+
| style='width: 2em; font-size: 90%; color: #{{#ifeq:{{#var:taste}}|Simple|000|aaa}}; padding: 0.65em 0.5em 0.5em' | <div style='font-size:80%; line-height: 1.25'>★<br>★★</div>Simple
| style='width: 2em; font-size: 90%; color: #{{#ifeq:{{#var:taste}}|Fine  |000|aaa}}; padding-top: 0.5em' | <div style='font-size:80%; line-height: 1.2'>★★<br>★★</div>Fine
+
| style='width: 2em; font-size: 90%; color: #{{#ifeq:{{#var:taste}}|Fine  |000|aaa}}; padding: 0.65em 0.5em 0.5em' | <div style='font-size:80%; line-height: 1.25'>★★<br>★★</div>Fine
| style='width: 2em; font-size: 90%; color: #{{#ifeq:{{#var:taste}}|Lavish|000|aaa}}; padding-top: 0.5em' | <div style='font-size:80%; line-height: 1.2'>★★<br>★★★</div>Lavish
+
| style='width: 2em; font-size: 90%; color: #{{#ifeq:{{#var:taste}}|Lavish|000|aaa}}; padding: 0.65em 0.5em 0.5em' | <div style='font-size:80%; line-height: 1.25'>★★<br>★★★</div>Lavish
|}
+
|}</onlyinclude>
 +
 
 +
[[Category:Tag]]

Latest revision as of 05:37, 22 December 2016

Nutrition 0
Taste

Raw

★★
Awful

★★
Simple
★★
★★
Fine
★★
★★★
Lavish