Difference between revisions of "Template:Surgery Success Chance Factor Quality Table"

From RimWorld Wiki
Jump to navigation Jump to search
(make it work for non-quality things)
m (Easy way to avoid a/an testing)
 
Line 45: Line 45:
 
}}
 
}}
 
|}
 
|}
</li></div><sup>This table assumes the {{lc: {{#var:name}} }} is inside a clean, properly lit room. For the full effects of light, cleanliness and placing a {{lc: {{#var:name}} }} outside see [[Surgery Success Chance Factor]].</sup></includeonly><noinclude>
+
</li></div><sup>This table assumes the {{lc: {{#var:name}} }} is inside a clean, properly lit room. For the full effects of light, cleanliness and placing the {{lc: {{#var:name}} }} outside see [[Surgery Success Chance Factor]].</sup></includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 13:34, 16 December 2023

Documentation icon Template documentation[view] [edit] [history] [purge]

This template generates a table summarizing the Surgery Success Chance Factor for each quality tier. If the object in question is has the vitals monitor as a facility, it will add a row to that effect.

Parameters[edit]

The first parameter, if present, will specify which object to generate the template for. If absent, {{PAGENAME}} will be used.

Example usage[edit]

{{Surgery Success Chance Factor Quality Table}}

On the Bed page produces:

  • Quality Awful Poor Normal Good Excellent Masterwork Legendary
    Surgery Success Chance Factor 90% 95% 100% 105% 110% 115% 130%
  • This table assumes the bed is inside a clean, properly lit room. For the full effects of light, cleanliness and placing the bed outside see Surgery Success Chance Factor.
    {{Surgery Success Chance Factor Quality Table | Hospital bed}}

    Produces:

  • Quality Awful Poor Normal Good Excellent Masterwork Legendary
    Surgery Success Chance Factor 99% 105% 110% 116% 121% 127% 143%
    + Vitals monitor 104% 109% 115% 121% 127% 132% 150%
  • This table assumes the hospital bed is inside a clean, properly lit room. For the full effects of light, cleanliness and placing the hospital bed outside see Surgery Success Chance Factor.
    {{Surgery Success Chance Factor Quality Table | Ancient bed}}

    Produces:

    This table assumes the ancient bed is inside a clean, properly lit room. For the full effects of light, cleanliness and placing the ancient bed outside see Surgery Success Chance Factor.